public class Command extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Command.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appServiceName |
protected String |
error |
protected String |
packageFamilyName |
protected PayloadRequest |
payload |
protected String |
permissionTicket |
protected String |
postBackUri |
protected String |
status |
protected String |
type |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Command() |
| Modifier and Type | Method and Description |
|---|---|
static Command.Builder |
builderCommand()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAppServiceName() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getError() |
Optional<String> |
getPackageFamilyName() |
Optional<PayloadRequest> |
getPayload() |
Optional<String> |
getPermissionTicket() |
Optional<String> |
getPostBackUri() |
PayloadResponseRequest |
getResponsepayload() |
Optional<String> |
getStatus() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Command |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Command |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Command |
withAppServiceName(String appServiceName) |
Command |
withError(String error) |
Command |
withPackageFamilyName(String packageFamilyName) |
Command |
withPayload(PayloadRequest payload) |
Command |
withPermissionTicket(String permissionTicket) |
Command |
withPostBackUri(String postBackUri) |
Command |
withStatus(String status) |
Command |
withType(String type) |
protected String status
protected String type
protected String appServiceName
protected String packageFamilyName
protected String error
protected PayloadRequest payload
protected String permissionTicket
protected String postBackUri
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Command.Builder builderCommand()
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<PayloadRequest> getPayload()
public Command withPayload(PayloadRequest payload)
public PayloadResponseRequest getResponsepayload()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Command patch()
this with changed fields reset.public Command put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.