Class MacOsVppAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.beta.complex.MacOsVppAppAssignmentSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MacOsVppAppAssignmentSettings extends MobileAppAssignmentSettings implements com.github.davidmoten.odata.client.ODataType
“Contains properties used to assign an Mac VPP mobile app to a group.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOsVppAppAssignmentSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanuninstallOnDeviceRemovalprotected BooleanuseDeviceLicensing-
Fields inherited from class odata.msgraph.client.beta.complex.MobileAppAssignmentSettings
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOsVppAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOsVppAppAssignmentSettings.BuilderbuilderMacOsVppAppAssignmentSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getUninstallOnDeviceRemoval()“Whether or not to uninstall the app when device is removed from Intune.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseDeviceLicensing()“Whether or not to use device licensing.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOsVppAppAssignmentSettingswithUninstallOnDeviceRemoval(Boolean uninstallOnDeviceRemoval)Returns an immutable copy ofthiswith just theuninstallOnDeviceRemovalfield changed.MacOsVppAppAssignmentSettingswithUnmappedField(String name, String value)MacOsVppAppAssignmentSettingswithUseDeviceLicensing(Boolean useDeviceLicensing)Returns an immutable copy ofthiswith just theuseDeviceLicensingfield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppAssignmentSettings
-
getUninstallOnDeviceRemoval
public Optional<Boolean> getUninstallOnDeviceRemoval()
“Whether or not to uninstall the app when device is removed from Intune.”- Returns:
- property uninstallOnDeviceRemoval
-
withUninstallOnDeviceRemoval
public MacOsVppAppAssignmentSettings 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.“Whether or not to uninstall the app when device is removed from Intune.”
- Parameters:
uninstallOnDeviceRemoval- new value ofuninstallOnDeviceRemovalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuninstallOnDeviceRemovalfield changed
-
getUseDeviceLicensing
public Optional<Boolean> getUseDeviceLicensing()
“Whether or not to use device licensing.”- Returns:
- property useDeviceLicensing
-
withUseDeviceLicensing
public MacOsVppAppAssignmentSettings withUseDeviceLicensing(Boolean useDeviceLicensing)
Returns an immutable copy ofthiswith just theuseDeviceLicensingfield 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.“Whether or not to use device licensing.”
- Parameters:
useDeviceLicensing- new value ofuseDeviceLicensingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseDeviceLicensingfield changed
-
withUnmappedField
public MacOsVppAppAssignmentSettings 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
-
builderMacOsVppAppAssignmentSettings
public static MacOsVppAppAssignmentSettings.Builder builderMacOsVppAppAssignmentSettings()
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
-
-