Class PrintTaskTrigger

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

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

    • event

      @SerializedName(value="event", alternate="Event") @Expose @Nullable public PrintEvent event
      The Event. The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table.
    • definition

      @SerializedName(value="definition", alternate="Definition") @Expose @Nullable public PrintTaskDefinition definition
      The Definition. An abstract definition that will be used to create a printTask when triggered by a print event. Read-only.
  • Constructor Details

    • PrintTaskTrigger

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