public class LongRunningOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
LongRunningOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected OffsetDateTime |
lastActionDateTime |
protected String |
resourceLocation |
protected LongRunningOperationStatus |
status |
protected String |
statusDetail |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
LongRunningOperation() |
| Modifier and Type | Method and Description |
|---|---|
static LongRunningOperation.Builder |
builderLongRunningOperation()
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> |
getCreatedDateTime() |
Optional<OffsetDateTime> |
getLastActionDateTime() |
Optional<String> |
getResourceLocation() |
Optional<LongRunningOperationStatus> |
getStatus() |
Optional<String> |
getStatusDetail() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
LongRunningOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
LongRunningOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
LongRunningOperation |
withCreatedDateTime(OffsetDateTime createdDateTime) |
LongRunningOperation |
withLastActionDateTime(OffsetDateTime lastActionDateTime) |
LongRunningOperation |
withResourceLocation(String resourceLocation) |
LongRunningOperation |
withStatus(LongRunningOperationStatus status) |
LongRunningOperation |
withStatusDetail(String statusDetail) |
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastActionDateTime
protected LongRunningOperationStatus status
protected String statusDetail
protected String resourceLocation
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static LongRunningOperation.Builder builderLongRunningOperation()
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> getCreatedDateTime()
public LongRunningOperation withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<OffsetDateTime> getLastActionDateTime()
public LongRunningOperation withLastActionDateTime(OffsetDateTime lastActionDateTime)
public Optional<LongRunningOperationStatus> getStatus()
public LongRunningOperation withStatus(LongRunningOperationStatus status)
public LongRunningOperation withStatusDetail(String statusDetail)
public LongRunningOperation withResourceLocation(String resourceLocation)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic LongRunningOperation patch()
this with changed fields reset.public LongRunningOperation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.