public class DataPolicyOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DataPolicyOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
completedDateTime |
protected Double |
progress |
protected DataPolicyOperationStatus |
status |
protected String |
storageLocation |
protected OffsetDateTime |
submittedDateTime |
protected String |
userId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DataPolicyOperation() |
| Modifier and Type | Method and Description |
|---|---|
static DataPolicyOperation.Builder |
builderDataPolicyOperation()
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> |
getCompletedDateTime() |
Optional<Double> |
getProgress() |
Optional<DataPolicyOperationStatus> |
getStatus() |
Optional<String> |
getStorageLocation() |
Optional<OffsetDateTime> |
getSubmittedDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId() |
String |
odataTypeName() |
DataPolicyOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DataPolicyOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DataPolicyOperation |
withCompletedDateTime(OffsetDateTime completedDateTime) |
DataPolicyOperation |
withProgress(Double progress) |
DataPolicyOperation |
withStatus(DataPolicyOperationStatus status) |
DataPolicyOperation |
withStorageLocation(String storageLocation) |
DataPolicyOperation |
withSubmittedDateTime(OffsetDateTime submittedDateTime) |
DataPolicyOperation |
withUserId(String userId) |
protected OffsetDateTime completedDateTime
protected DataPolicyOperationStatus status
protected String storageLocation
protected String userId
protected OffsetDateTime submittedDateTime
protected Double progress
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DataPolicyOperation.Builder builderDataPolicyOperation()
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<OffsetDateTime> getCompletedDateTime()
public DataPolicyOperation withCompletedDateTime(OffsetDateTime completedDateTime)
public Optional<DataPolicyOperationStatus> getStatus()
public DataPolicyOperation withStatus(DataPolicyOperationStatus status)
public DataPolicyOperation withStorageLocation(String storageLocation)
public DataPolicyOperation withUserId(String userId)
public Optional<OffsetDateTime> getSubmittedDateTime()
public DataPolicyOperation withSubmittedDateTime(OffsetDateTime submittedDateTime)
public DataPolicyOperation withProgress(Double progress)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DataPolicyOperation patch()
this with changed fields reset.public DataPolicyOperation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.