Package odata.msgraph.client.complex
Class MacOsLobAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOsLobAppAssignmentSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanuninstallOnDeviceRemoval-
Fields inherited from class odata.msgraph.client.complex.MobileAppAssignmentSettings
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOsLobAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOsLobAppAssignmentSettings.BuilderbuilderMacOsLobAppAssignmentSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getUninstallOnDeviceRemoval()“When TRUE, indicates that the app should be uninstalled when the device is removed from Intune.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOsLobAppAssignmentSettingswithUninstallOnDeviceRemoval(Boolean uninstallOnDeviceRemoval)Returns an immutable copy ofthiswith just theuninstallOnDeviceRemovalfield changed.MacOsLobAppAssignmentSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
uninstallOnDeviceRemoval
protected Boolean uninstallOnDeviceRemoval
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppAssignmentSettings
-
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 ofthiswith just theuninstallOnDeviceRemovalfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofuninstallOnDeviceRemovalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuninstallOnDeviceRemovalfield changed
-
withUnmappedField
public MacOsLobAppAssignmentSettings withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileAppAssignmentSettings
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileAppAssignmentSettings
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileAppAssignmentSettings
-
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
-
toString
public String toString()
- Overrides:
toStringin classMobileAppAssignmentSettings
-
-