Package com.microsoft.graph.models
Class PrinterShare
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrinterBase
com.microsoft.graph.models.PrinterShare
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class PrinterShare
extends PrinterBase
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Printer Share.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Allow All Users.The Allowed Groups.The Allowed Users.The Created Date Time.The Printer.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
-
allowAllUsers
@SerializedName(value="allowAllUsers", alternate="AllowAllUsers") @Expose @Nullable public Boolean allowAllUsersThe Allow All Users. If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. The DateTimeOffset when the printer share was created. Read-only. -
allowedGroups
The Allowed Groups. The groups whose users have access to print using the printer. -
allowedUsers
The Allowed Users. The users who have access to print using the printer. -
printer
The Printer. The printer that this printer share is related to.
-
-
Constructor Details
-
PrinterShare
public PrinterShare()
-
-
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
-