Class PrintTask

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

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

    • parentUrl

      @SerializedName(value="parentUrl", alternate="ParentUrl") @Expose @Nullable public String parentUrl
      The Parent Url. The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{jobId}. Read-only.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public PrintTaskStatus status
      The Status. The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted.
    • definition

      @SerializedName(value="definition", alternate="Definition") @Expose @Nullable public PrintTaskDefinition definition
      The Definition. The printTaskDefinition that was used to create this task. Read-only.
    • trigger

      @SerializedName(value="trigger", alternate="Trigger") @Expose @Nullable public PrintTaskTrigger trigger
      The Trigger. The printTaskTrigger that triggered this task's execution. Read-only.
  • Constructor Details

    • PrintTask

      public PrintTask()
  • 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