MicrosoftGraphManagedAppRegistration Class

public final class MicrosoftGraphManagedAppRegistration
extends MicrosoftGraphEntity

managedAppRegistration The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

Constructor Summary

Constructor Description
MicrosoftGraphManagedAppRegistration()

Creates an instance of MicrosoftGraphManagedAppRegistration class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

Map<String,Object> appIdentifier()

Get the appIdentifier property: The identifier for a mobile app.

String applicationVersion()

Get the applicationVersion property: App version.

List<MicrosoftGraphManagedAppPolicy> appliedPolicies()

Get the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Date and time of creation.

String deviceName()

Get the deviceName property: Host device name.

String deviceTag()

Get the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device.

String deviceType()

Get the deviceType property: Host device type.

List<MicrosoftGraphManagedAppFlaggedReason> flaggedReasons()

Get the flaggedReasons property: Zero or more reasons an app registration is flagged.

static MicrosoftGraphManagedAppRegistration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphManagedAppRegistration from the JsonReader.

List<MicrosoftGraphManagedAppPolicy> intendedPolicies()

Get the intendedPolicies property: Zero or more policies admin intended for the app as of now.

OffsetDateTime lastSyncDateTime()

Get the lastSyncDateTime property: Date and time of last the app synced with management service.

String managementSdkVersion()

Get the managementSdkVersion property: App management SDK version.

List<MicrosoftGraphManagedAppOperation> operations()

Get the operations property: Zero or more long running operations triggered on the app registration.

String platformVersion()

Get the platformVersion property: Operating System version.

JsonWriter toJson(JsonWriter jsonWriter)
String userId()

Get the userId property: The user Id to who this app registration belongs.

void validate()

Validates the instance.

String version()

Get the version property: Version of the entity.

MicrosoftGraphManagedAppRegistration withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

MicrosoftGraphManagedAppRegistration withAppIdentifier(Map<String,Object> appIdentifier)

Set the appIdentifier property: The identifier for a mobile app.

MicrosoftGraphManagedAppRegistration withApplicationVersion(String applicationVersion)

Set the applicationVersion property: App version.

MicrosoftGraphManagedAppRegistration withAppliedPolicies(List<MicrosoftGraphManagedAppPolicy> appliedPolicies)

Set the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.

MicrosoftGraphManagedAppRegistration withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of creation.

MicrosoftGraphManagedAppRegistration withDeviceName(String deviceName)

Set the deviceName property: Host device name.

MicrosoftGraphManagedAppRegistration withDeviceTag(String deviceTag)

Set the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device.

MicrosoftGraphManagedAppRegistration withDeviceType(String deviceType)

Set the deviceType property: Host device type.

MicrosoftGraphManagedAppRegistration withFlaggedReasons(List<MicrosoftGraphManagedAppFlaggedReason> flaggedReasons)

Set the flaggedReasons property: Zero or more reasons an app registration is flagged.

MicrosoftGraphManagedAppRegistration withId(String id)

Set the id property: Read-only.

MicrosoftGraphManagedAppRegistration withIntendedPolicies(List<MicrosoftGraphManagedAppPolicy> intendedPolicies)

Set the intendedPolicies property: Zero or more policies admin intended for the app as of now.

MicrosoftGraphManagedAppRegistration withLastSyncDateTime(OffsetDateTime lastSyncDateTime)

Set the lastSyncDateTime property: Date and time of last the app synced with management service.

MicrosoftGraphManagedAppRegistration withManagementSdkVersion(String managementSdkVersion)

Set the managementSdkVersion property: App management SDK version.

MicrosoftGraphManagedAppRegistration withOperations(List<MicrosoftGraphManagedAppOperation> operations)

Set the operations property: Zero or more long running operations triggered on the app registration.

MicrosoftGraphManagedAppRegistration withPlatformVersion(String platformVersion)

Set the platformVersion property: Operating System version.

MicrosoftGraphManagedAppRegistration withUserId(String userId)

Set the userId property: The user Id to who this app registration belongs.

MicrosoftGraphManagedAppRegistration withVersion(String version)

Set the version property: Version of the entity.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphManagedAppRegistration

public MicrosoftGraphManagedAppRegistration()

Creates an instance of MicrosoftGraphManagedAppRegistration class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

Overrides:

MicrosoftGraphManagedAppRegistration.additionalProperties()

Returns:

the additionalProperties value.

appIdentifier

public Map appIdentifier()

Get the appIdentifier property: The identifier for a mobile app.

Returns:

the appIdentifier value.

applicationVersion

public String applicationVersion()

Get the applicationVersion property: App version.

Returns:

the applicationVersion value.

appliedPolicies

public List appliedPolicies()

Get the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.

Returns:

the appliedPolicies value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: Date and time of creation.

Returns:

the createdDateTime value.

deviceName

public String deviceName()

Get the deviceName property: Host device name.

Returns:

the deviceName value.

deviceTag

public String deviceTag()

Get the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.

Returns:

the deviceTag value.

deviceType

public String deviceType()

Get the deviceType property: Host device type.

Returns:

the deviceType value.

flaggedReasons

public List flaggedReasons()

Get the flaggedReasons property: Zero or more reasons an app registration is flagged. E.g. app running on rooted device.

Returns:

the flaggedReasons value.

fromJson

public static MicrosoftGraphManagedAppRegistration fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphManagedAppRegistration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphManagedAppRegistration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphManagedAppRegistration.

intendedPolicies

public List intendedPolicies()

Get the intendedPolicies property: Zero or more policies admin intended for the app as of now.

Returns:

the intendedPolicies value.

lastSyncDateTime

public OffsetDateTime lastSyncDateTime()

Get the lastSyncDateTime property: Date and time of last the app synced with management service.

Returns:

the lastSyncDateTime value.

managementSdkVersion

public String managementSdkVersion()

Get the managementSdkVersion property: App management SDK version.

Returns:

the managementSdkVersion value.

operations

public List operations()

Get the operations property: Zero or more long running operations triggered on the app registration.

Returns:

the operations value.

platformVersion

public String platformVersion()

Get the platformVersion property: Operating System version.

Returns:

the platformVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphManagedAppRegistration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userId

public String userId()

Get the userId property: The user Id to who this app registration belongs.

Returns:

the userId value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphManagedAppRegistration.validate()

version

public String version()

Get the version property: Version of the entity.

Returns:

the version value.

withAdditionalProperties

public MicrosoftGraphManagedAppRegistration withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.

Overrides:

MicrosoftGraphManagedAppRegistration.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withAppIdentifier

public MicrosoftGraphManagedAppRegistration withAppIdentifier(Map appIdentifier)

Set the appIdentifier property: The identifier for a mobile app.

Parameters:

appIdentifier - the appIdentifier value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withApplicationVersion

public MicrosoftGraphManagedAppRegistration withApplicationVersion(String applicationVersion)

Set the applicationVersion property: App version.

Parameters:

applicationVersion - the applicationVersion value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withAppliedPolicies

public MicrosoftGraphManagedAppRegistration withAppliedPolicies(List appliedPolicies)

Set the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.

Parameters:

appliedPolicies - the appliedPolicies value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withCreatedDateTime

public MicrosoftGraphManagedAppRegistration withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of creation.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withDeviceName

public MicrosoftGraphManagedAppRegistration withDeviceName(String deviceName)

Set the deviceName property: Host device name.

Parameters:

deviceName - the deviceName value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withDeviceTag

public MicrosoftGraphManagedAppRegistration withDeviceTag(String deviceTag)

Set the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.

Parameters:

deviceTag - the deviceTag value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withDeviceType

public MicrosoftGraphManagedAppRegistration withDeviceType(String deviceType)

Set the deviceType property: Host device type.

Parameters:

deviceType - the deviceType value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withFlaggedReasons

public MicrosoftGraphManagedAppRegistration withFlaggedReasons(List flaggedReasons)

Set the flaggedReasons property: Zero or more reasons an app registration is flagged. E.g. app running on rooted device.

Parameters:

flaggedReasons - the flaggedReasons value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withId

public MicrosoftGraphManagedAppRegistration withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphManagedAppRegistration.withId(String id)

Parameters:

id

withIntendedPolicies

public MicrosoftGraphManagedAppRegistration withIntendedPolicies(List intendedPolicies)

Set the intendedPolicies property: Zero or more policies admin intended for the app as of now.

Parameters:

intendedPolicies - the intendedPolicies value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withLastSyncDateTime

public MicrosoftGraphManagedAppRegistration withLastSyncDateTime(OffsetDateTime lastSyncDateTime)

Set the lastSyncDateTime property: Date and time of last the app synced with management service.

Parameters:

lastSyncDateTime - the lastSyncDateTime value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withManagementSdkVersion

public MicrosoftGraphManagedAppRegistration withManagementSdkVersion(String managementSdkVersion)

Set the managementSdkVersion property: App management SDK version.

Parameters:

managementSdkVersion - the managementSdkVersion value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withOperations

public MicrosoftGraphManagedAppRegistration withOperations(List operations)

Set the operations property: Zero or more long running operations triggered on the app registration.

Parameters:

operations - the operations value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withPlatformVersion

public MicrosoftGraphManagedAppRegistration withPlatformVersion(String platformVersion)

Set the platformVersion property: Operating System version.

Parameters:

platformVersion - the platformVersion value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withUserId

public MicrosoftGraphManagedAppRegistration withUserId(String userId)

Set the userId property: The user Id to who this app registration belongs.

Parameters:

userId - the userId value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

withVersion

public MicrosoftGraphManagedAppRegistration withVersion(String version)

Set the version property: Version of the entity.

Parameters:

version - the version value to set.

Returns:

the MicrosoftGraphManagedAppRegistration object itself.

Applies to