Package odata.msgraph.client.entity
Class PrintOperation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.PrintOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
PrinterCreateOperation
public class PrintOperation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected PrintOperationStatusstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrintOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()Optional<PrintOperationStatus>getStatus()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()PrintOperationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)PrintOperationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PrintOperationwithCreatedDateTime(OffsetDateTime createdDateTime)PrintOperationwithStatus(PrintOperationStatus status)PrintOperationwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
status
protected PrintOperationStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public PrintOperation withCreatedDateTime(OffsetDateTime createdDateTime)
-
getStatus
public Optional<PrintOperationStatus> getStatus()
-
withStatus
public PrintOperation withStatus(PrintOperationStatus status)
-
withUnmappedField
public PrintOperation withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public PrintOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public PrintOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-