Package com.microsoft.graph.models
Class Printer
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrinterBase
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Connectors.The Has Physical Device.The Is Shared.The Last Seen Date Time.The Registered Date Time.The Shares.The Task Triggers.Fields inherited from class com.microsoft.graph.models.PrinterBase
capabilities, defaults, displayName, isAcceptingJobs, jobs, location, manufacturer, model, status
-
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
-
hasPhysicalDevice
@SerializedName(value="hasPhysicalDevice", alternate="HasPhysicalDevice") @Expose @Nullable public Boolean hasPhysicalDeviceThe Has Physical Device. True if the printer has a physical device for printing. Read-only. -
lastSeenDateTime
@SerializedName(value="lastSeenDateTime", alternate="LastSeenDateTime") @Expose @Nullable public OffsetDateTime lastSeenDateTimeThe 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 registeredDateTimeThe Registered Date Time. The DateTimeOffset when the printer was registered. Read-only. -
connectors
The Connectors. The connectors that are associated with the printer. -
taskTriggers
@SerializedName(value="taskTriggers", alternate="TaskTriggers") @Expose @Nullable public PrintTaskTriggerCollectionPage taskTriggersThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classPrinterBase
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-