Class PrinterDefaults

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

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

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • colorMode

      @SerializedName(value="colorMode", alternate="ColorMode") @Expose @Nullable public PrintColorMode colorMode
      The Color Mode. The default color mode to use when printing the document. Valid values are described in the following table.
    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentType
      The Content Type. The default content (MIME) type to use when processing documents.
    • copiesPerJob

      @SerializedName(value="copiesPerJob", alternate="CopiesPerJob") @Expose @Nullable public Integer copiesPerJob
      The Copies Per Job. The default number of copies printed per job.
    • dpi

      @SerializedName(value="dpi", alternate="Dpi") @Expose @Nullable public Integer dpi
      The Dpi. The default resolution in DPI to use when printing the job.
    • duplexMode

      @SerializedName(value="duplexMode", alternate="DuplexMode") @Expose @Nullable public PrintDuplexMode duplexMode
      The Duplex Mode. The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table.
    • finishings

      @SerializedName(value="finishings", alternate="Finishings") @Expose @Nullable public List<PrintFinishing> finishings
      The Finishings. The default set of finishings to apply to print jobs. Valid values are described in the following table.
    • fitPdfToPage

      @SerializedName(value="fitPdfToPage", alternate="FitPdfToPage") @Expose @Nullable public Boolean fitPdfToPage
      The Fit Pdf To Page. The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let the printer decide how to lay out impressions.
    • inputBin

      @SerializedName(value="inputBin", alternate="InputBin") @Expose @Nullable public String inputBin
      The Input Bin.
    • mediaColor

      @SerializedName(value="mediaColor", alternate="MediaColor") @Expose @Nullable public String mediaColor
      The Media Color. The default media (such as paper) color to print the document on.
    • mediaSize

      @SerializedName(value="mediaSize", alternate="MediaSize") @Expose @Nullable public String mediaSize
      The Media Size. The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic.
    • mediaType

      @SerializedName(value="mediaType", alternate="MediaType") @Expose @Nullable public String mediaType
      The Media Type. The default media (such as paper) type to print the document on.
    • multipageLayout

      @SerializedName(value="multipageLayout", alternate="MultipageLayout") @Expose @Nullable public PrintMultipageLayout multipageLayout
      The Multipage Layout. The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table.
    • orientation

      @SerializedName(value="orientation", alternate="Orientation") @Expose @Nullable public PrintOrientation orientation
      The Orientation. The default orientation to use when printing the document. Valid values are described in the following table.
    • outputBin

      @SerializedName(value="outputBin", alternate="OutputBin") @Expose @Nullable public String outputBin
      The Output Bin. The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.
    • pagesPerSheet

      @SerializedName(value="pagesPerSheet", alternate="PagesPerSheet") @Expose @Nullable public Integer pagesPerSheet
      The Pages Per Sheet. The default number of document pages to print on each sheet.
    • quality

      @SerializedName(value="quality", alternate="Quality") @Expose @Nullable public PrintQuality quality
      The Quality. The default quality to use when printing the document. Valid values are described in the following table.
    • scaling

      @SerializedName(value="scaling", alternate="Scaling") @Expose @Nullable public PrintScaling scaling
      The Scaling. Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table.
  • Constructor Details

    • PrinterDefaults

      public PrinterDefaults()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to