public class GroupPolicyDefinitionValue extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyDefinitionValue.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected GroupPolicyConfigurationType |
configurationType |
protected OffsetDateTime |
createdDateTime |
protected Boolean |
enabled |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyDefinitionValue() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyDefinitionValue.Builder |
builderGroupPolicyDefinitionValue()
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<GroupPolicyConfigurationType> |
getConfigurationType()
“Specifies how the value should be configured.
|
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date and time the object was created.”
|
GroupPolicyDefinitionRequest |
getDefinition()
“The associated group policy definition with the value.”
|
Optional<Boolean> |
getEnabled()
“Enables or disables the associated group policy definition.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
GroupPolicyPresentationValueCollectionRequest |
getPresentationValues()
“The associated group policy presentation values with the definition value.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyDefinitionValue |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyDefinitionValue |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyDefinitionValue |
withConfigurationType(GroupPolicyConfigurationType configurationType)
Returns an immutable copy of
this with just the configurationType
field changed. |
GroupPolicyDefinitionValue |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
GroupPolicyDefinitionValue |
withEnabled(Boolean enabled)
Returns an immutable copy of
this with just the enabled field
changed. |
GroupPolicyDefinitionValue |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected OffsetDateTime createdDateTime
protected Boolean enabled
protected GroupPolicyConfigurationType configurationType
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyDefinitionValue.Builder builderGroupPolicyDefinitionValue()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
public GroupPolicyDefinitionValue withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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 date and time the object was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<Boolean> getEnabled()
public GroupPolicyDefinitionValue withEnabled(Boolean enabled)
this with just the enabled 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.
“Enables or disables the associated group policy definition.”
enabled - new value of enabled field (as defined in service metadata)this with just the enabled field changedpublic Optional<GroupPolicyConfigurationType> getConfigurationType()
public GroupPolicyDefinitionValue withConfigurationType(GroupPolicyConfigurationType configurationType)
this with just the configurationType
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.
“Specifies how the value should be configured. This can be either as a Policy or as a Preference.”
configurationType - new value of configurationType field (as defined in service metadata)this with just the configurationType field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyDefinitionValue withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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 date and time the entity was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic GroupPolicyPresentationValueCollectionRequest getPresentationValues()
public GroupPolicyDefinitionRequest getDefinition()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyDefinitionValue patch()
this with changed fields reset.public GroupPolicyDefinitionValue put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.