public class DeviceManagementSettingIntegerConstraint extends DeviceManagementConstraint implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingIntegerConstraint.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
maximumValue |
protected Integer |
minimumValue |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingIntegerConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingIntegerConstraint.Builder |
builderDeviceManagementSettingIntegerConstraint()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getMaximumValue()
“The maximum permitted value”
|
Optional<Integer> |
getMinimumValue()
“The minimum permitted value”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementSettingIntegerConstraint |
withMaximumValue(Integer maximumValue)
Returns an immutable copy of
this with just the maximumValue
field changed. |
DeviceManagementSettingIntegerConstraint |
withMinimumValue(Integer minimumValue)
Returns an immutable copy of
this with just the minimumValue
field changed. |
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer minimumValue
protected Integer maximumValue
protected DeviceManagementSettingIntegerConstraint()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementConstraintpublic Optional<Integer> getMinimumValue()
public DeviceManagementSettingIntegerConstraint withMinimumValue(Integer minimumValue)
this with just the minimumValue
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The minimum permitted value”
minimumValue - new value of minimumValue field (as defined in service metadata)this with just the minimumValue field changedpublic Optional<Integer> getMaximumValue()
public DeviceManagementSettingIntegerConstraint withMaximumValue(Integer maximumValue)
this with just the maximumValue
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The maximum permitted value”
maximumValue - new value of maximumValue field (as defined in service metadata)this with just the maximumValue field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceManagementConstraintpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceManagementConstraintpublic static DeviceManagementSettingIntegerConstraint.Builder builderDeviceManagementSettingIntegerConstraint()
public String toString()
toString in class DeviceManagementConstraintCopyright © 2018–2020. All rights reserved.