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 an Mac LOB app to a group.”
    • Field Detail

      • uninstallOnDeviceRemoval

        protected Boolean uninstallOnDeviceRemoval
    • Constructor Detail

      • MacOsLobAppAssignmentSettings

        protected MacOsLobAppAssignmentSettings()
    • Method Detail

      • getUninstallOnDeviceRemoval

        public Optional<Boolean> getUninstallOnDeviceRemoval()
        “Whether or not to uninstall the app when 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.

        “Whether or not to uninstall the app when 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