Package odata.msgraph.client.complex
Class IosLobAppAssignmentSettings
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppAssignmentSettings
-
- odata.msgraph.client.complex.IosLobAppAssignmentSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class IosLobAppAssignmentSettings extends MobileAppAssignmentSettings implements com.github.davidmoten.odata.client.ODataType
“Contains properties used to assign an iOS LOB mobile app to a group.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosLobAppAssignmentSettings.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 protectedIosLobAppAssignmentSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosLobAppAssignmentSettings.BuilderbuilderIosLobAppAssignmentSettings()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()IosLobAppAssignmentSettingswithIsRemovable(Boolean isRemovable)Returns an immutable copy ofthiswith just theisRemovablefield changed.IosLobAppAssignmentSettingswithUninstallOnDeviceRemoval(Boolean uninstallOnDeviceRemoval)Returns an immutable copy ofthiswith just theuninstallOnDeviceRemovalfield changed.IosLobAppAssignmentSettingswithUnmappedField(String name, String value)IosLobAppAssignmentSettingswithVpnConfigurationId(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 IosLobAppAssignmentSettings 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 IosLobAppAssignmentSettings 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 IosLobAppAssignmentSettings 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 IosLobAppAssignmentSettings 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
-
builderIosLobAppAssignmentSettings
public static IosLobAppAssignmentSettings.Builder builderIosLobAppAssignmentSettings()
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
-
-