Package odata.msgraph.client.beta.entity
Class Command
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Command
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Command extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommand.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappServiceNameprotected Stringerrorprotected StringpackageFamilyNameprotected PayloadRequestpayloadprotected StringpermissionTicketprotected StringpostBackUriprotected Stringstatusprotected Stringtype-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Command.BuilderbuilderCommand()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.ChangedFieldsgetChangedFields()Optional<String>getError()Optional<String>getPackageFamilyName()Optional<PayloadRequest>getPayload()Optional<String>getPermissionTicket()Optional<String>getPostBackUri()PayloadResponseRequestgetResponsepayload()Optional<String>getStatus()Optional<String>getType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Commandpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Commandput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()CommandwithAppServiceName(String appServiceName)CommandwithError(String error)CommandwithPackageFamilyName(String packageFamilyName)CommandwithPayload(PayloadRequest payload)CommandwithPermissionTicket(String permissionTicket)CommandwithPostBackUri(String postBackUri)CommandwithStatus(String status)CommandwithType(String type)CommandwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
appServiceName
protected String appServiceName
-
error
protected String error
-
packageFamilyName
protected String packageFamilyName
-
payload
protected PayloadRequest payload
-
permissionTicket
protected String permissionTicket
-
postBackUri
protected String postBackUri
-
status
protected String status
-
type
protected String type
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderCommand
public static Command.Builder builderCommand()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getPayload
public Optional<PayloadRequest> getPayload()
-
withPayload
public Command withPayload(PayloadRequest payload)
-
withUnmappedField
public Command withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getResponsepayload
public PayloadResponseRequest getResponsepayload()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Command patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Command put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-