Package com.microsoft.graph.models
Class ArchivedPrintJob
java.lang.Object
com.microsoft.graph.models.ArchivedPrintJob
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ArchivedPrintJob
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchivedPrintJobcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the acquiredByPrinter property value.Gets the acquiredDateTime property value.Gets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the completionDateTime property value.Gets the copiesPrinted property value.Gets the createdBy property value.Gets the createdDateTime property value.The deserialization information for the current modelgetId()Gets the id property value.Gets the @odata.type property value.Gets the printerId property value.Gets the printerName property value.Gets the processingState property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAcquiredByPrinter(Boolean value) Sets the acquiredByPrinter property value.voidSets the acquiredDateTime property value.voidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidSets the completionDateTime property value.voidsetCopiesPrinted(Integer value) Sets the copiesPrinted property value.voidsetCreatedBy(UserIdentity value) Sets the createdBy property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidSets the id property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPrinterId(String value) Sets the printerId property value.voidsetPrinterName(String value) Sets the printerName property value.voidSets the processingState property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
ArchivedPrintJob
public ArchivedPrintJob()Instantiates a newArchivedPrintJoband sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ArchivedPrintJob createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
ArchivedPrintJob
-
getAcquiredByPrinter
Gets the acquiredByPrinter property value. True if the job was acquired by a printer; false otherwise. Read-only.- Returns:
- a
Boolean
-
getAcquiredDateTime
Gets the acquiredDateTime property value. The dateTimeOffset when the job was acquired by the printer, if any. Read-only.- Returns:
- a
OffsetDateTime
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCompletionDateTime
Gets the completionDateTime property value. The dateTimeOffset when the job was completed, canceled, or aborted. Read-only.- Returns:
- a
OffsetDateTime
-
getCopiesPrinted
Gets the copiesPrinted property value. The number of copies that were printed. Read-only.- Returns:
- a
Integer
-
getCreatedBy
Gets the createdBy property value. The user who created the print job. Read-only.- Returns:
- a
UserIdentity
-
getCreatedDateTime
Gets the createdDateTime property value. The dateTimeOffset when the job was created. Read-only.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getId
Gets the id property value. The archived print job's GUID. Read-only.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPrinterId
Gets the printerId property value. The printer ID that the job was queued for. Read-only.- Returns:
- a
String
-
getPrinterName
Gets the printerName property value. The printer name that the job was queued for. Read-only.- Returns:
- a
String
-
getProcessingState
Gets the processingState property value. The processingState property- Returns:
- a
PrintJobProcessingState
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAcquiredByPrinter
Sets the acquiredByPrinter property value. True if the job was acquired by a printer; false otherwise. Read-only.- Parameters:
value- Value to set for the acquiredByPrinter property.
-
setAcquiredDateTime
Sets the acquiredDateTime property value. The dateTimeOffset when the job was acquired by the printer, if any. Read-only.- Parameters:
value- Value to set for the acquiredDateTime property.
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCompletionDateTime
Sets the completionDateTime property value. The dateTimeOffset when the job was completed, canceled, or aborted. Read-only.- Parameters:
value- Value to set for the completionDateTime property.
-
setCopiesPrinted
Sets the copiesPrinted property value. The number of copies that were printed. Read-only.- Parameters:
value- Value to set for the copiesPrinted property.
-
setCreatedBy
Sets the createdBy property value. The user who created the print job. Read-only.- Parameters:
value- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. The dateTimeOffset when the job was created. Read-only.- Parameters:
value- Value to set for the createdDateTime property.
-
setId
Sets the id property value. The archived print job's GUID. Read-only.- Parameters:
value- Value to set for the id property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPrinterId
Sets the printerId property value. The printer ID that the job was queued for. Read-only.- Parameters:
value- Value to set for the printerId property.
-
setPrinterName
Sets the printerName property value. The printer name that the job was queued for. Read-only.- Parameters:
value- Value to set for the printerName property.
-
setProcessingState
Sets the processingState property value. The processingState property- Parameters:
value- Value to set for the processingState property.
-