public class GroupPolicyObjectFile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyObjectFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected OffsetDateTime |
createdDateTime |
protected String |
groupPolicyObjectId |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
ouDistinguishedName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyObjectFile() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyObjectFile.Builder |
builderGroupPolicyObjectFile()
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<String> |
getContent()
“The Group Policy Object file content.”
|
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date and time at which the GroupPolicy was first uploaded.”
|
Optional<String> |
getGroupPolicyObjectId()
“The Group Policy Object GUID from GPO Xml content”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time at which the GroupPolicyObjectFile was last modified.”
|
Optional<String> |
getOuDistinguishedName()
“The distinguished name of the OU.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyObjectFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyObjectFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyObjectFile |
withContent(String content)
Returns an immutable copy of
this with just the content field
changed. |
GroupPolicyObjectFile |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
GroupPolicyObjectFile |
withGroupPolicyObjectId(String groupPolicyObjectId)
Returns an immutable copy of
this with just the groupPolicyObjectId field changed. |
GroupPolicyObjectFile |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
GroupPolicyObjectFile |
withOuDistinguishedName(String ouDistinguishedName)
Returns an immutable copy of
this with just the ouDistinguishedName field changed. |
protected String groupPolicyObjectId
protected String ouDistinguishedName
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String content
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyObjectFile.Builder builderGroupPolicyObjectFile()
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> getGroupPolicyObjectId()
public GroupPolicyObjectFile withGroupPolicyObjectId(String groupPolicyObjectId)
this with just the groupPolicyObjectId 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 Group Policy Object GUID from GPO Xml content”
groupPolicyObjectId - new value of groupPolicyObjectId field (as defined in service metadata)this with just the groupPolicyObjectId field changedpublic Optional<String> getOuDistinguishedName()
public GroupPolicyObjectFile withOuDistinguishedName(String ouDistinguishedName)
this with just the ouDistinguishedName 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 distinguished name of the OU.”
ouDistinguishedName - new value of ouDistinguishedName field (as defined in service metadata)this with just the ouDistinguishedName field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public GroupPolicyObjectFile 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 at which the GroupPolicy was first uploaded.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyObjectFile 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 at which the GroupPolicyObjectFile was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getContent()
public GroupPolicyObjectFile withContent(String content)
this with just the content 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 Group Policy Object file content.”
content - new value of content field (as defined in service metadata)this with just the content field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyObjectFile patch()
this with changed fields reset.public GroupPolicyObjectFile put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.