public class DeviceManagementSettingCollectionConstraint extends DeviceManagementConstraint implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingCollectionConstraint.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
maximumLength |
protected Integer |
minimumLength |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingCollectionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingCollectionConstraint.Builder |
builderDeviceManagementSettingCollectionConstraint()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getMaximumLength()
“The maximum number of elements in the collection”
|
Optional<Integer> |
getMinimumLength()
“The minimum number of elements in the collection”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementSettingCollectionConstraint |
withMaximumLength(Integer maximumLength)
Returns an immutable copy of
this with just the maximumLength
field changed. |
DeviceManagementSettingCollectionConstraint |
withMinimumLength(Integer minimumLength)
Returns an immutable copy of
this with just the minimumLength
field changed. |
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer minimumLength
protected Integer maximumLength
protected DeviceManagementSettingCollectionConstraint()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementConstraintpublic Optional<Integer> getMinimumLength()
public DeviceManagementSettingCollectionConstraint withMinimumLength(Integer minimumLength)
this with just the minimumLength
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 number of elements in the collection”
minimumLength - new value of minimumLength field (as defined in service metadata)this with just the minimumLength field changedpublic Optional<Integer> getMaximumLength()
public DeviceManagementSettingCollectionConstraint withMaximumLength(Integer maximumLength)
this with just the maximumLength
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 number of elements in the collection”
maximumLength - new value of maximumLength field (as defined in service metadata)this with just the maximumLength 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 DeviceManagementSettingCollectionConstraint.Builder builderDeviceManagementSettingCollectionConstraint()
public String toString()
toString in class DeviceManagementConstraintCopyright © 2018–2020. All rights reserved.