Package com.microsoft.graph.models
Class PrintTask
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrintTask
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Print Task.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Definition.The Parent Url.The Status.The Trigger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
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
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 definitionThe Definition. The printTaskDefinition that was used to create this task. Read-only. -
trigger
@SerializedName(value="trigger", alternate="Trigger") @Expose @Nullable public PrintTaskTrigger triggerThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-