public class GroupPolicyCategory extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyCategory.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Boolean |
isRoot |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyCategory() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyCategory.Builder |
builderGroupPolicyCategory()
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() |
GroupPolicyCategoryCollectionRequest |
getChildren()
“The children categories”
|
GroupPolicyDefinitionFileRequest |
getDefinitionFile()
“The id of the definition file the category came from”
|
GroupPolicyDefinitionCollectionRequest |
getDefinitions()
“The immediate GroupPolicyDefinition children of the category”
|
Optional<String> |
getDisplayName()
“The string id of the category's display name”
|
Optional<Boolean> |
getIsRoot()
“Defines if the category is a root category”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
GroupPolicyCategoryRequest |
getParent()
“The parent category”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyCategory |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyCategory |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyCategory |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
GroupPolicyCategory |
withIsRoot(Boolean isRoot)
Returns an immutable copy of
this with just the isRoot field
changed. |
GroupPolicyCategory |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected String displayName
protected Boolean isRoot
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyCategory.Builder builderGroupPolicyCategory()
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<String> getDisplayName()
public GroupPolicyCategory withDisplayName(String displayName)
this with just the displayName
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 string id of the category's display name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Boolean> getIsRoot()
public GroupPolicyCategory withIsRoot(Boolean isRoot)
this with just the isRoot 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.
“Defines if the category is a root category”
isRoot - new value of isRoot field (as defined in service metadata)this with just the isRoot field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyCategory 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 GroupPolicyCategoryRequest getParent()
public GroupPolicyCategoryCollectionRequest getChildren()
public GroupPolicyDefinitionCollectionRequest getDefinitions()
public GroupPolicyDefinitionFileRequest getDefinitionFile()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyCategory patch()
this with changed fields reset.public GroupPolicyCategory put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.