public class OnenoteOperation extends Operation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
OnenoteOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OnenoteOperationError |
error |
protected String |
percentComplete |
protected String |
resourceId |
protected String |
resourceLocation |
createdDateTime, lastActionDateTime, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OnenoteOperation() |
| Modifier and Type | Method and Description |
|---|---|
static OnenoteOperation.Builder |
builderOnenoteOperation()
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<OnenoteOperationError> |
getError() |
Optional<String> |
getPercentComplete() |
Optional<String> |
getResourceId() |
Optional<String> |
getResourceLocation() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OnenoteOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OnenoteOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OnenoteOperation |
withError(OnenoteOperationError error) |
OnenoteOperation |
withPercentComplete(String percentComplete) |
OnenoteOperation |
withResourceId(String resourceId) |
OnenoteOperation |
withResourceLocation(String resourceLocation) |
builderOperation, getCreatedDateTime, getLastActionDateTime, getStatus, withCreatedDateTime, withLastActionDateTime, withStatusprotected String resourceLocation
protected String resourceId
protected OnenoteOperationError error
protected String percentComplete
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Operationpublic static OnenoteOperation.Builder builderOnenoteOperation()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Operationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Operationpublic OnenoteOperation withResourceLocation(String resourceLocation)
public OnenoteOperation withResourceId(String resourceId)
public Optional<OnenoteOperationError> getError()
public OnenoteOperation withError(OnenoteOperationError error)
public OnenoteOperation withPercentComplete(String percentComplete)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Operationpublic OnenoteOperation patch()
this with changed fields reset.public OnenoteOperation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.