Class CaseOperation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.CaseOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
EdiscoveryAddToReviewSetOperation,EdiscoveryEstimateOperation,EdiscoveryExportOperation,EdiscoveryHoldOperation,EdiscoveryIndexOperation,EdiscoveryPurgeDataOperation,EdiscoveryTagOperation
public class CaseOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCaseOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected CaseActionactionprotected OffsetDateTimecompletedDateTimeprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected IntegerpercentProgressprotected ResultInforesultInfoprotected CaseOperationStatusstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCaseOperation()
-
Method Summary
-
-
-
Field Detail
-
action
protected CaseAction action
-
completedDateTime
protected OffsetDateTime completedDateTime
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
percentProgress
protected Integer percentProgress
-
resultInfo
protected ResultInfo resultInfo
-
status
protected CaseOperationStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCaseOperation
public static CaseOperation.Builder builderCaseOperation()
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
-
getAction
public Optional<CaseAction> getAction()
-
withAction
public CaseOperation withAction(CaseAction action)
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
-
withCompletedDateTime
public CaseOperation withCompletedDateTime(OffsetDateTime completedDateTime)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public CaseOperation withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public CaseOperation withCreatedDateTime(OffsetDateTime createdDateTime)
-
withPercentProgress
public CaseOperation withPercentProgress(Integer percentProgress)
-
getResultInfo
public Optional<ResultInfo> getResultInfo()
-
withResultInfo
public CaseOperation withResultInfo(ResultInfo resultInfo)
-
getStatus
public Optional<CaseOperationStatus> getStatus()
-
withStatus
public CaseOperation withStatus(CaseOperationStatus status)
-
withUnmappedField
public CaseOperation withUnmappedField(String name, Object 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 CaseOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public CaseOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-