Class ManagedAppProtection

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    DefaultManagedAppProtection, TargetedManagedAppProtection

    public class ManagedAppProtection
    extends ManagedAppPolicy
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Policy used to configure detailed management settings for a specified set of apps”
    • Field Detail

      • allowedDataStorageLocationsNextLink

        protected String allowedDataStorageLocationsNextLink
      • contactSyncBlocked

        protected Boolean contactSyncBlocked
      • dataBackupBlocked

        protected Boolean dataBackupBlocked
      • deviceComplianceRequired

        protected Boolean deviceComplianceRequired
      • disableAppPinIfDevicePinIsSet

        protected Boolean disableAppPinIfDevicePinIsSet
      • fingerprintBlocked

        protected Boolean fingerprintBlocked
      • managedBrowserToOpenLinksRequired

        protected Boolean managedBrowserToOpenLinksRequired
      • maximumPinRetries

        protected Integer maximumPinRetries
      • minimumPinLength

        protected Integer minimumPinLength
      • minimumRequiredAppVersion

        protected String minimumRequiredAppVersion
      • minimumRequiredOsVersion

        protected String minimumRequiredOsVersion
      • minimumWarningAppVersion

        protected String minimumWarningAppVersion
      • minimumWarningOsVersion

        protected String minimumWarningOsVersion
      • organizationalCredentialsRequired

        protected Boolean organizationalCredentialsRequired
      • periodBeforePinReset

        protected Duration periodBeforePinReset
      • periodOfflineBeforeAccessCheck

        protected Duration periodOfflineBeforeAccessCheck
      • periodOfflineBeforeWipeIsEnforced

        protected Duration periodOfflineBeforeWipeIsEnforced
      • periodOnlineBeforeAccessCheck

        protected Duration periodOnlineBeforeAccessCheck
      • pinRequired

        protected Boolean pinRequired
      • printBlocked

        protected Boolean printBlocked
      • saveAsBlocked

        protected Boolean saveAsBlocked
      • simplePinBlocked

        protected Boolean simplePinBlocked
    • Constructor Detail

      • ManagedAppProtection

        protected ManagedAppProtection()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class ManagedAppPolicy
      • 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 ManagedAppPolicy
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation> getAllowedDataStorageLocations()
        “Data storage locations where a user may store managed data.”
        Returns:
        property allowedDataStorageLocations
      • withAllowedDataStorageLocations

        public ManagedAppProtection withAllowedDataStorageLocations​(List<ManagedAppDataStorageLocation> allowedDataStorageLocations)
        Returns an immutable copy of this with just the allowedDataStorageLocations 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.

        “Data storage locations where a user may store managed data.”

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

        public com.github.davidmoten.odata.client.CollectionPage<ManagedAppDataStorageLocation> getAllowedDataStorageLocations​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Data storage locations where a user may store managed data.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property allowedDataStorageLocations
      • getAllowedInboundDataTransferSources

        public Optional<ManagedAppDataTransferLevel> getAllowedInboundDataTransferSources()
        “Sources from which data is allowed to be transferred.”
        Returns:
        property allowedInboundDataTransferSources
      • withAllowedInboundDataTransferSources

        public ManagedAppProtection withAllowedInboundDataTransferSources​(ManagedAppDataTransferLevel allowedInboundDataTransferSources)
        Returns an immutable copy of this with just the allowedInboundDataTransferSources 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.

        “Sources from which data is allowed to be transferred.”

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

        public Optional<ManagedAppClipboardSharingLevel> getAllowedOutboundClipboardSharingLevel()
        “The level to which the clipboard may be shared between apps on the managed device.”
        Returns:
        property allowedOutboundClipboardSharingLevel
      • withAllowedOutboundClipboardSharingLevel

        public ManagedAppProtection withAllowedOutboundClipboardSharingLevel​(ManagedAppClipboardSharingLevel allowedOutboundClipboardSharingLevel)
        Returns an immutable copy of this with just the allowedOutboundClipboardSharingLevel 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.

        “The level to which the clipboard may be shared between apps on the managed device.”

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

        public Optional<ManagedAppDataTransferLevel> getAllowedOutboundDataTransferDestinations()
        “Destinations to which data is allowed to be transferred.”
        Returns:
        property allowedOutboundDataTransferDestinations
      • withAllowedOutboundDataTransferDestinations

        public ManagedAppProtection withAllowedOutboundDataTransferDestinations​(ManagedAppDataTransferLevel allowedOutboundDataTransferDestinations)
        Returns an immutable copy of this with just the allowedOutboundDataTransferDestinations 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.

        “Destinations to which data is allowed to be transferred.”

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

        public Optional<Boolean> getContactSyncBlocked()
        “Indicates whether contacts can be synced to the user's device.”
        Returns:
        property contactSyncBlocked
      • withContactSyncBlocked

        public ManagedAppProtection withContactSyncBlocked​(Boolean contactSyncBlocked)
        Returns an immutable copy of this with just the contactSyncBlocked 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 contacts can be synced to the user's device.”

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

        public Optional<Boolean> getDataBackupBlocked()
        “Indicates whether the backup of a managed app's data is blocked.”
        Returns:
        property dataBackupBlocked
      • withDataBackupBlocked

        public ManagedAppProtection withDataBackupBlocked​(Boolean dataBackupBlocked)
        Returns an immutable copy of this with just the dataBackupBlocked 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 the backup of a managed app's data is blocked.”

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

        public Optional<Boolean> getDeviceComplianceRequired()
        “Indicates whether device compliance is required.”
        Returns:
        property deviceComplianceRequired
      • withDeviceComplianceRequired

        public ManagedAppProtection withDeviceComplianceRequired​(Boolean deviceComplianceRequired)
        Returns an immutable copy of this with just the deviceComplianceRequired 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 device compliance is required.”

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

        public Optional<Boolean> getDisableAppPinIfDevicePinIsSet()
        “Indicates whether use of the app pin is required if the device pin is set.”
        Returns:
        property disableAppPinIfDevicePinIsSet
      • withDisableAppPinIfDevicePinIsSet

        public ManagedAppProtection withDisableAppPinIfDevicePinIsSet​(Boolean disableAppPinIfDevicePinIsSet)
        Returns an immutable copy of this with just the disableAppPinIfDevicePinIsSet 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 use of the app pin is required if the device pin is set.”

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

        public Optional<Boolean> getFingerprintBlocked()
        “Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.”
        Returns:
        property fingerprintBlocked
      • withFingerprintBlocked

        public ManagedAppProtection withFingerprintBlocked​(Boolean fingerprintBlocked)
        Returns an immutable copy of this with just the fingerprintBlocked 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 use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.”

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

        public Optional<ManagedBrowserType> getManagedBrowser()
        “Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
        Returns:
        property managedBrowser
      • withManagedBrowser

        public ManagedAppProtection withManagedBrowser​(ManagedBrowserType managedBrowser)
        Returns an immutable copy of this with just the managedBrowser 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 in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”

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

        public Optional<Boolean> getManagedBrowserToOpenLinksRequired()
        “Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)”
        Returns:
        property managedBrowserToOpenLinksRequired
      • withManagedBrowserToOpenLinksRequired

        public ManagedAppProtection withManagedBrowserToOpenLinksRequired​(Boolean managedBrowserToOpenLinksRequired)
        Returns an immutable copy of this with just the managedBrowserToOpenLinksRequired 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 internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)”

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

        public Optional<Integer> getMaximumPinRetries()
        “Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”
        Returns:
        property maximumPinRetries
      • withMaximumPinRetries

        public ManagedAppProtection withMaximumPinRetries​(Integer maximumPinRetries)
        Returns an immutable copy of this with just the maximumPinRetries 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.

        “Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.”

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

        public Optional<Integer> getMinimumPinLength()
        “Minimum pin length required for an app-level pin if PinRequired is set to True”
        Returns:
        property minimumPinLength
      • withMinimumPinLength

        public ManagedAppProtection withMinimumPinLength​(Integer minimumPinLength)
        Returns an immutable copy of this with just the minimumPinLength 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 pin length required for an app-level pin if PinRequired is set to True”

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

        public Optional<String> getMinimumRequiredAppVersion()
        “Versions less than the specified version will block the managed app from accessing company data.”
        Returns:
        property minimumRequiredAppVersion
      • withMinimumRequiredAppVersion

        public ManagedAppProtection withMinimumRequiredAppVersion​(String minimumRequiredAppVersion)
        Returns an immutable copy of this with just the minimumRequiredAppVersion 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.

        “Versions less than the specified version will block the managed app from accessing company data.”

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

        public Optional<String> getMinimumRequiredOsVersion()
        “Versions less than the specified version will block the managed app from accessing company data.”
        Returns:
        property minimumRequiredOsVersion
      • withMinimumRequiredOsVersion

        public ManagedAppProtection withMinimumRequiredOsVersion​(String minimumRequiredOsVersion)
        Returns an immutable copy of this with just the minimumRequiredOsVersion 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.

        “Versions less than the specified version will block the managed app from accessing company data.”

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

        public Optional<String> getMinimumWarningAppVersion()
        “Versions less than the specified version will result in warning message on the managed app.”
        Returns:
        property minimumWarningAppVersion
      • withMinimumWarningAppVersion

        public ManagedAppProtection withMinimumWarningAppVersion​(String minimumWarningAppVersion)
        Returns an immutable copy of this with just the minimumWarningAppVersion 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.

        “Versions less than the specified version will result in warning message on the managed app.”

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

        public Optional<String> getMinimumWarningOsVersion()
        “Versions less than the specified version will result in warning message on the managed app from accessing company data.”
        Returns:
        property minimumWarningOsVersion
      • withMinimumWarningOsVersion

        public ManagedAppProtection withMinimumWarningOsVersion​(String minimumWarningOsVersion)
        Returns an immutable copy of this with just the minimumWarningOsVersion 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.

        “Versions less than the specified version will result in warning message on the managed app from accessing company data.”

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

        public Optional<Boolean> getOrganizationalCredentialsRequired()
        “Indicates whether organizational credentials are required for app use.”
        Returns:
        property organizationalCredentialsRequired
      • withOrganizationalCredentialsRequired

        public ManagedAppProtection withOrganizationalCredentialsRequired​(Boolean organizationalCredentialsRequired)
        Returns an immutable copy of this with just the organizationalCredentialsRequired 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 organizational credentials are required for app use.”

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

        public Optional<Duration> getPeriodBeforePinReset()
        “TimePeriod before the all-level pin must be reset if PinRequired is set to True.”
        Returns:
        property periodBeforePinReset
      • withPeriodBeforePinReset

        public ManagedAppProtection withPeriodBeforePinReset​(Duration periodBeforePinReset)
        Returns an immutable copy of this with just the periodBeforePinReset 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.

        “TimePeriod before the all-level pin must be reset if PinRequired is set to True.”

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

        public Optional<Duration> getPeriodOfflineBeforeAccessCheck()
        “The period after which access is checked when the device is not connected to the internet.”
        Returns:
        property periodOfflineBeforeAccessCheck
      • withPeriodOfflineBeforeAccessCheck

        public ManagedAppProtection withPeriodOfflineBeforeAccessCheck​(Duration periodOfflineBeforeAccessCheck)
        Returns an immutable copy of this with just the periodOfflineBeforeAccessCheck 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.

        “The period after which access is checked when the device is not connected to the internet.”

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

        public Optional<Duration> getPeriodOfflineBeforeWipeIsEnforced()
        “The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.”
        Returns:
        property periodOfflineBeforeWipeIsEnforced
      • withPeriodOfflineBeforeWipeIsEnforced

        public ManagedAppProtection withPeriodOfflineBeforeWipeIsEnforced​(Duration periodOfflineBeforeWipeIsEnforced)
        Returns an immutable copy of this with just the periodOfflineBeforeWipeIsEnforced 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.

        “The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.”

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

        public Optional<Duration> getPeriodOnlineBeforeAccessCheck()
        “The period after which access is checked when the device is connected to the internet.”
        Returns:
        property periodOnlineBeforeAccessCheck
      • withPeriodOnlineBeforeAccessCheck

        public ManagedAppProtection withPeriodOnlineBeforeAccessCheck​(Duration periodOnlineBeforeAccessCheck)
        Returns an immutable copy of this with just the periodOnlineBeforeAccessCheck 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.

        “The period after which access is checked when the device is connected to the internet.”

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

        public Optional<ManagedAppPinCharacterSet> getPinCharacterSet()
        “Character set which may be used for an app-level pin if PinRequired is set to True.”
        Returns:
        property pinCharacterSet
      • withPinCharacterSet

        public ManagedAppProtection withPinCharacterSet​(ManagedAppPinCharacterSet pinCharacterSet)
        Returns an immutable copy of this with just the pinCharacterSet 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.

        “Character set which may be used for an app-level pin if PinRequired is set to True.”

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

        public Optional<Boolean> getPinRequired()
        “Indicates whether an app-level pin is required.”
        Returns:
        property pinRequired
      • withPinRequired

        public ManagedAppProtection withPinRequired​(Boolean pinRequired)
        Returns an immutable copy of this with just the pinRequired 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 an app-level pin is required.”

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

        public Optional<Boolean> getPrintBlocked()
        “Indicates whether printing is allowed from managed apps.”
        Returns:
        property printBlocked
      • withPrintBlocked

        public ManagedAppProtection withPrintBlocked​(Boolean printBlocked)
        Returns an immutable copy of this with just the printBlocked 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 printing is allowed from managed apps.”

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

        public Optional<Boolean> getSaveAsBlocked()
        “Indicates whether users may use the "Save As" menu item to save a copy of protected files.”
        Returns:
        property saveAsBlocked
      • withSaveAsBlocked

        public ManagedAppProtection withSaveAsBlocked​(Boolean saveAsBlocked)
        Returns an immutable copy of this with just the saveAsBlocked 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 users may use the "Save As" menu item to save a copy of protected files.”

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

        public Optional<Boolean> getSimplePinBlocked()
        “Indicates whether simplePin is blocked.”
        Returns:
        property simplePinBlocked
      • withSimplePinBlocked

        public ManagedAppProtection withSimplePinBlocked​(Boolean simplePinBlocked)
        Returns an immutable copy of this with just the simplePinBlocked 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 simplePin is blocked.”

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

        public ManagedAppProtection patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedAppPolicy
        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 ManagedAppProtection 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 ManagedAppPolicy
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected