public class GroupPolicyPresentationCheckBox extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationCheckBox.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
defaultChecked |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationCheckBox() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationCheckBox.Builder |
builderGroupPolicyPresentationCheckBox()
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<Boolean> |
getDefaultChecked()
“Default value for the check box.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationCheckBox |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationCheckBox |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationCheckBox |
withDefaultChecked(Boolean defaultChecked)
Returns an immutable copy of
this with just the defaultChecked
field changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected Boolean defaultChecked
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationCheckBox.Builder builderGroupPolicyPresentationCheckBox()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyPresentationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyPresentationpublic Optional<Boolean> getDefaultChecked()
public GroupPolicyPresentationCheckBox withDefaultChecked(Boolean defaultChecked)
this with just the defaultChecked
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.
“Default value for the check box. The default value is false.”
defaultChecked - new value of defaultChecked field (as defined in service metadata)this with just the defaultChecked field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationpublic GroupPolicyPresentationCheckBox patch()
this with changed fields reset.patch in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyPresentationCheckBox put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class GroupPolicyPresentationCopyright © 2018–2020. All rights reserved.