Class MicrosoftGraphManagedAppRegistration
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphManagedAppRegistration
-
public final class MicrosoftGraphManagedAppRegistration extends MicrosoftGraphEntity
The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphManagedAppRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
appIdentifier
public Map<String,Object> appIdentifier()
Get the appIdentifier property: The identifier for a mobile app.- Returns:
- the appIdentifier value.
-
withAppIdentifier
public MicrosoftGraphManagedAppRegistration withAppIdentifier(Map<String,Object> appIdentifier)
Set the appIdentifier property: The identifier for a mobile app.- Parameters:
appIdentifier
- the appIdentifier value to set.- Returns:
- the MicrosoftGraphManagedAppRegistration object itself.
-
applicationVersion
public String applicationVersion()
Get the applicationVersion property: App version.- Returns:
- the applicationVersion value.
-
withApplicationVersion
public MicrosoftGraphManagedAppRegistration withApplicationVersion(String applicationVersion)
Set the applicationVersion property: App version.- Parameters:
applicationVersion
- the applicationVersion value to set.- Returns:
- the MicrosoftGraphManagedAppRegistration object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Date and time of creation.- Returns:
- the createdDateTime value.
-
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.
-
deviceName
public String deviceName()
Get the deviceName property: Host device name.- Returns:
- the deviceName value.
-
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.
-
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.
-
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.
-
deviceType
public String deviceType()
Get the deviceType property: Host device type.- Returns:
- the deviceType value.
-
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.
-
flaggedReasons
public List<MicrosoftGraphManagedAppFlaggedReason> 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.
-
withFlaggedReasons
public MicrosoftGraphManagedAppRegistration withFlaggedReasons(List<MicrosoftGraphManagedAppFlaggedReason> 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.
-
lastSyncDateTime
public OffsetDateTime lastSyncDateTime()
Get the lastSyncDateTime property: Date and time of last the app synced with management service.- Returns:
- the lastSyncDateTime value.
-
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.
-
managementSdkVersion
public String managementSdkVersion()
Get the managementSdkVersion property: App management SDK version.- Returns:
- the managementSdkVersion value.
-
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.
-
platformVersion
public String platformVersion()
Get the platformVersion property: Operating System version.- Returns:
- the platformVersion value.
-
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.
-
userId
public String userId()
Get the userId property: The user Id to who this app registration belongs.- Returns:
- the userId value.
-
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.
-
version
public String version()
Get the version property: Version of the entity.- Returns:
- the version value.
-
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.
-
appliedPolicies
public List<MicrosoftGraphManagedAppPolicy> 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.
-
withAppliedPolicies
public 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.- Parameters:
appliedPolicies
- the appliedPolicies value to set.- Returns:
- the MicrosoftGraphManagedAppRegistration object itself.
-
intendedPolicies
public List<MicrosoftGraphManagedAppPolicy> intendedPolicies()
Get the intendedPolicies property: Zero or more policies admin intended for the app as of now.- Returns:
- the intendedPolicies value.
-
withIntendedPolicies
public MicrosoftGraphManagedAppRegistration withIntendedPolicies(List<MicrosoftGraphManagedAppPolicy> 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.
-
operations
public List<MicrosoftGraphManagedAppOperation> operations()
Get the operations property: Zero or more long running operations triggered on the app registration.- Returns:
- the operations value.
-
withOperations
public MicrosoftGraphManagedAppRegistration withOperations(List<MicrosoftGraphManagedAppOperation> 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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public 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.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphManagedAppRegistration object itself.
-
withId
public MicrosoftGraphManagedAppRegistration withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-