public class PrintJob extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrintJob.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected UserIdentity |
createdBy |
protected OffsetDateTime |
createdDateTime |
protected PrintJobStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrintJob() |
| Modifier and Type | Method and Description |
|---|---|
static PrintJob.Builder |
builderPrintJob()
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.ActionRequestNoReturn |
cancelPrintJob() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<UserIdentity> |
getCreatedBy() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
PrintDocumentCollectionRequest |
getDocuments() |
Optional<PrintJobStatus> |
getStatus() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PrintJob |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PrintJob |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<PrintJobStatus> |
startPrintJob() |
String |
toString() |
PrintJob |
withCreatedBy(UserIdentity createdBy) |
PrintJob |
withCreatedDateTime(OffsetDateTime createdDateTime) |
PrintJob |
withStatus(PrintJobStatus status) |
protected OffsetDateTime createdDateTime
protected PrintJobStatus status
protected UserIdentity createdBy
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PrintJob.Builder builderPrintJob()
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<OffsetDateTime> getCreatedDateTime()
public PrintJob withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<PrintJobStatus> getStatus()
public PrintJob withStatus(PrintJobStatus status)
public Optional<UserIdentity> getCreatedBy()
public PrintJob withCreatedBy(UserIdentity createdBy)
public PrintDocumentCollectionRequest getDocuments()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrintJob patch()
this with changed fields reset.public PrintJob put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn cancelPrintJob()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<PrintJobStatus> startPrintJob()
Copyright © 2018–2020. All rights reserved.