Class AndroidWorkProfileGeneralDeviceConfiguration

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceConfiguration
com.microsoft.graph.models.AndroidWorkProfileGeneralDeviceConfiguration
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements com.microsoft.kiota.serialization.Parsable
Android Work Profile general device configuration.
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AndroidWorkProfileGeneralDeviceConfiguration 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 AndroidWorkProfileGeneralDeviceConfiguration
    • 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 DeviceConfiguration
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPasswordBlockFingerprintUnlock

      @Nullable public Boolean getPasswordBlockFingerprintUnlock()
      Gets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.
      Returns:
      a Boolean
    • getPasswordBlockTrustAgents

      @Nullable public Boolean getPasswordBlockTrustAgents()
      Gets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.
      Returns:
      a Boolean
    • getPasswordExpirationDays

      @Nullable public Integer getPasswordExpirationDays()
      Gets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365
      Returns:
      a Integer
    • getPasswordMinimumLength

      @Nullable public Integer getPasswordMinimumLength()
      Gets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16
      Returns:
      a Integer
    • getPasswordMinutesOfInactivityBeforeScreenTimeout

      @Nullable public Integer getPasswordMinutesOfInactivityBeforeScreenTimeout()
      Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
      Returns:
      a Integer
    • getPasswordPreviousPasswordBlockCount

      @Nullable public Integer getPasswordPreviousPasswordBlockCount()
      Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24
      Returns:
      a Integer
    • getPasswordRequiredType

      @Nullable public AndroidWorkProfileRequiredPasswordType getPasswordRequiredType()
      Gets the passwordRequiredType property value. Android Work Profile required password type.
      Returns:
      a AndroidWorkProfileRequiredPasswordType
    • getPasswordSignInFailureCountBeforeFactoryReset

      @Nullable public Integer getPasswordSignInFailureCountBeforeFactoryReset()
      Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16
      Returns:
      a Integer
    • getSecurityRequireVerifyApps

      @Nullable public Boolean getSecurityRequireVerifyApps()
      Gets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.
      Returns:
      a Boolean
    • getWorkProfileBlockAddingAccounts

      @Nullable public Boolean getWorkProfileBlockAddingAccounts()
      Gets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.
      Returns:
      a Boolean
    • getWorkProfileBlockCamera

      @Nullable public Boolean getWorkProfileBlockCamera()
      Gets the workProfileBlockCamera property value. Block work profile camera.
      Returns:
      a Boolean
    • getWorkProfileBlockCrossProfileCallerId

      @Nullable public Boolean getWorkProfileBlockCrossProfileCallerId()
      Gets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.
      Returns:
      a Boolean
    • getWorkProfileBlockCrossProfileContactsSearch

      @Nullable public Boolean getWorkProfileBlockCrossProfileContactsSearch()
      Gets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.
      Returns:
      a Boolean
    • getWorkProfileBlockCrossProfileCopyPaste

      @Nullable public Boolean getWorkProfileBlockCrossProfileCopyPaste()
      Gets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
      Returns:
      a Boolean
    • getWorkProfileBlockNotificationsWhileDeviceLocked

      @Nullable public Boolean getWorkProfileBlockNotificationsWhileDeviceLocked()
      Gets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.
      Returns:
      a Boolean
    • getWorkProfileBlockScreenCapture

      @Nullable public Boolean getWorkProfileBlockScreenCapture()
      Gets the workProfileBlockScreenCapture property value. Block screen capture in work profile.
      Returns:
      a Boolean
    • getWorkProfileBluetoothEnableContactSharing

      @Nullable public Boolean getWorkProfileBluetoothEnableContactSharing()
      Gets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.
      Returns:
      a Boolean
    • getWorkProfileDataSharingType

      @Nullable public AndroidWorkProfileCrossProfileDataSharingType getWorkProfileDataSharingType()
      Gets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type.
      Returns:
      a AndroidWorkProfileCrossProfileDataSharingType
    • getWorkProfileDefaultAppPermissionPolicy

      @Nullable public AndroidWorkProfileDefaultAppPermissionPolicyType getWorkProfileDefaultAppPermissionPolicy()
      Gets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.
      Returns:
      a AndroidWorkProfileDefaultAppPermissionPolicyType
    • getWorkProfilePasswordBlockFingerprintUnlock

      @Nullable public Boolean getWorkProfilePasswordBlockFingerprintUnlock()
      Gets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.
      Returns:
      a Boolean
    • getWorkProfilePasswordBlockTrustAgents

      @Nullable public Boolean getWorkProfilePasswordBlockTrustAgents()
      Gets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.
      Returns:
      a Boolean
    • getWorkProfilePasswordExpirationDays

      @Nullable public Integer getWorkProfilePasswordExpirationDays()
      Gets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365
      Returns:
      a Integer
    • getWorkProfilePasswordMinimumLength

      @Nullable public Integer getWorkProfilePasswordMinimumLength()
      Gets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16
      Returns:
      a Integer
    • getWorkProfilePasswordMinLetterCharacters

      @Nullable public Integer getWorkProfilePasswordMinLetterCharacters()
      Gets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinLowerCaseCharacters

      @Nullable public Integer getWorkProfilePasswordMinLowerCaseCharacters()
      Gets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinNonLetterCharacters

      @Nullable public Integer getWorkProfilePasswordMinNonLetterCharacters()
      Gets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinNumericCharacters

      @Nullable public Integer getWorkProfilePasswordMinNumericCharacters()
      Gets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinSymbolCharacters

      @Nullable public Integer getWorkProfilePasswordMinSymbolCharacters()
      Gets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinUpperCaseCharacters

      @Nullable public Integer getWorkProfilePasswordMinUpperCaseCharacters()
      Gets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
      Returns:
      a Integer
    • getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout

      @Nullable public Integer getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout()
      Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
      Returns:
      a Integer
    • getWorkProfilePasswordPreviousPasswordBlockCount

      @Nullable public Integer getWorkProfilePasswordPreviousPasswordBlockCount()
      Gets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24
      Returns:
      a Integer
    • getWorkProfilePasswordRequiredType

      @Nullable public AndroidWorkProfileRequiredPasswordType getWorkProfilePasswordRequiredType()
      Gets the workProfilePasswordRequiredType property value. Android Work Profile required password type.
      Returns:
      a AndroidWorkProfileRequiredPasswordType
    • getWorkProfilePasswordSignInFailureCountBeforeFactoryReset

      @Nullable public Integer getWorkProfilePasswordSignInFailureCountBeforeFactoryReset()
      Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16
      Returns:
      a Integer
    • getWorkProfileRequirePassword

      @Nullable public Boolean getWorkProfileRequirePassword()
      Gets the workProfileRequirePassword property value. Password is required or not for work profile
      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 DeviceConfiguration
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setPasswordBlockFingerprintUnlock

      public void setPasswordBlockFingerprintUnlock(@Nullable Boolean value)
      Sets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.
      Parameters:
      value - Value to set for the passwordBlockFingerprintUnlock property.
    • setPasswordBlockTrustAgents

      public void setPasswordBlockTrustAgents(@Nullable Boolean value)
      Sets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.
      Parameters:
      value - Value to set for the passwordBlockTrustAgents property.
    • setPasswordExpirationDays

      public void setPasswordExpirationDays(@Nullable Integer value)
      Sets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365
      Parameters:
      value - Value to set for the passwordExpirationDays property.
    • setPasswordMinimumLength

      public void setPasswordMinimumLength(@Nullable Integer value)
      Sets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16
      Parameters:
      value - Value to set for the passwordMinimumLength property.
    • setPasswordMinutesOfInactivityBeforeScreenTimeout

      public void setPasswordMinutesOfInactivityBeforeScreenTimeout(@Nullable Integer value)
      Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
      Parameters:
      value - Value to set for the passwordMinutesOfInactivityBeforeScreenTimeout property.
    • setPasswordPreviousPasswordBlockCount

      public void setPasswordPreviousPasswordBlockCount(@Nullable Integer value)
      Sets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24
      Parameters:
      value - Value to set for the passwordPreviousPasswordBlockCount property.
    • setPasswordRequiredType

      public void setPasswordRequiredType(@Nullable AndroidWorkProfileRequiredPasswordType value)
      Sets the passwordRequiredType property value. Android Work Profile required password type.
      Parameters:
      value - Value to set for the passwordRequiredType property.
    • setPasswordSignInFailureCountBeforeFactoryReset

      public void setPasswordSignInFailureCountBeforeFactoryReset(@Nullable Integer value)
      Sets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16
      Parameters:
      value - Value to set for the passwordSignInFailureCountBeforeFactoryReset property.
    • setSecurityRequireVerifyApps

      public void setSecurityRequireVerifyApps(@Nullable Boolean value)
      Sets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.
      Parameters:
      value - Value to set for the securityRequireVerifyApps property.
    • setWorkProfileBlockAddingAccounts

      public void setWorkProfileBlockAddingAccounts(@Nullable Boolean value)
      Sets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.
      Parameters:
      value - Value to set for the workProfileBlockAddingAccounts property.
    • setWorkProfileBlockCamera

      public void setWorkProfileBlockCamera(@Nullable Boolean value)
      Sets the workProfileBlockCamera property value. Block work profile camera.
      Parameters:
      value - Value to set for the workProfileBlockCamera property.
    • setWorkProfileBlockCrossProfileCallerId

      public void setWorkProfileBlockCrossProfileCallerId(@Nullable Boolean value)
      Sets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.
      Parameters:
      value - Value to set for the workProfileBlockCrossProfileCallerId property.
    • setWorkProfileBlockCrossProfileContactsSearch

      public void setWorkProfileBlockCrossProfileContactsSearch(@Nullable Boolean value)
      Sets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.
      Parameters:
      value - Value to set for the workProfileBlockCrossProfileContactsSearch property.
    • setWorkProfileBlockCrossProfileCopyPaste

      public void setWorkProfileBlockCrossProfileCopyPaste(@Nullable Boolean value)
      Sets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.
      Parameters:
      value - Value to set for the workProfileBlockCrossProfileCopyPaste property.
    • setWorkProfileBlockNotificationsWhileDeviceLocked

      public void setWorkProfileBlockNotificationsWhileDeviceLocked(@Nullable Boolean value)
      Sets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.
      Parameters:
      value - Value to set for the workProfileBlockNotificationsWhileDeviceLocked property.
    • setWorkProfileBlockScreenCapture

      public void setWorkProfileBlockScreenCapture(@Nullable Boolean value)
      Sets the workProfileBlockScreenCapture property value. Block screen capture in work profile.
      Parameters:
      value - Value to set for the workProfileBlockScreenCapture property.
    • setWorkProfileBluetoothEnableContactSharing

      public void setWorkProfileBluetoothEnableContactSharing(@Nullable Boolean value)
      Sets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.
      Parameters:
      value - Value to set for the workProfileBluetoothEnableContactSharing property.
    • setWorkProfileDataSharingType

      public void setWorkProfileDataSharingType(@Nullable AndroidWorkProfileCrossProfileDataSharingType value)
      Sets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type.
      Parameters:
      value - Value to set for the workProfileDataSharingType property.
    • setWorkProfileDefaultAppPermissionPolicy

      public void setWorkProfileDefaultAppPermissionPolicy(@Nullable AndroidWorkProfileDefaultAppPermissionPolicyType value)
      Sets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.
      Parameters:
      value - Value to set for the workProfileDefaultAppPermissionPolicy property.
    • setWorkProfilePasswordBlockFingerprintUnlock

      public void setWorkProfilePasswordBlockFingerprintUnlock(@Nullable Boolean value)
      Sets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.
      Parameters:
      value - Value to set for the workProfilePasswordBlockFingerprintUnlock property.
    • setWorkProfilePasswordBlockTrustAgents

      public void setWorkProfilePasswordBlockTrustAgents(@Nullable Boolean value)
      Sets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.
      Parameters:
      value - Value to set for the workProfilePasswordBlockTrustAgents property.
    • setWorkProfilePasswordExpirationDays

      public void setWorkProfilePasswordExpirationDays(@Nullable Integer value)
      Sets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365
      Parameters:
      value - Value to set for the workProfilePasswordExpirationDays property.
    • setWorkProfilePasswordMinimumLength

      public void setWorkProfilePasswordMinimumLength(@Nullable Integer value)
      Sets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16
      Parameters:
      value - Value to set for the workProfilePasswordMinimumLength property.
    • setWorkProfilePasswordMinLetterCharacters

      public void setWorkProfilePasswordMinLetterCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinLetterCharacters property.
    • setWorkProfilePasswordMinLowerCaseCharacters

      public void setWorkProfilePasswordMinLowerCaseCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinLowerCaseCharacters property.
    • setWorkProfilePasswordMinNonLetterCharacters

      public void setWorkProfilePasswordMinNonLetterCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinNonLetterCharacters property.
    • setWorkProfilePasswordMinNumericCharacters

      public void setWorkProfilePasswordMinNumericCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinNumericCharacters property.
    • setWorkProfilePasswordMinSymbolCharacters

      public void setWorkProfilePasswordMinSymbolCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinSymbolCharacters property.
    • setWorkProfilePasswordMinUpperCaseCharacters

      public void setWorkProfilePasswordMinUpperCaseCharacters(@Nullable Integer value)
      Sets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10
      Parameters:
      value - Value to set for the workProfilePasswordMinUpperCaseCharacters property.
    • setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout

      public void setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout(@Nullable Integer value)
      Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.
      Parameters:
      value - Value to set for the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property.
    • setWorkProfilePasswordPreviousPasswordBlockCount

      public void setWorkProfilePasswordPreviousPasswordBlockCount(@Nullable Integer value)
      Sets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24
      Parameters:
      value - Value to set for the workProfilePasswordPreviousPasswordBlockCount property.
    • setWorkProfilePasswordRequiredType

      public void setWorkProfilePasswordRequiredType(@Nullable AndroidWorkProfileRequiredPasswordType value)
      Sets the workProfilePasswordRequiredType property value. Android Work Profile required password type.
      Parameters:
      value - Value to set for the workProfilePasswordRequiredType property.
    • setWorkProfilePasswordSignInFailureCountBeforeFactoryReset

      public void setWorkProfilePasswordSignInFailureCountBeforeFactoryReset(@Nullable Integer value)
      Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16
      Parameters:
      value - Value to set for the workProfilePasswordSignInFailureCountBeforeFactoryReset property.
    • setWorkProfileRequirePassword

      public void setWorkProfileRequirePassword(@Nullable Boolean value)
      Sets the workProfileRequirePassword property value. Password is required or not for work profile
      Parameters:
      value - Value to set for the workProfileRequirePassword property.