Class IosStoreAppAssignmentSettings

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

    public class IosStoreAppAssignmentSettings
    extends MobileAppAssignmentSettings
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties used to assign an iOS Store mobile app to a group.”
    • Field Detail

      • isRemovable

        protected Boolean isRemovable
      • uninstallOnDeviceRemoval

        protected Boolean uninstallOnDeviceRemoval
      • vpnConfigurationId

        protected String vpnConfigurationId
    • Constructor Detail

      • IosStoreAppAssignmentSettings

        protected IosStoreAppAssignmentSettings()
    • Method Detail

      • getIsRemovable

        public Optional<Boolean> getIsRemovable()
        “When TRUE, indicates that the app can be uninstalled by the user. When FALSE, indicates that the app cannot be uninstalled by the user. By default, this property is set to null which internally is treated as TRUE.”
        Returns:
        property isRemovable
      • withIsRemovable

        public IosStoreAppAssignmentSettings withIsRemovable​(Boolean isRemovable)
        Returns an immutable copy of this with just the isRemovable 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 TRUE, indicates that the app can be uninstalled by the user. When FALSE, indicates that the app cannot be uninstalled by the user. By default, this property is set to null which internally is treated as TRUE.”

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

        public Optional<Boolean> getUninstallOnDeviceRemoval()
        “When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. By default, property is set to null which internally is treated as TRUE.”
        Returns:
        property uninstallOnDeviceRemoval
      • withUninstallOnDeviceRemoval

        public IosStoreAppAssignmentSettings withUninstallOnDeviceRemoval​(Boolean uninstallOnDeviceRemoval)
        Returns an immutable copy of this with just the uninstallOnDeviceRemoval 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 TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. By default, property is set to null which internally is treated as TRUE.”

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

        public Optional<String> getVpnConfigurationId()
        “This is the unique identifier (Id) of the VPN Configuration to apply to the app.”
        Returns:
        property vpnConfigurationId
      • withVpnConfigurationId

        public IosStoreAppAssignmentSettings withVpnConfigurationId​(String vpnConfigurationId)
        Returns an immutable copy of this with just the vpnConfigurationId 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.

        “This is the unique identifier (Id) of the VPN Configuration to apply to the app.”

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

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

        public static IosStoreAppAssignmentSettings.Builder builderIosStoreAppAssignmentSettings()
        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