public class RecordOperation extends CommsOperation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected RecordCompletionReason |
completionReason |
protected String |
recordingAccessToken |
protected String |
recordingLocation |
clientContext, resultInfo, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
RecordOperation() |
| Modifier and Type | Method and Description |
|---|---|
static RecordOperation.Builder |
builderRecordOperation()
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<RecordCompletionReason> |
getCompletionReason() |
Optional<String> |
getRecordingAccessToken() |
Optional<String> |
getRecordingLocation() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
RecordOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
RecordOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
RecordOperation |
withCompletionReason(RecordCompletionReason completionReason) |
RecordOperation |
withRecordingAccessToken(String recordingAccessToken) |
RecordOperation |
withRecordingLocation(String recordingLocation) |
builderCommsOperation, getClientContext, getResultInfo, getStatus, withClientContext, withResultInfo, withStatusprotected String recordingLocation
protected String recordingAccessToken
protected RecordCompletionReason completionReason
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class CommsOperationpublic static RecordOperation.Builder builderRecordOperation()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class CommsOperationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class CommsOperationpublic RecordOperation withRecordingLocation(String recordingLocation)
public RecordOperation withRecordingAccessToken(String recordingAccessToken)
public Optional<RecordCompletionReason> getCompletionReason()
public RecordOperation withCompletionReason(RecordCompletionReason completionReason)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class CommsOperationpublic RecordOperation patch()
this with changed fields reset.patch in class CommsOperationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic RecordOperation put()
this
with changed fields reset (they were ignored anyway).put in class CommsOperationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class CommsOperationCopyright © 2018–2020. All rights reserved.