public class GroupPolicyPresentationValueBoolean extends GroupPolicyPresentationValue implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationValueBoolean.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
value |
createdDateTime, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationValueBoolean() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationValueBoolean.Builder |
builderGroupPolicyPresentationValueBoolean()
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() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Boolean> |
getValue()
“An boolean value for the associated presentation.”
|
String |
odataTypeName() |
GroupPolicyPresentationValueBoolean |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationValueBoolean |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationValueBoolean |
withValue(Boolean value)
Returns an immutable copy of
this with just the value field
changed. |
builderGroupPolicyPresentationValue, getCreatedDateTime, getDefinitionValue, getLastModifiedDateTime, getPresentation, withCreatedDateTime, withLastModifiedDateTimeprotected Boolean value
protected GroupPolicyPresentationValueBoolean()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationValuepublic static GroupPolicyPresentationValueBoolean.Builder builderGroupPolicyPresentationValueBoolean()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyPresentationValuepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyPresentationValuepublic Optional<Boolean> getValue()
public GroupPolicyPresentationValueBoolean withValue(Boolean value)
this with just the value 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.
“An boolean value for the associated presentation.”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationValuepublic GroupPolicyPresentationValueBoolean patch()
this with changed fields reset.patch in class GroupPolicyPresentationValuethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyPresentationValueBoolean put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyPresentationValuethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class GroupPolicyPresentationValueCopyright © 2018–2020. All rights reserved.