Class DeviceManagementApplicabilityRuleDeviceMode
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementApplicabilityRuleDeviceMode
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementApplicabilityRuleDeviceMode extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementApplicabilityRuleDeviceMode.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Windows10DeviceModeTypedeviceModeprotected Stringnameprotected StringodataTypeprotected DeviceManagementApplicabilityRuleTyperuleTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementApplicabilityRuleDeviceMode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementApplicabilityRuleDeviceMode.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Windows10DeviceModeType>getDeviceMode()“Applicability rule for device mode.”Optional<String>getName()“Name for object.”Optional<DeviceManagementApplicabilityRuleType>getRuleType()“Applicability Rule type.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementApplicabilityRuleDeviceModewithDeviceMode(Windows10DeviceModeType deviceMode)Returns an immutable copy ofthiswith just thedeviceModefield changed.DeviceManagementApplicabilityRuleDeviceModewithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.DeviceManagementApplicabilityRuleDeviceModewithRuleType(DeviceManagementApplicabilityRuleType ruleType)Returns an immutable copy ofthiswith just theruleTypefield changed.DeviceManagementApplicabilityRuleDeviceModewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
deviceMode
protected Windows10DeviceModeType deviceMode
-
name
protected String name
-
ruleType
protected DeviceManagementApplicabilityRuleType ruleType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceMode
public Optional<Windows10DeviceModeType> getDeviceMode()
“Applicability rule for device mode.”- Returns:
- property deviceMode
-
withDeviceMode
public DeviceManagementApplicabilityRuleDeviceMode withDeviceMode(Windows10DeviceModeType deviceMode)
Returns an immutable copy ofthiswith just thedeviceModefield 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.“Applicability rule for device mode.”
- Parameters:
deviceMode- new value ofdeviceModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceModefield changed
-
withName
public DeviceManagementApplicabilityRuleDeviceMode withName(String name)
Returns an immutable copy ofthiswith just thenamefield 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.“Name for object.”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield changed
-
getRuleType
public Optional<DeviceManagementApplicabilityRuleType> getRuleType()
“Applicability Rule type.”- Returns:
- property ruleType
-
withRuleType
public DeviceManagementApplicabilityRuleDeviceMode withRuleType(DeviceManagementApplicabilityRuleType ruleType)
Returns an immutable copy ofthiswith just theruleTypefield 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.“Applicability Rule type.”
- Parameters:
ruleType- new value ofruleTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theruleTypefield changed
-
withUnmappedField
public DeviceManagementApplicabilityRuleDeviceMode withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceManagementApplicabilityRuleDeviceMode.Builder builder()
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
-
-