Class MacOsLobAppAssignmentSettings

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

    public class MacOsLobAppAssignmentSettings
    extends MobileAppAssignmentSettings
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties used to assign a macOS LOB app to a group.”
    • Field Detail

      • uninstallOnDeviceRemoval

        protected Boolean uninstallOnDeviceRemoval
    • Constructor Detail

      • MacOsLobAppAssignmentSettings

        protected MacOsLobAppAssignmentSettings()
    • Method Detail

      • 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.”
        Returns:
        property uninstallOnDeviceRemoval
      • withUninstallOnDeviceRemoval

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

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

        public static MacOsLobAppAssignmentSettings.Builder builderMacOsLobAppAssignmentSettings()
        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