Package odata.msgraph.client.entity
Class DataPolicyOperation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DataPolicyOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DataPolicyOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataPolicyOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecompletedDateTimeprotected Doubleprogressprotected DataPolicyOperationStatusstatusprotected StringstorageLocationprotected OffsetDateTimesubmittedDateTimeprotected StringuserId-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataPolicyOperation()
-
Method Summary
-
-
-
Field Detail
-
completedDateTime
protected OffsetDateTime completedDateTime
-
progress
protected Double progress
-
status
protected DataPolicyOperationStatus status
-
storageLocation
protected String storageLocation
-
submittedDateTime
protected OffsetDateTime submittedDateTime
-
userId
protected String userId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDataPolicyOperation
public static DataPolicyOperation.Builder builderDataPolicyOperation()
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
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
-
withCompletedDateTime
public DataPolicyOperation withCompletedDateTime(OffsetDateTime completedDateTime)
-
withProgress
public DataPolicyOperation withProgress(Double progress)
-
getStatus
public Optional<DataPolicyOperationStatus> getStatus()
-
withStatus
public DataPolicyOperation withStatus(DataPolicyOperationStatus status)
-
withStorageLocation
public DataPolicyOperation withStorageLocation(String storageLocation)
-
getSubmittedDateTime
public Optional<OffsetDateTime> getSubmittedDateTime()
-
withSubmittedDateTime
public DataPolicyOperation withSubmittedDateTime(OffsetDateTime submittedDateTime)
-
withUserId
public DataPolicyOperation withUserId(String userId)
-
withUnmappedField
public DataPolicyOperation 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 DataPolicyOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DataPolicyOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-