Class AndroidGeneralDeviceConfiguration

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

    public class AndroidGeneralDeviceConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “This topic provides descriptions of the declared methods, properties and relationships exposed by the androidGeneralDeviceConfiguration resource.”
    • Field Detail

      • appsBlockClipboardSharing

        protected Boolean appsBlockClipboardSharing
      • appsBlockCopyPaste

        protected Boolean appsBlockCopyPaste
      • appsBlockYouTube

        protected Boolean appsBlockYouTube
      • appsHideListNextLink

        protected String appsHideListNextLink
      • appsInstallAllowListNextLink

        protected String appsInstallAllowListNextLink
      • appsLaunchBlockListNextLink

        protected String appsLaunchBlockListNextLink
      • bluetoothBlocked

        protected Boolean bluetoothBlocked
      • cameraBlocked

        protected Boolean cameraBlocked
      • cellularBlockDataRoaming

        protected Boolean cellularBlockDataRoaming
      • cellularBlockMessaging

        protected Boolean cellularBlockMessaging
      • cellularBlockVoiceRoaming

        protected Boolean cellularBlockVoiceRoaming
      • cellularBlockWiFiTethering

        protected Boolean cellularBlockWiFiTethering
      • compliantAppListType

        protected AppListType compliantAppListType
      • compliantAppsListNextLink

        protected String compliantAppsListNextLink
      • deviceSharingAllowed

        protected Boolean deviceSharingAllowed
      • diagnosticDataBlockSubmission

        protected Boolean diagnosticDataBlockSubmission
      • factoryResetBlocked

        protected Boolean factoryResetBlocked
      • googleAccountBlockAutoSync

        protected Boolean googleAccountBlockAutoSync
      • googlePlayStoreBlocked

        protected Boolean googlePlayStoreBlocked
      • kioskModeAppsNextLink

        protected String kioskModeAppsNextLink
      • kioskModeBlockSleepButton

        protected Boolean kioskModeBlockSleepButton
      • kioskModeBlockVolumeButtons

        protected Boolean kioskModeBlockVolumeButtons
      • locationServicesBlocked

        protected Boolean locationServicesBlocked
      • nfcBlocked

        protected Boolean nfcBlocked
      • passwordBlockFingerprintUnlock

        protected Boolean passwordBlockFingerprintUnlock
      • passwordBlockTrustAgents

        protected Boolean passwordBlockTrustAgents
      • passwordExpirationDays

        protected Integer passwordExpirationDays
      • passwordMinimumLength

        protected Integer passwordMinimumLength
      • passwordMinutesOfInactivityBeforeScreenTimeout

        protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
      • passwordPreviousPasswordBlockCount

        protected Integer passwordPreviousPasswordBlockCount
      • passwordRequired

        protected Boolean passwordRequired
      • passwordSignInFailureCountBeforeFactoryReset

        protected Integer passwordSignInFailureCountBeforeFactoryReset
      • powerOffBlocked

        protected Boolean powerOffBlocked
      • screenCaptureBlocked

        protected Boolean screenCaptureBlocked
      • securityRequireVerifyApps

        protected Boolean securityRequireVerifyApps
      • storageBlockGoogleBackup

        protected Boolean storageBlockGoogleBackup
      • storageBlockRemovableStorage

        protected Boolean storageBlockRemovableStorage
      • storageRequireDeviceEncryption

        protected Boolean storageRequireDeviceEncryption
      • storageRequireRemovableStorageEncryption

        protected Boolean storageRequireRemovableStorageEncryption
      • voiceAssistantBlocked

        protected Boolean voiceAssistantBlocked
      • voiceDialingBlocked

        protected Boolean voiceDialingBlocked
      • webBrowserBlockAutofill

        protected Boolean webBrowserBlockAutofill
      • webBrowserBlocked

        protected Boolean webBrowserBlocked
      • webBrowserBlockJavaScript

        protected Boolean webBrowserBlockJavaScript
      • webBrowserBlockPopups

        protected Boolean webBrowserBlockPopups
      • wiFiBlocked

        protected Boolean wiFiBlocked
    • Constructor Detail

      • AndroidGeneralDeviceConfiguration

        protected AndroidGeneralDeviceConfiguration()
    • Method Detail

      • odataTypeName

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

        public static AndroidGeneralDeviceConfiguration.Builder builderAndroidGeneralDeviceConfiguration()
        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
      • getAppsBlockClipboardSharing

        public Optional<Boolean> getAppsBlockClipboardSharing()
        “Indicates whether or not to block clipboard sharing to copy and paste between applications.”
        Returns:
        property appsBlockClipboardSharing
      • withAppsBlockClipboardSharing

        public AndroidGeneralDeviceConfiguration withAppsBlockClipboardSharing​(Boolean appsBlockClipboardSharing)
        Returns an immutable copy of this with just the appsBlockClipboardSharing 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 clipboard sharing to copy and paste between applications.”

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

        public Optional<Boolean> getAppsBlockCopyPaste()
        “Indicates whether or not to block copy and paste within applications.”
        Returns:
        property appsBlockCopyPaste
      • withAppsBlockCopyPaste

        public AndroidGeneralDeviceConfiguration withAppsBlockCopyPaste​(Boolean appsBlockCopyPaste)
        Returns an immutable copy of this with just the appsBlockCopyPaste 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 copy and paste within applications.”

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

        public Optional<Boolean> getAppsBlockYouTube()
        “Indicates whether or not to block the YouTube app.”
        Returns:
        property appsBlockYouTube
      • withAppsBlockYouTube

        public AndroidGeneralDeviceConfiguration withAppsBlockYouTube​(Boolean appsBlockYouTube)
        Returns an immutable copy of this with just the appsBlockYouTube 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 the YouTube app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsHideList()
        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”
        Returns:
        property appsHideList
      • withAppsHideList

        public AndroidGeneralDeviceConfiguration withAppsHideList​(List<AppListItem> appsHideList)
        Returns an immutable copy of this with just the appsHideList 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.

        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsHideList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property appsHideList
      • getAppsInstallAllowList

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsInstallAllowList()
        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”
        Returns:
        property appsInstallAllowList
      • withAppsInstallAllowList

        public AndroidGeneralDeviceConfiguration withAppsInstallAllowList​(List<AppListItem> appsInstallAllowList)
        Returns an immutable copy of this with just the appsInstallAllowList 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.

        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsInstallAllowList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property appsInstallAllowList
      • getAppsLaunchBlockList

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsLaunchBlockList()
        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”
        Returns:
        property appsLaunchBlockList
      • withAppsLaunchBlockList

        public AndroidGeneralDeviceConfiguration withAppsLaunchBlockList​(List<AppListItem> appsLaunchBlockList)
        Returns an immutable copy of this with just the appsLaunchBlockList 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.

        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getAppsLaunchBlockList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property appsLaunchBlockList
      • getBluetoothBlocked

        public Optional<Boolean> getBluetoothBlocked()
        “Indicates whether or not to block Bluetooth.”
        Returns:
        property bluetoothBlocked
      • withBluetoothBlocked

        public AndroidGeneralDeviceConfiguration withBluetoothBlocked​(Boolean bluetoothBlocked)
        Returns an immutable copy of this with just the bluetoothBlocked 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 Bluetooth.”

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

        public Optional<Boolean> getCameraBlocked()
        “Indicates whether or not to block the use of the camera.”
        Returns:
        property cameraBlocked
      • withCameraBlocked

        public AndroidGeneralDeviceConfiguration withCameraBlocked​(Boolean cameraBlocked)
        Returns an immutable copy of this with just the cameraBlocked 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 the use of the camera.”

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

        public Optional<Boolean> getCellularBlockDataRoaming()
        “Indicates whether or not to block data roaming.”
        Returns:
        property cellularBlockDataRoaming
      • withCellularBlockDataRoaming

        public AndroidGeneralDeviceConfiguration withCellularBlockDataRoaming​(Boolean cellularBlockDataRoaming)
        Returns an immutable copy of this with just the cellularBlockDataRoaming 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 data roaming.”

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

        public Optional<Boolean> getCellularBlockMessaging()
        “Indicates whether or not to block SMS/MMS messaging.”
        Returns:
        property cellularBlockMessaging
      • withCellularBlockMessaging

        public AndroidGeneralDeviceConfiguration withCellularBlockMessaging​(Boolean cellularBlockMessaging)
        Returns an immutable copy of this with just the cellularBlockMessaging 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 SMS/MMS messaging.”

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

        public Optional<Boolean> getCellularBlockVoiceRoaming()
        “Indicates whether or not to block voice roaming.”
        Returns:
        property cellularBlockVoiceRoaming
      • withCellularBlockVoiceRoaming

        public AndroidGeneralDeviceConfiguration withCellularBlockVoiceRoaming​(Boolean cellularBlockVoiceRoaming)
        Returns an immutable copy of this with just the cellularBlockVoiceRoaming 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 voice roaming.”

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

        public Optional<Boolean> getCellularBlockWiFiTethering()
        “Indicates whether or not to block syncing Wi-Fi tethering.”
        Returns:
        property cellularBlockWiFiTethering
      • withCellularBlockWiFiTethering

        public AndroidGeneralDeviceConfiguration withCellularBlockWiFiTethering​(Boolean cellularBlockWiFiTethering)
        Returns an immutable copy of this with just the cellularBlockWiFiTethering 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 syncing Wi-Fi tethering.”

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

        public Optional<AppListType> getCompliantAppListType()
        “Type of list that is in the CompliantAppsList.”
        Returns:
        property compliantAppListType
      • withCompliantAppListType

        public AndroidGeneralDeviceConfiguration withCompliantAppListType​(AppListType compliantAppListType)
        Returns an immutable copy of this with just the compliantAppListType 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 list that is in the CompliantAppsList.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList()
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Returns:
        property compliantAppsList
      • withCompliantAppsList

        public AndroidGeneralDeviceConfiguration withCompliantAppsList​(List<AppListItem> compliantAppsList)
        Returns an immutable copy of this with just the compliantAppsList 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.

        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property compliantAppsList
      • getDeviceSharingAllowed

        public Optional<Boolean> getDeviceSharingAllowed()
        “Indicates whether or not to allow device sharing mode.”
        Returns:
        property deviceSharingAllowed
      • withDeviceSharingAllowed

        public AndroidGeneralDeviceConfiguration withDeviceSharingAllowed​(Boolean deviceSharingAllowed)
        Returns an immutable copy of this with just the deviceSharingAllowed 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 allow device sharing mode.”

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

        public Optional<Boolean> getDiagnosticDataBlockSubmission()
        “Indicates whether or not to block diagnostic data submission.”
        Returns:
        property diagnosticDataBlockSubmission
      • withDiagnosticDataBlockSubmission

        public AndroidGeneralDeviceConfiguration withDiagnosticDataBlockSubmission​(Boolean diagnosticDataBlockSubmission)
        Returns an immutable copy of this with just the diagnosticDataBlockSubmission 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 diagnostic data submission.”

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

        public Optional<Boolean> getFactoryResetBlocked()
        “Indicates whether or not to block user performing a factory reset.”
        Returns:
        property factoryResetBlocked
      • withFactoryResetBlocked

        public AndroidGeneralDeviceConfiguration withFactoryResetBlocked​(Boolean factoryResetBlocked)
        Returns an immutable copy of this with just the factoryResetBlocked 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 user performing a factory reset.”

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

        public Optional<Boolean> getGoogleAccountBlockAutoSync()
        “Indicates whether or not to block Google account auto sync.”
        Returns:
        property googleAccountBlockAutoSync
      • withGoogleAccountBlockAutoSync

        public AndroidGeneralDeviceConfiguration withGoogleAccountBlockAutoSync​(Boolean googleAccountBlockAutoSync)
        Returns an immutable copy of this with just the googleAccountBlockAutoSync 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 Google account auto sync.”

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

        public Optional<Boolean> getGooglePlayStoreBlocked()
        “Indicates whether or not to block the Google Play store.”
        Returns:
        property googlePlayStoreBlocked
      • withGooglePlayStoreBlocked

        public AndroidGeneralDeviceConfiguration withGooglePlayStoreBlocked​(Boolean googlePlayStoreBlocked)
        Returns an immutable copy of this with just the googlePlayStoreBlocked 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 the Google Play store.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getKioskModeApps()
        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”
        Returns:
        property kioskModeApps
      • withKioskModeApps

        public AndroidGeneralDeviceConfiguration withKioskModeApps​(List<AppListItem> kioskModeApps)
        Returns an immutable copy of this with just the kioskModeApps 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.

        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getKioskModeApps​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property kioskModeApps
      • getKioskModeBlockSleepButton

        public Optional<Boolean> getKioskModeBlockSleepButton()
        “Indicates whether or not to block the screen sleep button while in Kiosk Mode.”
        Returns:
        property kioskModeBlockSleepButton
      • withKioskModeBlockSleepButton

        public AndroidGeneralDeviceConfiguration withKioskModeBlockSleepButton​(Boolean kioskModeBlockSleepButton)
        Returns an immutable copy of this with just the kioskModeBlockSleepButton 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 the screen sleep button while in Kiosk Mode.”

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

        public Optional<Boolean> getKioskModeBlockVolumeButtons()
        “Indicates whether or not to block the volume buttons while in Kiosk Mode.”
        Returns:
        property kioskModeBlockVolumeButtons
      • withKioskModeBlockVolumeButtons

        public AndroidGeneralDeviceConfiguration withKioskModeBlockVolumeButtons​(Boolean kioskModeBlockVolumeButtons)
        Returns an immutable copy of this with just the kioskModeBlockVolumeButtons 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 the volume buttons while in Kiosk Mode.”

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

        public Optional<Boolean> getLocationServicesBlocked()
        “Indicates whether or not to block location services.”
        Returns:
        property locationServicesBlocked
      • withLocationServicesBlocked

        public AndroidGeneralDeviceConfiguration withLocationServicesBlocked​(Boolean locationServicesBlocked)
        Returns an immutable copy of this with just the locationServicesBlocked 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 location services.”

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

        public Optional<Boolean> getNfcBlocked()
        “Indicates whether or not to block Near-Field Communication.”
        Returns:
        property nfcBlocked
      • withNfcBlocked

        public AndroidGeneralDeviceConfiguration withNfcBlocked​(Boolean nfcBlocked)
        Returns an immutable copy of this with just the nfcBlocked 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 Near-Field Communication.”

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

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

        public AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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
      • getPasswordRequired

        public Optional<Boolean> getPasswordRequired()
        “Indicates whether or not to require a password.”
        Returns:
        property passwordRequired
      • withPasswordRequired

        public AndroidGeneralDeviceConfiguration withPasswordRequired​(Boolean passwordRequired)
        Returns an immutable copy of this with just the passwordRequired 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 require a password.”

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

        public Optional<AndroidRequiredPasswordType> getPasswordRequiredType()
        “Type of password that is required.”
        Returns:
        property passwordRequiredType
      • withPasswordRequiredType

        public AndroidGeneralDeviceConfiguration withPasswordRequiredType​(AndroidRequiredPasswordType 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 AndroidGeneralDeviceConfiguration 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
      • getPowerOffBlocked

        public Optional<Boolean> getPowerOffBlocked()
        “Indicates whether or not to block powering off the device.”
        Returns:
        property powerOffBlocked
      • withPowerOffBlocked

        public AndroidGeneralDeviceConfiguration withPowerOffBlocked​(Boolean powerOffBlocked)
        Returns an immutable copy of this with just the powerOffBlocked 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 powering off the device.”

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

        public Optional<Boolean> getScreenCaptureBlocked()
        “Indicates whether or not to block screenshots.”
        Returns:
        property screenCaptureBlocked
      • withScreenCaptureBlocked

        public AndroidGeneralDeviceConfiguration withScreenCaptureBlocked​(Boolean screenCaptureBlocked)
        Returns an immutable copy of this with just the screenCaptureBlocked 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 screenshots.”

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

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

        public AndroidGeneralDeviceConfiguration 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
      • getStorageBlockGoogleBackup

        public Optional<Boolean> getStorageBlockGoogleBackup()
        “Indicates whether or not to block Google Backup.”
        Returns:
        property storageBlockGoogleBackup
      • withStorageBlockGoogleBackup

        public AndroidGeneralDeviceConfiguration withStorageBlockGoogleBackup​(Boolean storageBlockGoogleBackup)
        Returns an immutable copy of this with just the storageBlockGoogleBackup 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 Google Backup.”

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

        public Optional<Boolean> getStorageBlockRemovableStorage()
        “Indicates whether or not to block removable storage usage.”
        Returns:
        property storageBlockRemovableStorage
      • withStorageBlockRemovableStorage

        public AndroidGeneralDeviceConfiguration withStorageBlockRemovableStorage​(Boolean storageBlockRemovableStorage)
        Returns an immutable copy of this with just the storageBlockRemovableStorage 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 removable storage usage.”

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

        public Optional<Boolean> getStorageRequireDeviceEncryption()
        “Indicates whether or not to require device encryption.”
        Returns:
        property storageRequireDeviceEncryption
      • withStorageRequireDeviceEncryption

        public AndroidGeneralDeviceConfiguration withStorageRequireDeviceEncryption​(Boolean storageRequireDeviceEncryption)
        Returns an immutable copy of this with just the storageRequireDeviceEncryption 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 require device encryption.”

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

        public Optional<Boolean> getStorageRequireRemovableStorageEncryption()
        “Indicates whether or not to require removable storage encryption.”
        Returns:
        property storageRequireRemovableStorageEncryption
      • withStorageRequireRemovableStorageEncryption

        public AndroidGeneralDeviceConfiguration withStorageRequireRemovableStorageEncryption​(Boolean storageRequireRemovableStorageEncryption)
        Returns an immutable copy of this with just the storageRequireRemovableStorageEncryption 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 require removable storage encryption.”

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

        public Optional<Boolean> getVoiceAssistantBlocked()
        “Indicates whether or not to block the use of the Voice Assistant.”
        Returns:
        property voiceAssistantBlocked
      • withVoiceAssistantBlocked

        public AndroidGeneralDeviceConfiguration withVoiceAssistantBlocked​(Boolean voiceAssistantBlocked)
        Returns an immutable copy of this with just the voiceAssistantBlocked 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 the use of the Voice Assistant.”

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

        public Optional<Boolean> getVoiceDialingBlocked()
        “Indicates whether or not to block voice dialing.”
        Returns:
        property voiceDialingBlocked
      • withVoiceDialingBlocked

        public AndroidGeneralDeviceConfiguration withVoiceDialingBlocked​(Boolean voiceDialingBlocked)
        Returns an immutable copy of this with just the voiceDialingBlocked 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 voice dialing.”

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

        public Optional<Boolean> getWebBrowserBlockAutofill()
        “Indicates whether or not to block the web browser's auto fill feature.”
        Returns:
        property webBrowserBlockAutofill
      • withWebBrowserBlockAutofill

        public AndroidGeneralDeviceConfiguration withWebBrowserBlockAutofill​(Boolean webBrowserBlockAutofill)
        Returns an immutable copy of this with just the webBrowserBlockAutofill 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 the web browser's auto fill feature.”

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

        public Optional<Boolean> getWebBrowserBlocked()
        “Indicates whether or not to block the web browser.”
        Returns:
        property webBrowserBlocked
      • withWebBrowserBlocked

        public AndroidGeneralDeviceConfiguration withWebBrowserBlocked​(Boolean webBrowserBlocked)
        Returns an immutable copy of this with just the webBrowserBlocked 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 the web browser.”

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

        public Optional<Boolean> getWebBrowserBlockJavaScript()
        “Indicates whether or not to block JavaScript within the web browser.”
        Returns:
        property webBrowserBlockJavaScript
      • withWebBrowserBlockJavaScript

        public AndroidGeneralDeviceConfiguration withWebBrowserBlockJavaScript​(Boolean webBrowserBlockJavaScript)
        Returns an immutable copy of this with just the webBrowserBlockJavaScript 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 JavaScript within the web browser.”

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

        public Optional<Boolean> getWebBrowserBlockPopups()
        “Indicates whether or not to block popups within the web browser.”
        Returns:
        property webBrowserBlockPopups
      • withWebBrowserBlockPopups

        public AndroidGeneralDeviceConfiguration withWebBrowserBlockPopups​(Boolean webBrowserBlockPopups)
        Returns an immutable copy of this with just the webBrowserBlockPopups 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 popups within the web browser.”

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

        public Optional<WebBrowserCookieSettings> getWebBrowserCookieSettings()
        “Cookie settings within the web browser.”
        Returns:
        property webBrowserCookieSettings
      • withWebBrowserCookieSettings

        public AndroidGeneralDeviceConfiguration withWebBrowserCookieSettings​(WebBrowserCookieSettings webBrowserCookieSettings)
        Returns an immutable copy of this with just the webBrowserCookieSettings 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.

        “Cookie settings within the web browser.”

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

        public Optional<Boolean> getWiFiBlocked()
        “Indicates whether or not to block syncing Wi-Fi.”
        Returns:
        property wiFiBlocked
      • withWiFiBlocked

        public AndroidGeneralDeviceConfiguration withWiFiBlocked​(Boolean wiFiBlocked)
        Returns an immutable copy of this with just the wiFiBlocked 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 syncing Wi-Fi.”

        Parameters:
        wiFiBlocked - new value of wiFiBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the wiFiBlocked 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 AndroidGeneralDeviceConfiguration 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 AndroidGeneralDeviceConfiguration 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