Class DeviceManagementConfigurationIntegerSettingValue
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValue
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSimpleSettingValue
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationIntegerSettingValue
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationIntegerSettingValue extends DeviceManagementConfigurationSimpleSettingValue implements com.github.davidmoten.odata.client.ODataType
“Simple setting value”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationIntegerSettingValue.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Integervalue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValue
contextPath, odataType, settingValueTemplateReference, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationIntegerSettingValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationIntegerSettingValue.BuilderbuilderDeviceManagementConfigurationIntegerSettingValue()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getValue()“Value of the integer setting.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationIntegerSettingValuewithUnmappedField(String name, String value)DeviceManagementConfigurationIntegerSettingValuewithValue(Integer value)Returns an immutable copy ofthiswith just thevaluefield changed.-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValue
getSettingValueTemplateReference, withSettingValueTemplateReference
-
-
-
-
Field Detail
-
value
protected Integer value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationSimpleSettingValue
-
getValue
public Optional<Integer> getValue()
“Value of the integer setting.”- Returns:
- property value
-
withValue
public DeviceManagementConfigurationIntegerSettingValue withValue(Integer value)
Returns an immutable copy ofthiswith just thevaluefield 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.“Value of the integer setting.”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public DeviceManagementConfigurationIntegerSettingValue withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSimpleSettingValue
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSimpleSettingValue
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSimpleSettingValue
-
builderDeviceManagementConfigurationIntegerSettingValue
public static DeviceManagementConfigurationIntegerSettingValue.Builder builderDeviceManagementConfigurationIntegerSettingValue()
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 classDeviceManagementConfigurationSimpleSettingValue
-
-