Package odata.msgraph.client.beta.entity
Class GroupPolicyOperation
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.GroupPolicyOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class GroupPolicyOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The entity represents an group policy operation.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupPolicyOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimelastModifiedDateTimeprotected GroupPolicyOperationStatusoperationStatusprotected GroupPolicyOperationTypeoperationTypeprotected StringstatusDetails-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupPolicyOperation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupPolicyOperation.BuilderbuilderGroupPolicyOperation()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()GroupPolicyOperationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)GroupPolicyOperationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()GroupPolicyOperationwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.GroupPolicyOperationwithOperationStatus(GroupPolicyOperationStatus operationStatus)Returns an immutable copy ofthiswith just theoperationStatusfield changed.GroupPolicyOperationwithOperationType(GroupPolicyOperationType operationType)Returns an immutable copy ofthiswith just theoperationTypefield changed.GroupPolicyOperationwithStatusDetails(String statusDetails)Returns an immutable copy ofthiswith just thestatusDetailsfield changed.GroupPolicyOperationwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
operationStatus
protected GroupPolicyOperationStatus operationStatus
-
operationType
protected GroupPolicyOperationType operationType
-
statusDetails
protected String statusDetails
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderGroupPolicyOperation
public static GroupPolicyOperation.Builder builderGroupPolicyOperation()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date and time the entity was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public GroupPolicyOperation withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The date and time the entity was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getOperationStatus
public Optional<GroupPolicyOperationStatus> getOperationStatus()
“The group policy operation status.”- Returns:
- property operationStatus
-
withOperationStatus
public GroupPolicyOperation withOperationStatus(GroupPolicyOperationStatus operationStatus)
Returns an immutable copy ofthiswith just theoperationStatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The group policy operation status.”
- Parameters:
operationStatus- new value ofoperationStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperationStatusfield changed
-
getOperationType
public Optional<GroupPolicyOperationType> getOperationType()
“The type of group policy operation.”- Returns:
- property operationType
-
withOperationType
public GroupPolicyOperation withOperationType(GroupPolicyOperationType operationType)
Returns an immutable copy ofthiswith just theoperationTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The type of group policy operation.”
- Parameters:
operationType- new value ofoperationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperationTypefield changed
-
getStatusDetails
public Optional<String> getStatusDetails()
“The group policy operation status detail.”- Returns:
- property statusDetails
-
withStatusDetails
public GroupPolicyOperation withStatusDetails(String statusDetails)
Returns an immutable copy ofthiswith just thestatusDetailsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The group policy operation status detail.”
- Parameters:
statusDetails- new value ofstatusDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusDetailsfield changed
-
withUnmappedField
public GroupPolicyOperation withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public GroupPolicyOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public GroupPolicyOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-