Class AndroidWorkProfileGeneralDeviceConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class AndroidWorkProfileGeneralDeviceConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Android Work Profile general device configuration.”
    • Field Detail

      • passwordBlockFingerprintUnlock

        protected Boolean passwordBlockFingerprintUnlock
      • passwordBlockTrustAgents

        protected Boolean passwordBlockTrustAgents
      • passwordExpirationDays

        protected Integer passwordExpirationDays
      • passwordMinimumLength

        protected Integer passwordMinimumLength
      • passwordMinutesOfInactivityBeforeScreenTimeout

        protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
      • passwordPreviousPasswordBlockCount

        protected Integer passwordPreviousPasswordBlockCount
      • passwordSignInFailureCountBeforeFactoryReset

        protected Integer passwordSignInFailureCountBeforeFactoryReset
      • securityRequireVerifyApps

        protected Boolean securityRequireVerifyApps
      • workProfileBlockAddingAccounts

        protected Boolean workProfileBlockAddingAccounts
      • workProfileBlockCamera

        protected Boolean workProfileBlockCamera
      • workProfileBlockCrossProfileCallerId

        protected Boolean workProfileBlockCrossProfileCallerId
      • workProfileBlockCrossProfileContactsSearch

        protected Boolean workProfileBlockCrossProfileContactsSearch
      • workProfileBlockCrossProfileCopyPaste

        protected Boolean workProfileBlockCrossProfileCopyPaste
      • workProfileBlockNotificationsWhileDeviceLocked

        protected Boolean workProfileBlockNotificationsWhileDeviceLocked
      • workProfileBlockScreenCapture

        protected Boolean workProfileBlockScreenCapture
      • workProfileBluetoothEnableContactSharing

        protected Boolean workProfileBluetoothEnableContactSharing
      • workProfilePasswordBlockFingerprintUnlock

        protected Boolean workProfilePasswordBlockFingerprintUnlock
      • workProfilePasswordBlockTrustAgents

        protected Boolean workProfilePasswordBlockTrustAgents
      • workProfilePasswordExpirationDays

        protected Integer workProfilePasswordExpirationDays
      • workProfilePasswordMinimumLength

        protected Integer workProfilePasswordMinimumLength
      • workProfilePasswordMinLetterCharacters

        protected Integer workProfilePasswordMinLetterCharacters
      • workProfilePasswordMinLowerCaseCharacters

        protected Integer workProfilePasswordMinLowerCaseCharacters
      • workProfilePasswordMinNonLetterCharacters

        protected Integer workProfilePasswordMinNonLetterCharacters
      • workProfilePasswordMinNumericCharacters

        protected Integer workProfilePasswordMinNumericCharacters
      • workProfilePasswordMinSymbolCharacters

        protected Integer workProfilePasswordMinSymbolCharacters
      • workProfilePasswordMinUpperCaseCharacters

        protected Integer workProfilePasswordMinUpperCaseCharacters
      • workProfilePasswordMinutesOfInactivityBeforeScreenTimeout

        protected Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
      • workProfilePasswordPreviousPasswordBlockCount

        protected Integer workProfilePasswordPreviousPasswordBlockCount
      • workProfilePasswordSignInFailureCountBeforeFactoryReset

        protected Integer workProfilePasswordSignInFailureCountBeforeFactoryReset
      • workProfileRequirePassword

        protected Boolean workProfileRequirePassword
    • Constructor Detail

      • AndroidWorkProfileGeneralDeviceConfiguration

        protected AndroidWorkProfileGeneralDeviceConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • builderAndroidWorkProfileGeneralDeviceConfiguration

        public static AndroidWorkProfileGeneralDeviceConfiguration.Builder builderAndroidWorkProfileGeneralDeviceConfiguration()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceConfiguration
      • getPasswordBlockFingerprintUnlock

        public Optional<Boolean> getPasswordBlockFingerprintUnlock()
        “Indicates whether or not to block fingerprint unlock.”
        Returns:
        property passwordBlockFingerprintUnlock
      • withPasswordBlockFingerprintUnlock

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordBlockFingerprintUnlock​(Boolean passwordBlockFingerprintUnlock)
        Returns an immutable copy of this with just the passwordBlockFingerprintUnlock field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether or not to block fingerprint unlock.”

        Parameters:
        passwordBlockFingerprintUnlock - new value of passwordBlockFingerprintUnlock field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordBlockFingerprintUnlock field changed
      • getPasswordBlockTrustAgents

        public Optional<Boolean> getPasswordBlockTrustAgents()
        “Indicates whether or not to block Smart Lock and other trust agents.”
        Returns:
        property passwordBlockTrustAgents
      • withPasswordBlockTrustAgents

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordBlockTrustAgents​(Boolean passwordBlockTrustAgents)
        Returns an immutable copy of this with just the passwordBlockTrustAgents field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether or not to block Smart Lock and other trust agents.”

        Parameters:
        passwordBlockTrustAgents - new value of passwordBlockTrustAgents field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordBlockTrustAgents field changed
      • getPasswordExpirationDays

        public Optional<Integer> getPasswordExpirationDays()
        “Number of days before the password expires. Valid values 1 to 365”
        Returns:
        property passwordExpirationDays
      • withPasswordExpirationDays

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordExpirationDays​(Integer passwordExpirationDays)
        Returns an immutable copy of this with just the passwordExpirationDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of days before the password expires. Valid values 1 to 365”

        Parameters:
        passwordExpirationDays - new value of passwordExpirationDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordExpirationDays field changed
      • getPasswordMinimumLength

        public Optional<Integer> getPasswordMinimumLength()
        “Minimum length of passwords. Valid values 4 to 16”
        Returns:
        property passwordMinimumLength
      • withPasswordMinimumLength

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordMinimumLength​(Integer passwordMinimumLength)
        Returns an immutable copy of this with just the passwordMinimumLength field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum length of passwords. Valid values 4 to 16”

        Parameters:
        passwordMinimumLength - new value of passwordMinimumLength field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordMinimumLength field changed
      • getPasswordMinutesOfInactivityBeforeScreenTimeout

        public Optional<Integer> getPasswordMinutesOfInactivityBeforeScreenTimeout()
        “Minutes of inactivity before the screen times out.”
        Returns:
        property passwordMinutesOfInactivityBeforeScreenTimeout
      • withPasswordMinutesOfInactivityBeforeScreenTimeout

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeScreenTimeout​(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
        Returns an immutable copy of this with just the passwordMinutesOfInactivityBeforeScreenTimeout field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minutes of inactivity before the screen times out.”

        Parameters:
        passwordMinutesOfInactivityBeforeScreenTimeout - new value of passwordMinutesOfInactivityBeforeScreenTimeout field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordMinutesOfInactivityBeforeScreenTimeout field changed
      • getPasswordPreviousPasswordBlockCount

        public Optional<Integer> getPasswordPreviousPasswordBlockCount()
        “Number of previous passwords to block. Valid values 0 to 24”
        Returns:
        property passwordPreviousPasswordBlockCount
      • withPasswordPreviousPasswordBlockCount

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordPreviousPasswordBlockCount​(Integer passwordPreviousPasswordBlockCount)
        Returns an immutable copy of this with just the passwordPreviousPasswordBlockCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of previous passwords to block. Valid values 0 to 24”

        Parameters:
        passwordPreviousPasswordBlockCount - new value of passwordPreviousPasswordBlockCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordPreviousPasswordBlockCount field changed
      • withPasswordRequiredType

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordRequiredType​(AndroidWorkProfileRequiredPasswordType passwordRequiredType)
        Returns an immutable copy of this with just the passwordRequiredType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Type of password that is required.”

        Parameters:
        passwordRequiredType - new value of passwordRequiredType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordRequiredType field changed
      • getPasswordSignInFailureCountBeforeFactoryReset

        public Optional<Integer> getPasswordSignInFailureCountBeforeFactoryReset()
        “Number of sign in failures allowed before factory reset. Valid values 1 to 16”
        Returns:
        property passwordSignInFailureCountBeforeFactoryReset
      • withPasswordSignInFailureCountBeforeFactoryReset

        public AndroidWorkProfileGeneralDeviceConfiguration withPasswordSignInFailureCountBeforeFactoryReset​(Integer passwordSignInFailureCountBeforeFactoryReset)
        Returns an immutable copy of this with just the passwordSignInFailureCountBeforeFactoryReset field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of sign in failures allowed before factory reset. Valid values 1 to 16”

        Parameters:
        passwordSignInFailureCountBeforeFactoryReset - new value of passwordSignInFailureCountBeforeFactoryReset field (as defined in service metadata)
        Returns:
        immutable copy of this with just the passwordSignInFailureCountBeforeFactoryReset field changed
      • getSecurityRequireVerifyApps

        public Optional<Boolean> getSecurityRequireVerifyApps()
        “Require the Android Verify apps feature is turned on.”
        Returns:
        property securityRequireVerifyApps
      • withSecurityRequireVerifyApps

        public AndroidWorkProfileGeneralDeviceConfiguration withSecurityRequireVerifyApps​(Boolean securityRequireVerifyApps)
        Returns an immutable copy of this with just the securityRequireVerifyApps field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Require the Android Verify apps feature is turned on.”

        Parameters:
        securityRequireVerifyApps - new value of securityRequireVerifyApps field (as defined in service metadata)
        Returns:
        immutable copy of this with just the securityRequireVerifyApps field changed
      • getWorkProfileBlockAddingAccounts

        public Optional<Boolean> getWorkProfileBlockAddingAccounts()
        “Block users from adding/removing accounts in work profile.”
        Returns:
        property workProfileBlockAddingAccounts
      • withWorkProfileBlockAddingAccounts

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockAddingAccounts​(Boolean workProfileBlockAddingAccounts)
        Returns an immutable copy of this with just the workProfileBlockAddingAccounts field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Block users from adding/removing accounts in work profile.”

        Parameters:
        workProfileBlockAddingAccounts - new value of workProfileBlockAddingAccounts field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockAddingAccounts field changed
      • getWorkProfileBlockCamera

        public Optional<Boolean> getWorkProfileBlockCamera()
        “Block work profile camera.”
        Returns:
        property workProfileBlockCamera
      • withWorkProfileBlockCamera

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCamera​(Boolean workProfileBlockCamera)
        Returns an immutable copy of this with just the workProfileBlockCamera field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Block work profile camera.”

        Parameters:
        workProfileBlockCamera - new value of workProfileBlockCamera field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockCamera field changed
      • getWorkProfileBlockCrossProfileCallerId

        public Optional<Boolean> getWorkProfileBlockCrossProfileCallerId()
        “Block display work profile caller ID in personal profile.”
        Returns:
        property workProfileBlockCrossProfileCallerId
      • withWorkProfileBlockCrossProfileCallerId

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileCallerId​(Boolean workProfileBlockCrossProfileCallerId)
        Returns an immutable copy of this with just the workProfileBlockCrossProfileCallerId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Block display work profile caller ID in personal profile.”

        Parameters:
        workProfileBlockCrossProfileCallerId - new value of workProfileBlockCrossProfileCallerId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockCrossProfileCallerId field changed
      • getWorkProfileBlockCrossProfileContactsSearch

        public Optional<Boolean> getWorkProfileBlockCrossProfileContactsSearch()
        “Block work profile contacts availability in personal profile.”
        Returns:
        property workProfileBlockCrossProfileContactsSearch
      • withWorkProfileBlockCrossProfileContactsSearch

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileContactsSearch​(Boolean workProfileBlockCrossProfileContactsSearch)
        Returns an immutable copy of this with just the workProfileBlockCrossProfileContactsSearch field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Block work profile contacts availability in personal profile.”

        Parameters:
        workProfileBlockCrossProfileContactsSearch - new value of workProfileBlockCrossProfileContactsSearch field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockCrossProfileContactsSearch field changed
      • getWorkProfileBlockCrossProfileCopyPaste

        public Optional<Boolean> getWorkProfileBlockCrossProfileCopyPaste()
        “Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”
        Returns:
        property workProfileBlockCrossProfileCopyPaste
      • withWorkProfileBlockCrossProfileCopyPaste

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockCrossProfileCopyPaste​(Boolean workProfileBlockCrossProfileCopyPaste)
        Returns an immutable copy of this with just the workProfileBlockCrossProfileCopyPaste field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”

        Parameters:
        workProfileBlockCrossProfileCopyPaste - new value of workProfileBlockCrossProfileCopyPaste field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockCrossProfileCopyPaste field changed
      • getWorkProfileBlockNotificationsWhileDeviceLocked

        public Optional<Boolean> getWorkProfileBlockNotificationsWhileDeviceLocked()
        “Indicates whether or not to block notifications while device locked.”
        Returns:
        property workProfileBlockNotificationsWhileDeviceLocked
      • withWorkProfileBlockNotificationsWhileDeviceLocked

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockNotificationsWhileDeviceLocked​(Boolean workProfileBlockNotificationsWhileDeviceLocked)
        Returns an immutable copy of this with just the workProfileBlockNotificationsWhileDeviceLocked field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether or not to block notifications while device locked.”

        Parameters:
        workProfileBlockNotificationsWhileDeviceLocked - new value of workProfileBlockNotificationsWhileDeviceLocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockNotificationsWhileDeviceLocked field changed
      • getWorkProfileBlockScreenCapture

        public Optional<Boolean> getWorkProfileBlockScreenCapture()
        “Block screen capture in work profile.”
        Returns:
        property workProfileBlockScreenCapture
      • withWorkProfileBlockScreenCapture

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBlockScreenCapture​(Boolean workProfileBlockScreenCapture)
        Returns an immutable copy of this with just the workProfileBlockScreenCapture field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Block screen capture in work profile.”

        Parameters:
        workProfileBlockScreenCapture - new value of workProfileBlockScreenCapture field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBlockScreenCapture field changed
      • getWorkProfileBluetoothEnableContactSharing

        public Optional<Boolean> getWorkProfileBluetoothEnableContactSharing()
        “Allow bluetooth devices to access enterprise contacts.”
        Returns:
        property workProfileBluetoothEnableContactSharing
      • withWorkProfileBluetoothEnableContactSharing

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileBluetoothEnableContactSharing​(Boolean workProfileBluetoothEnableContactSharing)
        Returns an immutable copy of this with just the workProfileBluetoothEnableContactSharing field changed. Field description below . The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Allow bluetooth devices to access enterprise contacts.”

        Parameters:
        workProfileBluetoothEnableContactSharing - new value of workProfileBluetoothEnableContactSharing field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileBluetoothEnableContactSharing field changed
      • withWorkProfileDataSharingType

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileDataSharingType​(AndroidWorkProfileCrossProfileDataSharingType workProfileDataSharingType)
        Returns an immutable copy of this with just the workProfileDataSharingType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Type of data sharing that is allowed.”

        Parameters:
        workProfileDataSharingType - new value of workProfileDataSharingType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileDataSharingType field changed
      • withWorkProfileDefaultAppPermissionPolicy

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileDefaultAppPermissionPolicy​(AndroidWorkProfileDefaultAppPermissionPolicyType workProfileDefaultAppPermissionPolicy)
        Returns an immutable copy of this with just the workProfileDefaultAppPermissionPolicy field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Type of password that is required.”

        Parameters:
        workProfileDefaultAppPermissionPolicy - new value of workProfileDefaultAppPermissionPolicy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileDefaultAppPermissionPolicy field changed
      • getWorkProfilePasswordBlockFingerprintUnlock

        public Optional<Boolean> getWorkProfilePasswordBlockFingerprintUnlock()
        “Indicates whether or not to block fingerprint unlock for work profile.”
        Returns:
        property workProfilePasswordBlockFingerprintUnlock
      • withWorkProfilePasswordBlockFingerprintUnlock

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordBlockFingerprintUnlock​(Boolean workProfilePasswordBlockFingerprintUnlock)
        Returns an immutable copy of this with just the workProfilePasswordBlockFingerprintUnlock field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether or not to block fingerprint unlock for work profile.”

        Parameters:
        workProfilePasswordBlockFingerprintUnlock - new value of workProfilePasswordBlockFingerprintUnlock field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordBlockFingerprintUnlock field changed
      • getWorkProfilePasswordBlockTrustAgents

        public Optional<Boolean> getWorkProfilePasswordBlockTrustAgents()
        “Indicates whether or not to block Smart Lock and other trust agents for work profile.”
        Returns:
        property workProfilePasswordBlockTrustAgents
      • withWorkProfilePasswordBlockTrustAgents

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordBlockTrustAgents​(Boolean workProfilePasswordBlockTrustAgents)
        Returns an immutable copy of this with just the workProfilePasswordBlockTrustAgents field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates whether or not to block Smart Lock and other trust agents for work profile.”

        Parameters:
        workProfilePasswordBlockTrustAgents - new value of workProfilePasswordBlockTrustAgents field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordBlockTrustAgents field changed
      • getWorkProfilePasswordExpirationDays

        public Optional<Integer> getWorkProfilePasswordExpirationDays()
        “Number of days before the work profile password expires. Valid values 1 to 365”
        Returns:
        property workProfilePasswordExpirationDays
      • withWorkProfilePasswordExpirationDays

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordExpirationDays​(Integer workProfilePasswordExpirationDays)
        Returns an immutable copy of this with just the workProfilePasswordExpirationDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of days before the work profile password expires. Valid values 1 to 365”

        Parameters:
        workProfilePasswordExpirationDays - new value of workProfilePasswordExpirationDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordExpirationDays field changed
      • getWorkProfilePasswordMinimumLength

        public Optional<Integer> getWorkProfilePasswordMinimumLength()
        “Minimum length of work profile password. Valid values 4 to 16”
        Returns:
        property workProfilePasswordMinimumLength
      • withWorkProfilePasswordMinimumLength

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinimumLength​(Integer workProfilePasswordMinimumLength)
        Returns an immutable copy of this with just the workProfilePasswordMinimumLength field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum length of work profile password. Valid values 4 to 16”

        Parameters:
        workProfilePasswordMinimumLength - new value of workProfilePasswordMinimumLength field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinimumLength field changed
      • getWorkProfilePasswordMinLetterCharacters

        public Optional<Integer> getWorkProfilePasswordMinLetterCharacters()
        “Minimum # of letter characters required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinLetterCharacters
      • withWorkProfilePasswordMinLetterCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinLetterCharacters​(Integer workProfilePasswordMinLetterCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinLetterCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of letter characters required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinLetterCharacters - new value of workProfilePasswordMinLetterCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinLetterCharacters field changed
      • getWorkProfilePasswordMinLowerCaseCharacters

        public Optional<Integer> getWorkProfilePasswordMinLowerCaseCharacters()
        “Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinLowerCaseCharacters
      • withWorkProfilePasswordMinLowerCaseCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinLowerCaseCharacters​(Integer workProfilePasswordMinLowerCaseCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinLowerCaseCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinLowerCaseCharacters - new value of workProfilePasswordMinLowerCaseCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinLowerCaseCharacters field changed
      • getWorkProfilePasswordMinNonLetterCharacters

        public Optional<Integer> getWorkProfilePasswordMinNonLetterCharacters()
        “Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinNonLetterCharacters
      • withWorkProfilePasswordMinNonLetterCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinNonLetterCharacters​(Integer workProfilePasswordMinNonLetterCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinNonLetterCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinNonLetterCharacters - new value of workProfilePasswordMinNonLetterCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinNonLetterCharacters field changed
      • getWorkProfilePasswordMinNumericCharacters

        public Optional<Integer> getWorkProfilePasswordMinNumericCharacters()
        “Minimum # of numeric characters required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinNumericCharacters
      • withWorkProfilePasswordMinNumericCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinNumericCharacters​(Integer workProfilePasswordMinNumericCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinNumericCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of numeric characters required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinNumericCharacters - new value of workProfilePasswordMinNumericCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinNumericCharacters field changed
      • getWorkProfilePasswordMinSymbolCharacters

        public Optional<Integer> getWorkProfilePasswordMinSymbolCharacters()
        “Minimum # of symbols required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinSymbolCharacters
      • withWorkProfilePasswordMinSymbolCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinSymbolCharacters​(Integer workProfilePasswordMinSymbolCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinSymbolCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of symbols required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinSymbolCharacters - new value of workProfilePasswordMinSymbolCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinSymbolCharacters field changed
      • getWorkProfilePasswordMinUpperCaseCharacters

        public Optional<Integer> getWorkProfilePasswordMinUpperCaseCharacters()
        “Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”
        Returns:
        property workProfilePasswordMinUpperCaseCharacters
      • withWorkProfilePasswordMinUpperCaseCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinUpperCaseCharacters​(Integer workProfilePasswordMinUpperCaseCharacters)
        Returns an immutable copy of this with just the workProfilePasswordMinUpperCaseCharacters field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”

        Parameters:
        workProfilePasswordMinUpperCaseCharacters - new value of workProfilePasswordMinUpperCaseCharacters field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinUpperCaseCharacters field changed
      • getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout

        public Optional<Integer> getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout()
        “Minutes of inactivity before the screen times out.”
        Returns:
        property workProfilePasswordMinutesOfInactivityBeforeScreenTimeout
      • withWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout​(Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout)
        Returns an immutable copy of this with just the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minutes of inactivity before the screen times out.”

        Parameters:
        workProfilePasswordMinutesOfInactivityBeforeScreenTimeout - new value of workProfilePasswordMinutesOfInactivityBeforeScreenTimeout field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout field changed
      • getWorkProfilePasswordPreviousPasswordBlockCount

        public Optional<Integer> getWorkProfilePasswordPreviousPasswordBlockCount()
        “Number of previous work profile passwords to block. Valid values 0 to 24”
        Returns:
        property workProfilePasswordPreviousPasswordBlockCount
      • withWorkProfilePasswordPreviousPasswordBlockCount

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordPreviousPasswordBlockCount​(Integer workProfilePasswordPreviousPasswordBlockCount)
        Returns an immutable copy of this with just the workProfilePasswordPreviousPasswordBlockCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of previous work profile passwords to block. Valid values 0 to 24”

        Parameters:
        workProfilePasswordPreviousPasswordBlockCount - new value of workProfilePasswordPreviousPasswordBlockCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordPreviousPasswordBlockCount field changed
      • getWorkProfilePasswordRequiredType

        public Optional<AndroidWorkProfileRequiredPasswordType> getWorkProfilePasswordRequiredType()
        “Type of work profile password that is required.”
        Returns:
        property workProfilePasswordRequiredType
      • withWorkProfilePasswordRequiredType

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordRequiredType​(AndroidWorkProfileRequiredPasswordType workProfilePasswordRequiredType)
        Returns an immutable copy of this with just the workProfilePasswordRequiredType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Type of work profile password that is required.”

        Parameters:
        workProfilePasswordRequiredType - new value of workProfilePasswordRequiredType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordRequiredType field changed
      • getWorkProfilePasswordSignInFailureCountBeforeFactoryReset

        public Optional<Integer> getWorkProfilePasswordSignInFailureCountBeforeFactoryReset()
        “Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”
        Returns:
        property workProfilePasswordSignInFailureCountBeforeFactoryReset
      • withWorkProfilePasswordSignInFailureCountBeforeFactoryReset

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfilePasswordSignInFailureCountBeforeFactoryReset​(Integer workProfilePasswordSignInFailureCountBeforeFactoryReset)
        Returns an immutable copy of this with just the workProfilePasswordSignInFailureCountBeforeFactoryReset field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”

        Parameters:
        workProfilePasswordSignInFailureCountBeforeFactoryReset - new value of workProfilePasswordSignInFailureCountBeforeFactoryReset field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfilePasswordSignInFailureCountBeforeFactoryReset field changed
      • getWorkProfileRequirePassword

        public Optional<Boolean> getWorkProfileRequirePassword()
        “Password is required or not for work profile”
        Returns:
        property workProfileRequirePassword
      • withWorkProfileRequirePassword

        public AndroidWorkProfileGeneralDeviceConfiguration withWorkProfileRequirePassword​(Boolean workProfileRequirePassword)
        Returns an immutable copy of this with just the workProfileRequirePassword field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Password is required or not for work profile”

        Parameters:
        workProfileRequirePassword - new value of workProfileRequirePassword field (as defined in service metadata)
        Returns:
        immutable copy of this with just the workProfileRequirePassword field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public AndroidWorkProfileGeneralDeviceConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public AndroidWorkProfileGeneralDeviceConfiguration put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected