public class ConnectionOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionOperation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ErrorDetail |
error |
protected ConnectionOperationStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionOperation() |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionOperation.Builder |
builderConnectionOperation()
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<ErrorDetail> |
getError() |
Optional<ConnectionOperationStatus> |
getStatus() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ConnectionOperation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ConnectionOperation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ConnectionOperation |
withError(ErrorDetail error) |
ConnectionOperation |
withStatus(ConnectionOperationStatus status) |
protected ConnectionOperationStatus status
protected ErrorDetail error
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ConnectionOperation.Builder builderConnectionOperation()
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<ConnectionOperationStatus> getStatus()
public ConnectionOperation withStatus(ConnectionOperationStatus status)
public Optional<ErrorDetail> getError()
public ConnectionOperation withError(ErrorDetail error)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ConnectionOperation patch()
this with changed fields reset.public ConnectionOperation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.