Class DeviceManagementConfigurationIntegerSettingValueDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValueDefinition
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationIntegerSettingValueDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationIntegerSettingValueDefinition extends DeviceManagementConfigurationSettingValueDefinition implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationIntegerSettingValueDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LongmaximumValueprotected LongminimumValue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValueDefinition
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationIntegerSettingValueDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationIntegerSettingValueDefinition.BuilderbuilderDeviceManagementConfigurationIntegerSettingValueDefinition()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Long>getMaximumValue()“Maximum allowed value of the integer”Optional<Long>getMinimumValue()“Minimum allowed value of the integer”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationIntegerSettingValueDefinitionwithMaximumValue(Long maximumValue)Returns an immutable copy ofthiswith just themaximumValuefield changed.DeviceManagementConfigurationIntegerSettingValueDefinitionwithMinimumValue(Long minimumValue)Returns an immutable copy ofthiswith just theminimumValuefield changed.DeviceManagementConfigurationIntegerSettingValueDefinitionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingValueDefinition
builder
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationSettingValueDefinition
-
getMaximumValue
public Optional<Long> getMaximumValue()
“Maximum allowed value of the integer”- Returns:
- property maximumValue
-
withMaximumValue
public DeviceManagementConfigurationIntegerSettingValueDefinition withMaximumValue(Long maximumValue)
Returns an immutable copy ofthiswith just themaximumValuefield 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.“Maximum allowed value of the integer”
- Parameters:
maximumValue- new value ofmaximumValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumValuefield changed
-
getMinimumValue
public Optional<Long> getMinimumValue()
“Minimum allowed value of the integer”- Returns:
- property minimumValue
-
withMinimumValue
public DeviceManagementConfigurationIntegerSettingValueDefinition withMinimumValue(Long minimumValue)
Returns an immutable copy ofthiswith just theminimumValuefield 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.“Minimum allowed value of the integer”
- Parameters:
minimumValue- new value ofminimumValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumValuefield changed
-
withUnmappedField
public DeviceManagementConfigurationIntegerSettingValueDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSettingValueDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSettingValueDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSettingValueDefinition
-
builderDeviceManagementConfigurationIntegerSettingValueDefinition
public static DeviceManagementConfigurationIntegerSettingValueDefinition.Builder builderDeviceManagementConfigurationIntegerSettingValueDefinition()
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 classDeviceManagementConfigurationSettingValueDefinition
-
-