Class PrintJob

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrintJob
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class PrintJob extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Print Job.
  • Field Details

    • configuration

      @SerializedName(value="configuration", alternate="Configuration") @Expose @Nullable public PrintJobConfiguration configuration
      The Configuration. A group of settings that a printer should use to print a job.
    • createdBy

      @SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public UserIdentity createdBy
      The Created By.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The DateTimeOffset when the job was created. Read-only.
    • isFetchable

      @SerializedName(value="isFetchable", alternate="IsFetchable") @Expose @Nullable public Boolean isFetchable
      The Is Fetchable. If true, document can be fetched by printer.
    • redirectedFrom

      @SerializedName(value="redirectedFrom", alternate="RedirectedFrom") @Expose @Nullable public String redirectedFrom
      The Redirected From. Contains the source job URL, if the job has been redirected from another printer.
    • redirectedTo

      @SerializedName(value="redirectedTo", alternate="RedirectedTo") @Expose @Nullable public String redirectedTo
      The Redirected To. Contains the destination job URL, if the job has been redirected to another printer.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public PrintJobStatus status
      The Status. The status of the print job. Read-only.
    • documents

      @SerializedName(value="documents", alternate="Documents") @Expose @Nullable public PrintDocumentCollectionPage documents
      The Documents.
    • tasks

      @SerializedName(value="tasks", alternate="Tasks") @Expose @Nullable public PrintTaskCollectionPage tasks
      The Tasks. A list of printTasks that were triggered by this print job.
  • Constructor Details

    • PrintJob

      public PrintJob()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to