Class IosManagedAppProtection

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

    public class IosManagedAppProtection
    extends TargetedManagedAppProtection
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Policy used to configure detailed management settings targeted to specific security groups and for a specified set of apps on an iOS device”
    • Field Detail

      • allowedIosDeviceModels

        protected String allowedIosDeviceModels
      • customBrowserProtocol

        protected String customBrowserProtocol
      • customDialerAppProtocol

        protected String customDialerAppProtocol
      • deployedAppCount

        protected Integer deployedAppCount
      • disableProtectionOfManagedOutboundOpenInData

        protected Boolean disableProtectionOfManagedOutboundOpenInData
      • exemptedAppProtocolsNextLink

        protected String exemptedAppProtocolsNextLink
      • exemptedUniversalLinks

        protected List<String> exemptedUniversalLinks
      • exemptedUniversalLinksNextLink

        protected String exemptedUniversalLinksNextLink
      • faceIdBlocked

        protected Boolean faceIdBlocked
      • filterOpenInToOnlyManagedApps

        protected Boolean filterOpenInToOnlyManagedApps
      • managedUniversalLinks

        protected List<String> managedUniversalLinks
      • managedUniversalLinksNextLink

        protected String managedUniversalLinksNextLink
      • minimumRequiredSdkVersion

        protected String minimumRequiredSdkVersion
      • minimumWipeSdkVersion

        protected String minimumWipeSdkVersion
      • protectInboundDataFromUnknownSources

        protected Boolean protectInboundDataFromUnknownSources
      • thirdPartyKeyboardsBlocked

        protected Boolean thirdPartyKeyboardsBlocked
    • Constructor Detail

      • IosManagedAppProtection

        protected IosManagedAppProtection()
    • Method Detail

      • builderIosManagedAppProtection

        public static IosManagedAppProtection.Builder builderIosManagedAppProtection()
        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 TargetedManagedAppProtection
      • postInject

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

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

        public IosManagedAppProtection 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.”

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

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

        public IosManagedAppProtection 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.”

        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.”
        Returns:
        property appDataEncryptionType
      • withAppDataEncryptionType

        public IosManagedAppProtection 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.”

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

        public Optional<String> getCustomBrowserProtocol()
        “A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”
        Returns:
        property customBrowserProtocol
      • withCustomBrowserProtocol

        public IosManagedAppProtection 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. When this property is configured, ManagedBrowserToOpenLinksRequired should be true.”

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

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

        public IosManagedAppProtection 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
      • 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.”
        Returns:
        property disableProtectionOfManagedOutboundOpenInData
      • withDisableProtectionOfManagedOutboundOpenInData

        public IosManagedAppProtection 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.”

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

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

        public IosManagedAppProtection 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.

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

        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)
        “Apps in this list will be exempt from the policy and will be able to receive data from managed apps.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptedAppProtocols
      • getExemptedUniversalLinks

        public com.github.davidmoten.odata.client.CollectionPage<String> getExemptedUniversalLinks()
        “A list of custom urls that are allowed to invocate an unmanaged app”
        Returns:
        property exemptedUniversalLinks
      • withExemptedUniversalLinks

        public IosManagedAppProtection withExemptedUniversalLinks​(List<String> exemptedUniversalLinks)
        Returns an immutable copy of this with just the exemptedUniversalLinks field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “A list of custom urls that are allowed to invocate an unmanaged app”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getExemptedUniversalLinks​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of custom urls that are allowed to invocate an unmanaged app”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property exemptedUniversalLinks
      • getFaceIdBlocked

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

        public IosManagedAppProtection 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.”

        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.”
        Returns:
        property filterOpenInToOnlyManagedApps
      • withFilterOpenInToOnlyManagedApps

        public IosManagedAppProtection 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.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getManagedUniversalLinks()
        “A list of custom urls that are allowed to invocate a managed app”
        Returns:
        property managedUniversalLinks
      • withManagedUniversalLinks

        public IosManagedAppProtection withManagedUniversalLinks​(List<String> managedUniversalLinks)
        Returns an immutable copy of this with just the managedUniversalLinks field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “A list of custom urls that are allowed to invocate a managed app”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getManagedUniversalLinks​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A list of custom urls that are allowed to invocate a managed app”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property managedUniversalLinks
      • getMinimumRequiredSdkVersion

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

        public IosManagedAppProtection 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.”

        Parameters:
        minimumRequiredSdkVersion - new value of minimumRequiredSdkVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumRequiredSdkVersion 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 IosManagedAppProtection 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.”
        Returns:
        property protectInboundDataFromUnknownSources
      • withProtectInboundDataFromUnknownSources

        public IosManagedAppProtection 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.”

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

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

        public IosManagedAppProtection 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”

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

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