Class 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 Details

    • allowAllUsers

      @SerializedName(value="allowAllUsers", alternate="AllowAllUsers") @Expose @Nullable public Boolean allowAllUsers
      The 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 createdDateTime
      The Created Date Time. The DateTimeOffset when the printer share was created. Read-only.
    • viewPoint

      @SerializedName(value="viewPoint", alternate="ViewPoint") @Expose @Nullable public PrinterShareViewpoint viewPoint
      The View Point. Additional data for a printer share as viewed by the signed-in user.
    • allowedGroups

      @Nullable public GroupCollectionPage allowedGroups
      The Allowed Groups. The groups whose users have access to print using the printer.
    • allowedUsers

      @Nullable public UserCollectionPage allowedUsers
      The Allowed Users. The users who have access to print using the printer.
    • printer

      @SerializedName(value="printer", alternate="Printer") @Expose @Nullable public 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class PrinterBase
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to