Class DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate extends Object implements com.github.davidmoten.odata.client.ODataType
“Integer Setting Value Definition Template”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegermaxValueprotected IntegerminValueprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationIntegerSettingValueDefinitionTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getMaxValue()“Integer Setting Maximum Value.Optional<Integer>getMinValue()“Integer Setting Minimum Value.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationIntegerSettingValueDefinitionTemplatewithMaxValue(Integer maxValue)Returns an immutable copy ofthiswith just themaxValuefield changed.DeviceManagementConfigurationIntegerSettingValueDefinitionTemplatewithMinValue(Integer minValue)Returns an immutable copy ofthiswith just theminValuefield changed.DeviceManagementConfigurationIntegerSettingValueDefinitionTemplatewithUnmappedField(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
-
maxValue
protected Integer maxValue
-
minValue
protected Integer minValue
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getMaxValue
public Optional<Integer> getMaxValue()
“Integer Setting Maximum Value. Valid values -2147483648 to 2147483647”- Returns:
- property maxValue
-
withMaxValue
public DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate withMaxValue(Integer maxValue)
Returns an immutable copy ofthiswith just themaxValuefield 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.“Integer Setting Maximum Value. Valid values -2147483648 to 2147483647”
- Parameters:
maxValue- new value ofmaxValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaxValuefield changed
-
getMinValue
public Optional<Integer> getMinValue()
“Integer Setting Minimum Value. Valid values -2147483648 to 2147483647”- Returns:
- property minValue
-
withMinValue
public DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate withMinValue(Integer minValue)
Returns an immutable copy ofthiswith just theminValuefield 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.“Integer Setting Minimum Value. Valid values -2147483648 to 2147483647”
- Parameters:
minValue- new value ofminValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminValuefield changed
-
withUnmappedField
public DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate 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 DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.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
-
-