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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • ArchivedPrintJob

      public ArchivedPrintJob()
      Instantiates a new ArchivedPrintJob and 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

      @Nullable public Boolean getAcquiredByPrinter()
      Gets the acquiredByPrinter property value. True if the job was acquired by a printer; false otherwise. Read-only.
      Returns:
      a Boolean
    • getAcquiredDateTime

      @Nullable public OffsetDateTime getAcquiredDateTime()
      Gets the acquiredDateTime property value. The dateTimeOffset when the job was acquired by the printer, if any. Read-only.
      Returns:
      a OffsetDateTime
    • getAdditionalData

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCompletionDateTime

      @Nullable public OffsetDateTime getCompletionDateTime()
      Gets the completionDateTime property value. The dateTimeOffset when the job was completed, canceled, or aborted. Read-only.
      Returns:
      a OffsetDateTime
    • getCopiesPrinted

      @Nullable public Integer getCopiesPrinted()
      Gets the copiesPrinted property value. The number of copies that were printed. Read-only.
      Returns:
      a Integer
    • getCreatedBy

      @Nullable public UserIdentity getCreatedBy()
      Gets the createdBy property value. The user who created the print job. Read-only.
      Returns:
      a UserIdentity
    • getCreatedDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getId

      @Nullable public String getId()
      Gets the id property value. The archived print job's GUID. Read-only.
      Returns:
      a String
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPrinterId

      @Nullable public String getPrinterId()
      Gets the printerId property value. The printer ID that the job was queued for. Read-only.
      Returns:
      a String
    • getPrinterName

      @Nullable public String getPrinterName()
      Gets the printerName property value. The printer name that the job was queued for. Read-only.
      Returns:
      a String
    • getProcessingState

      @Nullable public PrintJobProcessingState 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAcquiredByPrinter

      public void setAcquiredByPrinter(@Nullable Boolean value)
      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

      public void setAcquiredDateTime(@Nullable OffsetDateTime value)
      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

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setCompletionDateTime(@Nullable OffsetDateTime value)
      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

      public void setCopiesPrinted(@Nullable Integer value)
      Sets the copiesPrinted property value. The number of copies that were printed. Read-only.
      Parameters:
      value - Value to set for the copiesPrinted property.
    • setCreatedBy

      public void setCreatedBy(@Nullable UserIdentity value)
      Sets the createdBy property value. The user who created the print job. Read-only.
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The dateTimeOffset when the job was created. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setId

      public void setId(@Nullable String value)
      Sets the id property value. The archived print job's GUID. Read-only.
      Parameters:
      value - Value to set for the id property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPrinterId

      public void setPrinterId(@Nullable String value)
      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

      public void setPrinterName(@Nullable String value)
      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

      public void setProcessingState(@Nullable PrintJobProcessingState value)
      Sets the processingState property value. The processingState property
      Parameters:
      value - Value to set for the processingState property.