Class DefaultManagedAppProtection

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DefaultManagedAppProtection extends ManagedAppProtection implements com.microsoft.kiota.serialization.Parsable
Policy used to configure detailed management settings for a specified set of apps for all users not targeted by a TargetedManagedAppProtection Policy
  • Constructor Details

    • DefaultManagedAppProtection

      public DefaultManagedAppProtection()
      Instantiates a new DefaultManagedAppProtection and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DefaultManagedAppProtection 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 DefaultManagedAppProtection
    • getAppDataEncryptionType

      @Nullable public ManagedAppDataEncryptionType getAppDataEncryptionType()
      Gets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps
      Returns:
      a ManagedAppDataEncryptionType
    • getApps

      @Nullable public List<ManagedMobileApp> getApps()
      Gets the apps property value. List of apps to which the policy is deployed.
      Returns:
      a List<ManagedMobileApp>
    • getCustomSettings

      @Nullable public List<KeyValuePair> getCustomSettings()
      Gets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service
      Returns:
      a List<KeyValuePair>
    • getDeployedAppCount

      @Nullable public Integer getDeployedAppCount()
      Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.
      Returns:
      a Integer
    • getDeploymentSummary

      @Nullable public ManagedAppPolicyDeploymentSummary getDeploymentSummary()
      Gets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
      Returns:
      a ManagedAppPolicyDeploymentSummary
    • getDisableAppEncryptionIfDeviceEncryptionIsEnabled

      @Nullable public Boolean getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
      Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
      Returns:
      a Boolean
    • getEncryptAppData

      @Nullable public Boolean getEncryptAppData()
      Gets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)
      Returns:
      a Boolean
    • getFaceIdBlocked

      @Nullable public Boolean getFaceIdBlocked()
      Gets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
      Returns:
      a Boolean
    • 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 ManagedAppProtection
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMinimumRequiredPatchVersion

      @Nullable public String getMinimumRequiredPatchVersion()
      Gets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
      Returns:
      a String
    • getMinimumRequiredSdkVersion

      @Nullable public String getMinimumRequiredSdkVersion()
      Gets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
      Returns:
      a String
    • getMinimumWarningPatchVersion

      @Nullable public String getMinimumWarningPatchVersion()
      Gets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
      Returns:
      a String
    • getScreenCaptureBlocked

      @Nullable public Boolean getScreenCaptureBlocked()
      Gets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)
      Returns:
      a Boolean
    • 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 ManagedAppProtection
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppDataEncryptionType

      public void setAppDataEncryptionType(@Nullable ManagedAppDataEncryptionType value)
      Sets the appDataEncryptionType property value. Represents the level to which app data is encrypted for managed apps
      Parameters:
      value - Value to set for the appDataEncryptionType property.
    • setApps

      public void setApps(@Nullable List<ManagedMobileApp> value)
      Sets the apps property value. List of apps to which the policy is deployed.
      Parameters:
      value - Value to set for the apps property.
    • setCustomSettings

      public void setCustomSettings(@Nullable List<KeyValuePair> value)
      Sets the customSettings property value. A set of string key and string value pairs to be sent to the affected users, unalterned by this service
      Parameters:
      value - Value to set for the customSettings property.
    • setDeployedAppCount

      public void setDeployedAppCount(@Nullable Integer value)
      Sets the deployedAppCount property value. Count of apps to which the current policy is deployed.
      Parameters:
      value - Value to set for the deployedAppCount property.
    • setDeploymentSummary

      public void setDeploymentSummary(@Nullable ManagedAppPolicyDeploymentSummary value)
      Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
      Parameters:
      value - Value to set for the deploymentSummary property.
    • setDisableAppEncryptionIfDeviceEncryptionIsEnabled

      public void setDisableAppEncryptionIfDeviceEncryptionIsEnabled(@Nullable Boolean value)
      Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled property value. When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)
      Parameters:
      value - Value to set for the disableAppEncryptionIfDeviceEncryptionIsEnabled property.
    • setEncryptAppData

      public void setEncryptAppData(@Nullable Boolean value)
      Sets the encryptAppData property value. Indicates whether managed-app data should be encrypted. (Android only)
      Parameters:
      value - Value to set for the encryptAppData property.
    • setFaceIdBlocked

      public void setFaceIdBlocked(@Nullable Boolean value)
      Sets the faceIdBlocked property value. Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)
      Parameters:
      value - Value to set for the faceIdBlocked property.
    • setMinimumRequiredPatchVersion

      public void setMinimumRequiredPatchVersion(@Nullable String value)
      Sets the minimumRequiredPatchVersion property value. Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)
      Parameters:
      value - Value to set for the minimumRequiredPatchVersion property.
    • setMinimumRequiredSdkVersion

      public void setMinimumRequiredSdkVersion(@Nullable String value)
      Sets the minimumRequiredSdkVersion property value. Versions less than the specified version will block the managed app from accessing company data. (iOS Only)
      Parameters:
      value - Value to set for the minimumRequiredSdkVersion property.
    • setMinimumWarningPatchVersion

      public void setMinimumWarningPatchVersion(@Nullable String value)
      Sets the minimumWarningPatchVersion property value. Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)
      Parameters:
      value - Value to set for the minimumWarningPatchVersion property.
    • setScreenCaptureBlocked

      public void setScreenCaptureBlocked(@Nullable Boolean value)
      Sets the screenCaptureBlocked property value. Indicates whether screen capture is blocked. (Android only)
      Parameters:
      value - Value to set for the screenCaptureBlocked property.