public class EnrollmentRestrictionsConfigurationPolicySetItem extends PolicySetItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EnrollmentRestrictionsConfigurationPolicySetItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
limit |
protected Integer |
priority |
createdDateTime, displayName, errorCode, guidedDeploymentTags, guidedDeploymentTagsNextLink, itemType, lastModifiedDateTime, payloadId, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EnrollmentRestrictionsConfigurationPolicySetItem() |
| Modifier and Type | Method and Description |
|---|---|
static EnrollmentRestrictionsConfigurationPolicySetItem.Builder |
builderEnrollmentRestrictionsConfigurationPolicySetItem()
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()
“Limit of the EnrollmentRestrictionsConfigurationPolicySetItem.”
|
Optional<Integer> |
getPriority()
“Priority of the EnrollmentRestrictionsConfigurationPolicySetItem.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
EnrollmentRestrictionsConfigurationPolicySetItem |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EnrollmentRestrictionsConfigurationPolicySetItem |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EnrollmentRestrictionsConfigurationPolicySetItem |
withLimit(Integer limit)
Returns an immutable copy of
this with just the limit field
changed. |
EnrollmentRestrictionsConfigurationPolicySetItem |
withPriority(Integer priority)
Returns an immutable copy of
this with just the priority field
changed. |
getCreatedDateTime, getDisplayName, getErrorCode, getGuidedDeploymentTags, getItemType, getLastModifiedDateTime, getPayloadId, getStatus, withCreatedDateTime, withDisplayName, withErrorCode, withItemType, withLastModifiedDateTime, withPayloadId, withStatusprotected EnrollmentRestrictionsConfigurationPolicySetItem()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PolicySetItempublic static EnrollmentRestrictionsConfigurationPolicySetItem.Builder builderEnrollmentRestrictionsConfigurationPolicySetItem()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class PolicySetItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class PolicySetItempublic Optional<Integer> getPriority()
public EnrollmentRestrictionsConfigurationPolicySetItem withPriority(Integer priority)
this with just the priority 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.
“Priority of the EnrollmentRestrictionsConfigurationPolicySetItem.”
priority - new value of priority field (as defined in service metadata)this with just the priority field changedpublic Optional<Integer> getLimit()
public EnrollmentRestrictionsConfigurationPolicySetItem 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.
“Limit of the EnrollmentRestrictionsConfigurationPolicySetItem.”
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 PolicySetItempublic EnrollmentRestrictionsConfigurationPolicySetItem patch()
this with changed fields reset.patch in class PolicySetItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic EnrollmentRestrictionsConfigurationPolicySetItem put()
this
with changed fields reset (they were ignored anyway).put in class PolicySetItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class PolicySetItemCopyright © 2018–2020. All rights reserved.