Class DefaultManagedAppProtection

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

    public class DefaultManagedAppProtection
    extends ManagedAppProtection
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Policy used to configure detailed management settings for a specified set of apps for all users not targeted by a TargetedManagedAppProtection Policy”
    • Field Detail

      • allowedAndroidDeviceManufacturers

        protected String allowedAndroidDeviceManufacturers
      • allowedAndroidDeviceModels

        protected List<String> allowedAndroidDeviceModels
      • allowedAndroidDeviceModelsNextLink

        protected String allowedAndroidDeviceModelsNextLink
      • allowedIosDeviceModels

        protected String allowedIosDeviceModels
      • appActionIfAndroidSafetyNetAppsVerificationFailed

        protected ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed
      • appActionIfAndroidSafetyNetDeviceAttestationFailed

        protected ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed
      • biometricAuthenticationBlocked

        protected Boolean biometricAuthenticationBlocked
      • blockAfterCompanyPortalUpdateDeferralInDays

        protected Integer blockAfterCompanyPortalUpdateDeferralInDays
      • connectToVpnOnLaunch

        protected Boolean connectToVpnOnLaunch
      • customBrowserDisplayName

        protected String customBrowserDisplayName
      • customBrowserPackageId

        protected String customBrowserPackageId
      • customBrowserProtocol

        protected String customBrowserProtocol
      • customDialerAppDisplayName

        protected String customDialerAppDisplayName
      • customDialerAppPackageId

        protected String customDialerAppPackageId
      • customDialerAppProtocol

        protected String customDialerAppProtocol
      • customSettingsNextLink

        protected String customSettingsNextLink
      • deployedAppCount

        protected Integer deployedAppCount
      • deviceLockRequired

        protected Boolean deviceLockRequired
      • disableAppEncryptionIfDeviceEncryptionIsEnabled

        protected Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled
      • disableProtectionOfManagedOutboundOpenInData

        protected Boolean disableProtectionOfManagedOutboundOpenInData
      • encryptAppData

        protected Boolean encryptAppData
      • exemptedAppPackagesNextLink

        protected String exemptedAppPackagesNextLink
      • exemptedAppProtocolsNextLink

        protected String exemptedAppProtocolsNextLink
      • faceIdBlocked

        protected Boolean faceIdBlocked
      • filterOpenInToOnlyManagedApps

        protected Boolean filterOpenInToOnlyManagedApps
      • minimumRequiredCompanyPortalVersion

        protected String minimumRequiredCompanyPortalVersion
      • minimumRequiredPatchVersion

        protected String minimumRequiredPatchVersion
      • minimumRequiredSdkVersion

        protected String minimumRequiredSdkVersion
      • minimumWarningCompanyPortalVersion

        protected String minimumWarningCompanyPortalVersion
      • minimumWarningPatchVersion

        protected String minimumWarningPatchVersion
      • minimumWipeCompanyPortalVersion

        protected String minimumWipeCompanyPortalVersion
      • minimumWipePatchVersion

        protected String minimumWipePatchVersion
      • minimumWipeSdkVersion

        protected String minimumWipeSdkVersion
      • protectInboundDataFromUnknownSources

        protected Boolean protectInboundDataFromUnknownSources
      • screenCaptureBlocked

        protected Boolean screenCaptureBlocked
      • thirdPartyKeyboardsBlocked

        protected Boolean thirdPartyKeyboardsBlocked
      • warnAfterCompanyPortalUpdateDeferralInDays

        protected Integer warnAfterCompanyPortalUpdateDeferralInDays
      • wipeAfterCompanyPortalUpdateDeferralInDays

        protected Integer wipeAfterCompanyPortalUpdateDeferralInDays
    • Constructor Detail

      • DefaultManagedAppProtection

        protected DefaultManagedAppProtection()
    • Method Detail

      • builderDefaultManagedAppProtection

        public static DefaultManagedAppProtection.Builder builderDefaultManagedAppProtection()
        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 ManagedAppProtection
      • postInject

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

        public Optional<String> getAllowedAndroidDeviceManufacturers()
        “Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only)”
        Returns:
        property allowedAndroidDeviceManufacturers
      • withAllowedAndroidDeviceManufacturers

        public DefaultManagedAppProtection withAllowedAndroidDeviceManufacturers​(String allowedAndroidDeviceManufacturers)
        Returns an immutable copy of this with just the allowedAndroidDeviceManufacturers 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.

        “Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only)”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels()
        “List of device models allowed, as a string, for the managed app to work. ( Android Only)”
        Returns:
        property allowedAndroidDeviceModels
      • withAllowedAndroidDeviceModels

        public DefaultManagedAppProtection withAllowedAndroidDeviceModels​(List<String> allowedAndroidDeviceModels)
        Returns an immutable copy of this with just the allowedAndroidDeviceModels 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 device models allowed, as a string, for the managed app to work. ( Android Only)”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAllowedAndroidDeviceModels​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of device models allowed, as a string, for the managed app to work. ( Android Only)”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property allowedAndroidDeviceModels
      • getAllowedIosDeviceModels

        public Optional<String> getAllowedIosDeviceModels()
        “Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only)”
        Returns:
        property allowedIosDeviceModels
      • withAllowedIosDeviceModels

        public DefaultManagedAppProtection withAllowedIosDeviceModels​(String allowedIosDeviceModels)
        Returns an immutable copy of this with just the allowedIosDeviceModels 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.

        “Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only)”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceManufacturerNotAllowed()
        “Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only)”
        Returns:
        property appActionIfAndroidDeviceManufacturerNotAllowed
      • withAppActionIfAndroidDeviceManufacturerNotAllowed

        public DefaultManagedAppProtection withAppActionIfAndroidDeviceManufacturerNotAllowed​(ManagedAppRemediationAction appActionIfAndroidDeviceManufacturerNotAllowed)
        Returns an immutable copy of this with just the appActionIfAndroidDeviceManufacturerNotAllowed 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.

        “Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only)”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidDeviceModelNotAllowed()
        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only)”
        Returns:
        property appActionIfAndroidDeviceModelNotAllowed
      • withAppActionIfAndroidDeviceModelNotAllowed

        public DefaultManagedAppProtection withAppActionIfAndroidDeviceModelNotAllowed​(ManagedAppRemediationAction appActionIfAndroidDeviceModelNotAllowed)
        Returns an immutable copy of this with just the appActionIfAndroidDeviceModelNotAllowed 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.

        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only)”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetAppsVerificationFailed()
        “Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”
        Returns:
        property appActionIfAndroidSafetyNetAppsVerificationFailed
      • withAppActionIfAndroidSafetyNetAppsVerificationFailed

        public DefaultManagedAppProtection withAppActionIfAndroidSafetyNetAppsVerificationFailed​(ManagedAppRemediationAction appActionIfAndroidSafetyNetAppsVerificationFailed)
        Returns an immutable copy of this with just the appActionIfAndroidSafetyNetAppsVerificationFailed 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.

        “Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfAndroidSafetyNetDeviceAttestationFailed()
        “Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”
        Returns:
        property appActionIfAndroidSafetyNetDeviceAttestationFailed
      • withAppActionIfAndroidSafetyNetDeviceAttestationFailed

        public DefaultManagedAppProtection withAppActionIfAndroidSafetyNetDeviceAttestationFailed​(ManagedAppRemediationAction appActionIfAndroidSafetyNetDeviceAttestationFailed)
        Returns an immutable copy of this with just the appActionIfAndroidSafetyNetDeviceAttestationFailed 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.

        “Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails.”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfDeviceLockNotSet()
        “Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set. (android only)”
        Returns:
        property appActionIfDeviceLockNotSet
      • withAppActionIfDeviceLockNotSet

        public DefaultManagedAppProtection withAppActionIfDeviceLockNotSet​(ManagedAppRemediationAction appActionIfDeviceLockNotSet)
        Returns an immutable copy of this with just the appActionIfDeviceLockNotSet 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.

        “Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set. (android only)”

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

        public Optional<ManagedAppRemediationAction> getAppActionIfIosDeviceModelNotAllowed()
        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only)”
        Returns:
        property appActionIfIosDeviceModelNotAllowed
      • withAppActionIfIosDeviceModelNotAllowed

        public DefaultManagedAppProtection withAppActionIfIosDeviceModelNotAllowed​(ManagedAppRemediationAction appActionIfIosDeviceModelNotAllowed)
        Returns an immutable copy of this with just the appActionIfIosDeviceModelNotAllowed 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.

        “Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only)”

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

        public Optional<ManagedAppDataEncryptionType> getAppDataEncryptionType()
        “Type of encryption which should be used for data in a managed app. (iOS Only)”
        Returns:
        property appDataEncryptionType
      • withAppDataEncryptionType

        public DefaultManagedAppProtection withAppDataEncryptionType​(ManagedAppDataEncryptionType appDataEncryptionType)
        Returns an immutable copy of this with just the appDataEncryptionType 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 encryption which should be used for data in a managed app. (iOS Only)”

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

        public Optional<Boolean> getBiometricAuthenticationBlocked()
        “Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. (Android Only)”
        Returns:
        property biometricAuthenticationBlocked
      • withBiometricAuthenticationBlocked

        public DefaultManagedAppProtection withBiometricAuthenticationBlocked​(Boolean biometricAuthenticationBlocked)
        Returns an immutable copy of this with just the biometricAuthenticationBlocked 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 biometric authentication is allowed in place of a pin if PinRequired is set to True. (Android Only)”

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

        public Optional<Integer> getBlockAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or app access will be blocked.”
        Returns:
        property blockAfterCompanyPortalUpdateDeferralInDays
      • withBlockAfterCompanyPortalUpdateDeferralInDays

        public DefaultManagedAppProtection withBlockAfterCompanyPortalUpdateDeferralInDays​(Integer blockAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the blockAfterCompanyPortalUpdateDeferralInDays 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 days Company Portal update can be deferred on the device or app access will be blocked.”

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

        public Optional<Boolean> getConnectToVpnOnLaunch()
        “Whether the app should connect to the configured VPN on launch (Android only).”
        Returns:
        property connectToVpnOnLaunch
      • withConnectToVpnOnLaunch

        public DefaultManagedAppProtection withConnectToVpnOnLaunch​(Boolean connectToVpnOnLaunch)
        Returns an immutable copy of this with just the connectToVpnOnLaunch 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.

        “Whether the app should connect to the configured VPN on launch (Android only).”

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

        public Optional<String> getCustomBrowserDisplayName()
        “Friendly name of the preferred custom browser to open weblink on Android. ( Android only)”
        Returns:
        property customBrowserDisplayName
      • withCustomBrowserDisplayName

        public DefaultManagedAppProtection withCustomBrowserDisplayName​(String customBrowserDisplayName)
        Returns an immutable copy of this with just the customBrowserDisplayName 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.

        “Friendly name of the preferred custom browser to open weblink on Android. ( Android only)”

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

        public Optional<String> getCustomBrowserPackageId()
        “Unique identifier of a custom browser to open weblink on Android. (Android only)”
        Returns:
        property customBrowserPackageId
      • withCustomBrowserPackageId

        public DefaultManagedAppProtection withCustomBrowserPackageId​(String customBrowserPackageId)
        Returns an immutable copy of this with just the customBrowserPackageId 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.

        “Unique identifier of a custom browser to open weblink on Android. (Android only)”

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

        public Optional<String> getCustomBrowserProtocol()
        “A custom browser protocol to open weblink on iOS. (iOS only)”
        Returns:
        property customBrowserProtocol
      • withCustomBrowserProtocol

        public DefaultManagedAppProtection withCustomBrowserProtocol​(String customBrowserProtocol)
        Returns an immutable copy of this with just the customBrowserProtocol 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 custom browser protocol to open weblink on iOS. (iOS only)”

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

        public Optional<String> getCustomDialerAppDisplayName()
        “Friendly name of a custom dialer app to click-to-open a phone number on Android.”
        Returns:
        property customDialerAppDisplayName
      • withCustomDialerAppDisplayName

        public DefaultManagedAppProtection withCustomDialerAppDisplayName​(String customDialerAppDisplayName)
        Returns an immutable copy of this with just the customDialerAppDisplayName 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.

        “Friendly name of a custom dialer app to click-to-open a phone number on Android.”

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

        public Optional<String> getCustomDialerAppPackageId()
        “PackageId of a custom dialer app to click-to-open a phone number on Android.”
        Returns:
        property customDialerAppPackageId
      • withCustomDialerAppPackageId

        public DefaultManagedAppProtection withCustomDialerAppPackageId​(String customDialerAppPackageId)
        Returns an immutable copy of this with just the customDialerAppPackageId 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.

        “PackageId of a custom dialer app to click-to-open a phone number on Android.”

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

        public Optional<String> getCustomDialerAppProtocol()
        “Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:.”
        Returns:
        property customDialerAppProtocol
      • withCustomDialerAppProtocol

        public DefaultManagedAppProtection withCustomDialerAppProtocol​(String customDialerAppProtocol)
        Returns an immutable copy of this with just the customDialerAppProtocol 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.

        “Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:.”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings()
        “A set of string key and string value pairs to be sent to the affected users, unalterned by this service”
        Returns:
        property customSettings
      • withCustomSettings

        public DefaultManagedAppProtection withCustomSettings​(List<KeyValuePair> customSettings)
        Returns an immutable copy of this with just the customSettings 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 set of string key and string value pairs to be sent to the affected users, unalterned by this service”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A set of string key and string value pairs to be sent to the affected users, unalterned by this service”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property customSettings
      • getDeployedAppCount

        public Optional<Integer> getDeployedAppCount()
        “Count of apps to which the current policy is deployed.”
        Returns:
        property deployedAppCount
      • withDeployedAppCount

        public DefaultManagedAppProtection withDeployedAppCount​(Integer deployedAppCount)
        Returns an immutable copy of this with just the deployedAppCount 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.

        “Count of apps to which the current policy is deployed.”

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

        public Optional<Boolean> getDeviceLockRequired()
        “Defines if any kind of lock must be required on device. (android only)”
        Returns:
        property deviceLockRequired
      • withDeviceLockRequired

        public DefaultManagedAppProtection withDeviceLockRequired​(Boolean deviceLockRequired)
        Returns an immutable copy of this with just the deviceLockRequired 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.

        “Defines if any kind of lock must be required on device. (android only)”

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

        public Optional<Boolean> getDisableAppEncryptionIfDeviceEncryptionIsEnabled()
        “When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)”
        Returns:
        property disableAppEncryptionIfDeviceEncryptionIsEnabled
      • withDisableAppEncryptionIfDeviceEncryptionIsEnabled

        public DefaultManagedAppProtection withDisableAppEncryptionIfDeviceEncryptionIsEnabled​(Boolean disableAppEncryptionIfDeviceEncryptionIsEnabled)
        Returns an immutable copy of this with just the disableAppEncryptionIfDeviceEncryptionIsEnabled 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.

        “When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only)”

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

        public Optional<Boolean> getDisableProtectionOfManagedOutboundOpenInData()
        “Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. (iOS Only)”
        Returns:
        property disableProtectionOfManagedOutboundOpenInData
      • withDisableProtectionOfManagedOutboundOpenInData

        public DefaultManagedAppProtection withDisableProtectionOfManagedOutboundOpenInData​(Boolean disableProtectionOfManagedOutboundOpenInData)
        Returns an immutable copy of this with just the disableProtectionOfManagedOutboundOpenInData 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.

        “Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. (iOS Only)”

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

        public Optional<Boolean> getEncryptAppData()
        “Indicates whether managed-app data should be encrypted. (Android only)”
        Returns:
        property encryptAppData
      • withEncryptAppData

        public DefaultManagedAppProtection withEncryptAppData​(Boolean encryptAppData)
        Returns an immutable copy of this with just the encryptAppData 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 managed-app data should be encrypted. (Android only)”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages()
        “Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”
        Returns:
        property exemptedAppPackages
      • withExemptedAppPackages

        public DefaultManagedAppProtection withExemptedAppPackages​(List<KeyValuePair> exemptedAppPackages)
        Returns an immutable copy of this with just the exemptedAppPackages 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.

        “Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppPackages​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only)”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptedAppPackages
      • getExemptedAppProtocols

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppProtocols()
        “iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”
        Returns:
        property exemptedAppProtocols
      • withExemptedAppProtocols

        public DefaultManagedAppProtection withExemptedAppProtocols​(List<KeyValuePair> exemptedAppProtocols)
        Returns an immutable copy of this with just the exemptedAppProtocols 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.

        “iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getExemptedAppProtocols​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only)”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptedAppProtocols
      • getFaceIdBlocked

        public Optional<Boolean> getFaceIdBlocked()
        “Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)”
        Returns:
        property faceIdBlocked
      • withFaceIdBlocked

        public DefaultManagedAppProtection withFaceIdBlocked​(Boolean faceIdBlocked)
        Returns an immutable copy of this with just the faceIdBlocked 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 FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only)”

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

        public Optional<Boolean> getFilterOpenInToOnlyManagedApps()
        “Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only)”
        Returns:
        property filterOpenInToOnlyManagedApps
      • withFilterOpenInToOnlyManagedApps

        public DefaultManagedAppProtection withFilterOpenInToOnlyManagedApps​(Boolean filterOpenInToOnlyManagedApps)
        Returns an immutable copy of this with just the filterOpenInToOnlyManagedApps 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.

        “Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only)”

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

        public Optional<String> getMinimumRequiredCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or app access will be blocked”
        Returns:
        property minimumRequiredCompanyPortalVersion
      • withMinimumRequiredCompanyPortalVersion

        public DefaultManagedAppProtection withMinimumRequiredCompanyPortalVersion​(String minimumRequiredCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumRequiredCompanyPortalVersion 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 version of the Company portal that must be installed on the device or app access will be blocked”

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

        public Optional<String> getMinimumRequiredPatchVersion()
        “Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)”
        Returns:
        property minimumRequiredPatchVersion
      • withMinimumRequiredPatchVersion

        public DefaultManagedAppProtection withMinimumRequiredPatchVersion​(String minimumRequiredPatchVersion)
        Returns an immutable copy of this with just the minimumRequiredPatchVersion 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.

        “Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only)”

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

        public Optional<String> getMinimumRequiredSdkVersion()
        “Versions less than the specified version will block the managed app from accessing company data. (iOS Only)”
        Returns:
        property minimumRequiredSdkVersion
      • withMinimumRequiredSdkVersion

        public DefaultManagedAppProtection withMinimumRequiredSdkVersion​(String minimumRequiredSdkVersion)
        Returns an immutable copy of this with just the minimumRequiredSdkVersion 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. (iOS Only)”

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

        public Optional<String> getMinimumWarningCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or the user will receive a warning”
        Returns:
        property minimumWarningCompanyPortalVersion
      • withMinimumWarningCompanyPortalVersion

        public DefaultManagedAppProtection withMinimumWarningCompanyPortalVersion​(String minimumWarningCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumWarningCompanyPortalVersion 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 version of the Company portal that must be installed on the device or the user will receive a warning”

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

        public Optional<String> getMinimumWarningPatchVersion()
        “Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)”
        Returns:
        property minimumWarningPatchVersion
      • withMinimumWarningPatchVersion

        public DefaultManagedAppProtection withMinimumWarningPatchVersion​(String minimumWarningPatchVersion)
        Returns an immutable copy of this with just the minimumWarningPatchVersion 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.

        “Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only)”

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

        public Optional<String> getMinimumWipeCompanyPortalVersion()
        “Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped”
        Returns:
        property minimumWipeCompanyPortalVersion
      • withMinimumWipeCompanyPortalVersion

        public DefaultManagedAppProtection withMinimumWipeCompanyPortalVersion​(String minimumWipeCompanyPortalVersion)
        Returns an immutable copy of this with just the minimumWipeCompanyPortalVersion 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 version of the Company portal that must be installed on the device or the company data on the app will be wiped”

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

        public Optional<String> getMinimumWipePatchVersion()
        “Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only)”
        Returns:
        property minimumWipePatchVersion
      • withMinimumWipePatchVersion

        public DefaultManagedAppProtection withMinimumWipePatchVersion​(String minimumWipePatchVersion)
        Returns an immutable copy of this with just the minimumWipePatchVersion 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.

        “Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only)”

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

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

        public DefaultManagedAppProtection withMinimumWipeSdkVersion​(String minimumWipeSdkVersion)
        Returns an immutable copy of this with just the minimumWipeSdkVersion 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:
        minimumWipeSdkVersion - new value of minimumWipeSdkVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumWipeSdkVersion field changed
      • getProtectInboundDataFromUnknownSources

        public Optional<Boolean> getProtectInboundDataFromUnknownSources()
        “Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only)”
        Returns:
        property protectInboundDataFromUnknownSources
      • withProtectInboundDataFromUnknownSources

        public DefaultManagedAppProtection withProtectInboundDataFromUnknownSources​(Boolean protectInboundDataFromUnknownSources)
        Returns an immutable copy of this with just the protectInboundDataFromUnknownSources 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.

        “Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only)”

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

        public Optional<AndroidManagedAppSafetyNetAppsVerificationType> getRequiredAndroidSafetyNetAppsVerificationType()
        “Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”
        Returns:
        property requiredAndroidSafetyNetAppsVerificationType
      • withRequiredAndroidSafetyNetAppsVerificationType

        public DefaultManagedAppProtection withRequiredAndroidSafetyNetAppsVerificationType​(AndroidManagedAppSafetyNetAppsVerificationType requiredAndroidSafetyNetAppsVerificationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetAppsVerificationType 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.

        “Defines the Android SafetyNet Apps Verification requirement for a managed app to work.”

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

        public Optional<AndroidManagedAppSafetyNetDeviceAttestationType> getRequiredAndroidSafetyNetDeviceAttestationType()
        “Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”
        Returns:
        property requiredAndroidSafetyNetDeviceAttestationType
      • withRequiredAndroidSafetyNetDeviceAttestationType

        public DefaultManagedAppProtection withRequiredAndroidSafetyNetDeviceAttestationType​(AndroidManagedAppSafetyNetDeviceAttestationType requiredAndroidSafetyNetDeviceAttestationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetDeviceAttestationType 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.

        “Defines the Android SafetyNet Device Attestation requirement for a managed app to work.”

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

        public Optional<AndroidManagedAppSafetyNetEvaluationType> getRequiredAndroidSafetyNetEvaluationType()
        “Defines the Android SafetyNet evaluation type requirement for a managed app to work. (Android Only)”
        Returns:
        property requiredAndroidSafetyNetEvaluationType
      • withRequiredAndroidSafetyNetEvaluationType

        public DefaultManagedAppProtection withRequiredAndroidSafetyNetEvaluationType​(AndroidManagedAppSafetyNetEvaluationType requiredAndroidSafetyNetEvaluationType)
        Returns an immutable copy of this with just the requiredAndroidSafetyNetEvaluationType 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.

        “Defines the Android SafetyNet evaluation type requirement for a managed app to work. (Android Only)”

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

        public Optional<Boolean> getScreenCaptureBlocked()
        “Indicates whether screen capture is blocked. (Android only)”
        Returns:
        property screenCaptureBlocked
      • withScreenCaptureBlocked

        public DefaultManagedAppProtection 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 screen capture is blocked. (Android only)”

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

        public Optional<Boolean> getThirdPartyKeyboardsBlocked()
        “Defines if third party keyboards are allowed while accessing a managed app. (iOS Only)”
        Returns:
        property thirdPartyKeyboardsBlocked
      • withThirdPartyKeyboardsBlocked

        public DefaultManagedAppProtection withThirdPartyKeyboardsBlocked​(Boolean thirdPartyKeyboardsBlocked)
        Returns an immutable copy of this with just the thirdPartyKeyboardsBlocked 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.

        “Defines if third party keyboards are allowed while accessing a managed app. (iOS Only)”

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

        public Optional<Integer> getWarnAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning”
        Returns:
        property warnAfterCompanyPortalUpdateDeferralInDays
      • withWarnAfterCompanyPortalUpdateDeferralInDays

        public DefaultManagedAppProtection withWarnAfterCompanyPortalUpdateDeferralInDays​(Integer warnAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the warnAfterCompanyPortalUpdateDeferralInDays 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 days Company Portal update can be deferred on the device or the user will receive the warning”

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

        public Optional<Integer> getWipeAfterCompanyPortalUpdateDeferralInDays()
        “Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped”
        Returns:
        property wipeAfterCompanyPortalUpdateDeferralInDays
      • withWipeAfterCompanyPortalUpdateDeferralInDays

        public DefaultManagedAppProtection withWipeAfterCompanyPortalUpdateDeferralInDays​(Integer wipeAfterCompanyPortalUpdateDeferralInDays)
        Returns an immutable copy of this with just the wipeAfterCompanyPortalUpdateDeferralInDays 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 days Company Portal update can be deferred on the device or the company data on the app will be wiped”

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

        public ManagedAppPolicyDeploymentSummaryRequest getDeploymentSummary()
        “Navigation property to deployment summary of the configuration.”
        Returns:
        navigational property deploymentSummary
      • getUnmappedFields

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

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