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.
  • Constructor Details

    • ManagedAppRegistration

      public ManagedAppRegistration()
      Instantiates a new ManagedAppRegistration 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

      @Nullable public MobileAppIdentifier getAppIdentifier()
      Gets the appIdentifier property value. The app package Identifier
      Returns:
      a MobileAppIdentifier
    • getApplicationVersion

      @Nullable public String getApplicationVersion()
      Gets the applicationVersion property value. App version
      Returns:
      a String
    • getAppliedPolicies

      @Nullable public List<ManagedAppPolicy> 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

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Date and time of creation
      Returns:
      a OffsetDateTime
    • getDeviceName

      @Nullable public String getDeviceName()
      Gets the deviceName property value. Host device name
      Returns:
      a String
    • getDeviceTag

      @Nullable public 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

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFlaggedReasons

      @Nullable public List<ManagedAppFlaggedReason> 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

      @Nullable public List<ManagedAppPolicy> getIntendedPolicies()
      Gets the intendedPolicies property value. Zero or more policies admin intended for the app as of now.
      Returns:
      a List<ManagedAppPolicy>
    • getLastSyncDateTime

      @Nullable public OffsetDateTime getLastSyncDateTime()
      Gets the lastSyncDateTime property value. Date and time of last the app synced with management service.
      Returns:
      a OffsetDateTime
    • getManagementSdkVersion

      @Nullable public String getManagementSdkVersion()
      Gets the managementSdkVersion property value. App management SDK version
      Returns:
      a String
    • getOperations

      @Nullable public List<ManagedAppOperation> getOperations()
      Gets the operations property value. Zero or more long running operations triggered on the app registration.
      Returns:
      a List<ManagedAppOperation>
    • getPlatformVersion

      @Nullable public String getPlatformVersion()
      Gets the platformVersion property value. Operating System version
      Returns:
      a String
    • getUserId

      @Nullable public String getUserId()
      Gets the userId property value. The user Id to who this app registration belongs.
      Returns:
      a String
    • getVersion

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppIdentifier

      public void setAppIdentifier(@Nullable MobileAppIdentifier value)
      Sets the appIdentifier property value. The app package Identifier
      Parameters:
      value - Value to set for the appIdentifier property.
    • setApplicationVersion

      public void setApplicationVersion(@Nullable String value)
      Sets the applicationVersion property value. App version
      Parameters:
      value - Value to set for the applicationVersion property.
    • setAppliedPolicies

      public void setAppliedPolicies(@Nullable List<ManagedAppPolicy> value)
      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

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Date and time of creation
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDeviceName

      public void setDeviceName(@Nullable String value)
      Sets the deviceName property value. Host device name
      Parameters:
      value - Value to set for the deviceName property.
    • setDeviceTag

      public void setDeviceTag(@Nullable String value)
      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

      public void setDeviceType(@Nullable String value)
      Sets the deviceType property value. Host device type
      Parameters:
      value - Value to set for the deviceType property.
    • setFlaggedReasons

      public void setFlaggedReasons(@Nullable List<ManagedAppFlaggedReason> value)
      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

      public void setIntendedPolicies(@Nullable List<ManagedAppPolicy> value)
      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

      public void setLastSyncDateTime(@Nullable OffsetDateTime value)
      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

      public void setManagementSdkVersion(@Nullable String value)
      Sets the managementSdkVersion property value. App management SDK version
      Parameters:
      value - Value to set for the managementSdkVersion property.
    • setOperations

      public void setOperations(@Nullable List<ManagedAppOperation> value)
      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

      public void setPlatformVersion(@Nullable String value)
      Sets the platformVersion property value. Operating System version
      Parameters:
      value - Value to set for the platformVersion property.
    • setUserId

      public void setUserId(@Nullable String value)
      Sets the userId property value. The user Id to who this app registration belongs.
      Parameters:
      value - Value to set for the userId property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. Version of the entity.
      Parameters:
      value - Value to set for the version property.