Package odata.msgraph.client.complex
Class ArchivedPrintJob
- java.lang.Object
-
- odata.msgraph.client.complex.ArchivedPrintJob
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ArchivedPrintJob extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArchivedPrintJob.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanacquiredByPrinterprotected OffsetDateTimeacquiredDateTimeprotected OffsetDateTimecompletionDateTimeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegercopiesPrintedprotected UserIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringidprotected StringodataTypeprotected StringprinterIdprotected PrintJobProcessingStateprocessingStateprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedArchivedPrintJob()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
acquiredByPrinter
protected Boolean acquiredByPrinter
-
acquiredDateTime
protected OffsetDateTime acquiredDateTime
-
completionDateTime
protected OffsetDateTime completionDateTime
-
copiesPrinted
protected Integer copiesPrinted
-
createdBy
protected UserIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
id
protected String id
-
printerId
protected String printerId
-
processingState
protected PrintJobProcessingState processingState
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAcquiredByPrinter
public ArchivedPrintJob withAcquiredByPrinter(Boolean acquiredByPrinter)
-
getAcquiredDateTime
public Optional<OffsetDateTime> getAcquiredDateTime()
-
withAcquiredDateTime
public ArchivedPrintJob withAcquiredDateTime(OffsetDateTime acquiredDateTime)
-
getCompletionDateTime
public Optional<OffsetDateTime> getCompletionDateTime()
-
withCompletionDateTime
public ArchivedPrintJob withCompletionDateTime(OffsetDateTime completionDateTime)
-
withCopiesPrinted
public ArchivedPrintJob withCopiesPrinted(Integer copiesPrinted)
-
getCreatedBy
public Optional<UserIdentity> getCreatedBy()
-
withCreatedBy
public ArchivedPrintJob withCreatedBy(UserIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public ArchivedPrintJob withCreatedDateTime(OffsetDateTime createdDateTime)
-
withId
public ArchivedPrintJob withId(String id)
-
withPrinterId
public ArchivedPrintJob withPrinterId(String printerId)
-
getProcessingState
public Optional<PrintJobProcessingState> getProcessingState()
-
withProcessingState
public ArchivedPrintJob withProcessingState(PrintJobProcessingState processingState)
-
withUnmappedField
public ArchivedPrintJob withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ArchivedPrintJob.Builder builder()
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
-
-