public class GroupPolicyOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
lastModifiedDateTime |
protected GroupPolicyOperationStatus |
operationStatus |
protected GroupPolicyOperationType |
operationType |
protected String |
statusDetails |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyOperation() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyOperation.Builder |
builderGroupPolicyOperation()
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<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the entity was last modified.”
|
Optional<GroupPolicyOperationStatus> |
getOperationStatus()
“The group policy operation status.”
|
Optional<GroupPolicyOperationType> |
getOperationType()
“The type of group policy operation.”
|
Optional<String> |
getStatusDetails()
“The group policy operation status detail.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyOperation |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
GroupPolicyOperation |
withOperationStatus(GroupPolicyOperationStatus operationStatus)
Returns an immutable copy of
this with just the operationStatus
field changed. |
GroupPolicyOperation |
withOperationType(GroupPolicyOperationType operationType)
Returns an immutable copy of
this with just the operationType
field changed. |
GroupPolicyOperation |
withStatusDetails(String statusDetails)
Returns an immutable copy of
this with just the statusDetails
field changed. |
protected GroupPolicyOperationType operationType
protected GroupPolicyOperationStatus operationStatus
protected String statusDetails
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GroupPolicyOperation.Builder builderGroupPolicyOperation()
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<GroupPolicyOperationType> getOperationType()
public GroupPolicyOperation withOperationType(GroupPolicyOperationType operationType)
this with just the operationType
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 type of group policy operation.”
operationType - new value of operationType field (as defined in service metadata)this with just the operationType field changedpublic Optional<GroupPolicyOperationStatus> getOperationStatus()
public GroupPolicyOperation withOperationStatus(GroupPolicyOperationStatus operationStatus)
this with just the operationStatus
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 operation status.”
operationStatus - new value of operationStatus field (as defined in service metadata)this with just the operationStatus field changedpublic Optional<String> getStatusDetails()
public GroupPolicyOperation withStatusDetails(String statusDetails)
this with just the statusDetails
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 operation status detail.”
statusDetails - new value of statusDetails field (as defined in service metadata)this with just the statusDetails field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public GroupPolicyOperation 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 com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GroupPolicyOperation patch()
this with changed fields reset.public GroupPolicyOperation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.