Package com.microsoft.graph.models
Class ManagedAppRegistration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedAppRegistration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
AndroidManagedAppRegistration
,IosManagedAppRegistration
@Generated("com.microsoft.kiota")
public class ManagedAppRegistration
extends Entity
implements com.microsoft.kiota.serialization.Parsable
The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedAppRegistration
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appIdentifier property value.Gets the applicationVersion property value.Gets the appliedPolicies property value.Gets the createdDateTime property value.Gets the deviceName property value.Gets the deviceTag property value.Gets the deviceType property value.The deserialization information for the current modelGets the flaggedReasons property value.Gets the intendedPolicies property value.Gets the lastSyncDateTime property value.Gets the managementSdkVersion property value.Gets the operations property value.Gets the platformVersion property value.Gets the userId property value.Gets the version property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the appIdentifier property value.void
setApplicationVersion
(String value) Sets the applicationVersion property value.void
setAppliedPolicies
(List<ManagedAppPolicy> value) Sets the appliedPolicies property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDeviceName
(String value) Sets the deviceName property value.void
setDeviceTag
(String value) Sets the deviceTag property value.void
setDeviceType
(String value) Sets the deviceType property value.void
Sets the flaggedReasons property value.void
setIntendedPolicies
(List<ManagedAppPolicy> value) Sets the intendedPolicies property value.void
Sets the lastSyncDateTime property value.void
setManagementSdkVersion
(String value) Sets the managementSdkVersion property value.void
setOperations
(List<ManagedAppOperation> value) Sets the operations property value.void
setPlatformVersion
(String value) Sets the platformVersion property value.void
Sets the userId property value.void
setVersion
(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ManagedAppRegistration
public ManagedAppRegistration()Instantiates a newManagedAppRegistration
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ManagedAppRegistration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
ManagedAppRegistration
-
getAppIdentifier
Gets the appIdentifier property value. The app package Identifier- Returns:
- a
MobileAppIdentifier
-
getApplicationVersion
Gets the applicationVersion property value. App version- Returns:
- a
String
-
getAppliedPolicies
Gets the appliedPolicies property value. Zero or more policys already applied on the registered app when it last synchronized with managment service.- Returns:
- a
List<ManagedAppPolicy>
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time of creation- Returns:
- a
OffsetDateTime
-
getDeviceName
Gets the deviceName property value. Host device name- Returns:
- a
String
-
getDeviceTag
Gets the deviceTag property value. App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.- Returns:
- a
String
-
getDeviceType
Gets the deviceType property value. Host device type- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFlaggedReasons
Gets the flaggedReasons property value. Zero or more reasons an app registration is flagged. E.g. app running on rooted device- Returns:
- a
List<ManagedAppFlaggedReason>
-
getIntendedPolicies
Gets the intendedPolicies property value. Zero or more policies admin intended for the app as of now.- Returns:
- a
List<ManagedAppPolicy>
-
getLastSyncDateTime
Gets the lastSyncDateTime property value. Date and time of last the app synced with management service.- Returns:
- a
OffsetDateTime
-
getManagementSdkVersion
Gets the managementSdkVersion property value. App management SDK version- Returns:
- a
String
-
getOperations
Gets the operations property value. Zero or more long running operations triggered on the app registration.- Returns:
- a
List<ManagedAppOperation>
-
getPlatformVersion
Gets the platformVersion property value. Operating System version- Returns:
- a
String
-
getUserId
Gets the userId property value. The user Id to who this app registration belongs.- Returns:
- a
String
-
getVersion
Gets the version property value. Version of the entity.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppIdentifier
Sets the appIdentifier property value. The app package Identifier- Parameters:
value
- Value to set for the appIdentifier property.
-
setApplicationVersion
Sets the applicationVersion property value. App version- Parameters:
value
- Value to set for the applicationVersion property.
-
setAppliedPolicies
Sets the appliedPolicies property value. Zero or more policys already applied on the registered app when it last synchronized with managment service.- Parameters:
value
- Value to set for the appliedPolicies property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time of creation- Parameters:
value
- Value to set for the createdDateTime property.
-
setDeviceName
Sets the deviceName property value. Host device name- Parameters:
value
- Value to set for the deviceName property.
-
setDeviceTag
Sets the deviceTag property value. App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.- Parameters:
value
- Value to set for the deviceTag property.
-
setDeviceType
Sets the deviceType property value. Host device type- Parameters:
value
- Value to set for the deviceType property.
-
setFlaggedReasons
Sets the flaggedReasons property value. Zero or more reasons an app registration is flagged. E.g. app running on rooted device- Parameters:
value
- Value to set for the flaggedReasons property.
-
setIntendedPolicies
Sets the intendedPolicies property value. Zero or more policies admin intended for the app as of now.- Parameters:
value
- Value to set for the intendedPolicies property.
-
setLastSyncDateTime
Sets the lastSyncDateTime property value. Date and time of last the app synced with management service.- Parameters:
value
- Value to set for the lastSyncDateTime property.
-
setManagementSdkVersion
Sets the managementSdkVersion property value. App management SDK version- Parameters:
value
- Value to set for the managementSdkVersion property.
-
setOperations
Sets the operations property value. Zero or more long running operations triggered on the app registration.- Parameters:
value
- Value to set for the operations property.
-
setPlatformVersion
Sets the platformVersion property value. Operating System version- Parameters:
value
- Value to set for the platformVersion property.
-
setUserId
Sets the userId property value. The user Id to who this app registration belongs.- Parameters:
value
- Value to set for the userId property.
-
setVersion
Sets the version property value. Version of the entity.- Parameters:
value
- Value to set for the version property.
-