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.StringapplicationVersion()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.OffsetDateTimecreatedDateTime()Get the createdDateTime property: Date and time of creation.StringdeviceName()Get the deviceName property: Host device name.StringdeviceTag()Get the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device.StringdeviceType()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.OffsetDateTimelastSyncDateTime()Get the lastSyncDateTime property: Date and time of last the app synced with management service.StringmanagementSdkVersion()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.StringplatformVersion()Get the platformVersion property: Operating System version.StringuserId()Get the userId property: The user Id to who this app registration belongs.voidvalidate()Validates the instance.Stringversion()Get the version property: Version of the entity.MicrosoftGraphManagedAppRegistrationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: The ManagedAppEntity is the base entity type for all other entity types under app management workflow.MicrosoftGraphManagedAppRegistrationwithAppIdentifier(Map<String,Object> appIdentifier)Set the appIdentifier property: The identifier for a mobile app.MicrosoftGraphManagedAppRegistrationwithApplicationVersion(String applicationVersion)Set the applicationVersion property: App version.MicrosoftGraphManagedAppRegistrationwithAppliedPolicies(List<MicrosoftGraphManagedAppPolicy> appliedPolicies)Set the appliedPolicies property: Zero or more policys already applied on the registered app when it last synchronized with managment service.MicrosoftGraphManagedAppRegistrationwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Date and time of creation.MicrosoftGraphManagedAppRegistrationwithDeviceName(String deviceName)Set the deviceName property: Host device name.MicrosoftGraphManagedAppRegistrationwithDeviceTag(String deviceTag)Set the deviceTag property: App management SDK generated tag, which helps relate apps hosted on the same device.MicrosoftGraphManagedAppRegistrationwithDeviceType(String deviceType)Set the deviceType property: Host device type.MicrosoftGraphManagedAppRegistrationwithFlaggedReasons(List<MicrosoftGraphManagedAppFlaggedReason> flaggedReasons)Set the flaggedReasons property: Zero or more reasons an app registration is flagged.MicrosoftGraphManagedAppRegistrationwithId(String id)Set the id property: Read-only.MicrosoftGraphManagedAppRegistrationwithIntendedPolicies(List<MicrosoftGraphManagedAppPolicy> intendedPolicies)Set the intendedPolicies property: Zero or more policies admin intended for the app as of now.MicrosoftGraphManagedAppRegistrationwithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Set the lastSyncDateTime property: Date and time of last the app synced with management service.MicrosoftGraphManagedAppRegistrationwithManagementSdkVersion(String managementSdkVersion)Set the managementSdkVersion property: App management SDK version.MicrosoftGraphManagedAppRegistrationwithOperations(List<MicrosoftGraphManagedAppOperation> operations)Set the operations property: Zero or more long running operations triggered on the app registration.MicrosoftGraphManagedAppRegistrationwithPlatformVersion(String platformVersion)Set the platformVersion property: Operating System version.MicrosoftGraphManagedAppRegistrationwithUserId(String userId)Set the userId property: The user Id to who this app registration belongs.MicrosoftGraphManagedAppRegistrationwithVersion(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:
additionalPropertiesin 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:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-