Class Printer

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Printer extends PrinterBase implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Printer.
  • Field Details

    • hasPhysicalDevice

      @SerializedName(value="hasPhysicalDevice", alternate="HasPhysicalDevice") @Expose @Nullable public Boolean hasPhysicalDevice
      The Has Physical Device. True if the printer has a physical device for printing. Read-only.
    • isShared

      @SerializedName(value="isShared", alternate="IsShared") @Expose @Nullable public Boolean isShared
      The Is Shared. True if the printer is shared; false otherwise. Read-only.
    • lastSeenDateTime

      @SerializedName(value="lastSeenDateTime", alternate="LastSeenDateTime") @Expose @Nullable public OffsetDateTime lastSeenDateTime
      The Last Seen Date Time. The most recent dateTimeOffset when a printer interacted with Universal Print. Read-only.
    • registeredDateTime

      @SerializedName(value="registeredDateTime", alternate="RegisteredDateTime") @Expose @Nullable public OffsetDateTime registeredDateTime
      The Registered Date Time. The DateTimeOffset when the printer was registered. Read-only.
    • connectors

      @Nullable public PrintConnectorCollectionPage connectors
      The Connectors. The connectors that are associated with the printer.
    • shares

      @Nullable public PrinterShareCollectionPage shares
      The Shares. The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable.
    • taskTriggers

      @SerializedName(value="taskTriggers", alternate="TaskTriggers") @Expose @Nullable public PrintTaskTriggerCollectionPage taskTriggers
      The Task Triggers. A list of task triggers that are associated with the printer.
  • Constructor Details

    • Printer

      public Printer()
  • 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 PrinterBase
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to