Package odata.msgraph.client.complex
Class IosStoreAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosStoreAppAssignmentSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisRemovableprotected BooleanuninstallOnDeviceRemovalprotected StringvpnConfigurationId-
Fields inherited from class odata.msgraph.client.complex.MobileAppAssignmentSettings
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosStoreAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosStoreAppAssignmentSettings.BuilderbuilderIosStoreAppAssignmentSettings()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getIsRemovable()“When TRUE, indicates that the app can be uninstalled by the user.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()Optional<String>getVpnConfigurationId()“This is the unique identifier (Id) of the VPN Configuration to apply to the app.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()IosStoreAppAssignmentSettingswithIsRemovable(Boolean isRemovable)Returns an immutable copy ofthiswith just theisRemovablefield changed.IosStoreAppAssignmentSettingswithUninstallOnDeviceRemoval(Boolean uninstallOnDeviceRemoval)Returns an immutable copy ofthiswith just theuninstallOnDeviceRemovalfield changed.IosStoreAppAssignmentSettingswithUnmappedField(String name, Object value)IosStoreAppAssignmentSettingswithVpnConfigurationId(String vpnConfigurationId)Returns an immutable copy ofthiswith just thevpnConfigurationIdfield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppAssignmentSettings
-
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 ofthiswith just theisRemovablefield 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 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 ofisRemovablefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisRemovablefield 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 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. By default, property is set to null which internally is treated as TRUE.”
- Parameters:
uninstallOnDeviceRemoval- new value ofuninstallOnDeviceRemovalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuninstallOnDeviceRemovalfield 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 ofthiswith just thevpnConfigurationIdfield 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.“This is the unique identifier (Id) of the VPN Configuration to apply to the app.”
- Parameters:
vpnConfigurationId- new value ofvpnConfigurationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevpnConfigurationIdfield changed
-
withUnmappedField
public IosStoreAppAssignmentSettings withUnmappedField(String name, Object 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
-
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
-
toString
public String toString()
- Overrides:
toStringin classMobileAppAssignmentSettings
-
-