public class DeviceEnrollmentLimitConfiguration extends DeviceEnrollmentConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceEnrollmentLimitConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
limit |
createdDateTime, description, displayName, lastModifiedDateTime, priority, roleScopeTagIds, roleScopeTagIdsNextLink, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceEnrollmentLimitConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceEnrollmentLimitConfiguration.Builder |
builderDeviceEnrollmentLimitConfiguration()
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.internal.ChangedFields |
getChangedFields() |
Optional<Integer> |
getLimit()
“The maximum number of devices that a user can enroll”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceEnrollmentLimitConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceEnrollmentLimitConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceEnrollmentLimitConfiguration |
withLimit(Integer limit)
Returns an immutable copy of
this with just the limit field
changed. |
assign, getAssignments, getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getPriority, getRoleScopeTagIds, getVersion, setPriority, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withPriority, withVersionprotected Integer limit
protected DeviceEnrollmentLimitConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceEnrollmentConfigurationpublic static DeviceEnrollmentLimitConfiguration.Builder builderDeviceEnrollmentLimitConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceEnrollmentConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceEnrollmentConfigurationpublic Optional<Integer> getLimit()
public DeviceEnrollmentLimitConfiguration withLimit(Integer limit)
this with just the limit 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 devices that a user can enroll”
limit - new value of limit field (as defined in service metadata)this with just the limit field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceEnrollmentConfigurationpublic DeviceEnrollmentLimitConfiguration patch()
this with changed fields reset.patch in class DeviceEnrollmentConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DeviceEnrollmentLimitConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceEnrollmentConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceEnrollmentConfigurationCopyright © 2018–2020. All rights reserved.