Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Color Mode.The Content Type.The Copies Per Job.The Dpi.The Duplex Mode.The Finishings.The Fit Pdf To Page.The Input Bin.The Media Color.The Media Size.The Media Type.The Multipage Layout.the OData type of the object as returned by the serviceThe Orientation.The Output Bin.The Pages Per Sheet.The Quality.The Scaling. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
colorMode
@SerializedName(value="colorMode", alternate="ColorMode") @Expose @Nullable public PrintColorMode colorModeThe 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 contentTypeThe Content Type. The default content (MIME) type to use when processing documents. -
copiesPerJob
@SerializedName(value="copiesPerJob", alternate="CopiesPerJob") @Expose @Nullable public Integer copiesPerJobThe Copies Per Job. The default number of copies printed per job. -
dpi
The Dpi. The default resolution in DPI to use when printing the job. -
duplexMode
@SerializedName(value="duplexMode", alternate="DuplexMode") @Expose @Nullable public PrintDuplexMode duplexModeThe 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> finishingsThe 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 fitPdfToPageThe 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
The Input Bin. -
mediaColor
@SerializedName(value="mediaColor", alternate="MediaColor") @Expose @Nullable public String mediaColorThe Media Color. The default media (such as paper) color to print the document on. -
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
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 multipageLayoutThe 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 orientationThe Orientation. The default orientation to use when printing the document. Valid values are described in the following table. -
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 pagesPerSheetThe Pages Per Sheet. The default number of document pages to print on each sheet. -
quality
The Quality. The default quality to use when printing the document. Valid values are described in the following table. -
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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-