Package com.microsoft.graph.models
Class PrinterDefaults
java.lang.Object
com.microsoft.graph.models.PrinterDefaults
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PrinterDefaults
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrinterDefaultscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the colorMode property value.Gets the contentType property value.Gets the copiesPerJob property value.getDpi()Gets the dpi property value.Gets the duplexMode property value.The deserialization information for the current modelGets the finishings property value.Gets the fitPdfToPage property value.Gets the inputBin property value.Gets the mediaColor property value.Gets the mediaSize property value.Gets the mediaType property value.Gets the multipageLayout property value.Gets the @odata.type property value.Gets the orientation property value.Gets the outputBin property value.Gets the pagesPerSheet property value.Gets the quality property value.Gets the scaling property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetColorMode(PrintColorMode value) Sets the colorMode property value.voidsetContentType(String value) Sets the contentType property value.voidsetCopiesPerJob(Integer value) Sets the copiesPerJob property value.voidSets the dpi property value.voidsetDuplexMode(PrintDuplexMode value) Sets the duplexMode property value.voidsetFinishings(List<PrintFinishing> value) Sets the finishings property value.voidsetFitPdfToPage(Boolean value) Sets the fitPdfToPage property value.voidsetInputBin(String value) Sets the inputBin property value.voidsetMediaColor(String value) Sets the mediaColor property value.voidsetMediaSize(String value) Sets the mediaSize property value.voidsetMediaType(String value) Sets the mediaType property value.voidSets the multipageLayout property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetOrientation(PrintOrientation value) Sets the orientation property value.voidsetOutputBin(String value) Sets the outputBin property value.voidsetPagesPerSheet(Integer value) Sets the pagesPerSheet property value.voidsetQuality(PrintQuality value) Sets the quality property value.voidsetScaling(PrintScaling value) Sets the scaling property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
PrinterDefaults
public PrinterDefaults()Instantiates a newPrinterDefaultsand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrinterDefaults createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
PrinterDefaults
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getColorMode
Gets the colorMode property value. The default color mode to use when printing the document. Valid values are described in the following table.- Returns:
- a
PrintColorMode
-
getContentType
Gets the contentType property value. The default content (MIME) type to use when processing documents.- Returns:
- a
String
-
getCopiesPerJob
Gets the copiesPerJob property value. The default number of copies printed per job.- Returns:
- a
Integer
-
getDpi
Gets the dpi property value. The default resolution in DPI to use when printing the job.- Returns:
- a
Integer
-
getDuplexMode
Gets the duplexMode property value. The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table.- Returns:
- a
PrintDuplexMode
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getFinishings
Gets the finishings property value. The default set of finishings to apply to print jobs. Valid values are described in the following table.- Returns:
- a
List<PrintFinishing>
-
getFitPdfToPage
Gets the fitPdfToPage property value. 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.- Returns:
- a
Boolean
-
getInputBin
Gets the inputBin property value. The default input bin that serves as the paper source.- Returns:
- a
String
-
getMediaColor
Gets the mediaColor property value. The default media (such as paper) color to print the document on.- Returns:
- a
String
-
getMediaSize
Gets the mediaSize property value. The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic.- Returns:
- a
String
-
getMediaType
Gets the mediaType property value. The default media (such as paper) type to print the document on.- Returns:
- a
String
-
getMultipageLayout
Gets the multipageLayout property value. The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table.- Returns:
- a
PrintMultipageLayout
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOrientation
Gets the orientation property value. The default orientation to use when printing the document. Valid values are described in the following table.- Returns:
- a
PrintOrientation
-
getOutputBin
Gets the outputBin property value. The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.- Returns:
- a
String
-
getPagesPerSheet
Gets the pagesPerSheet property value. The default number of document pages to print on each sheet.- Returns:
- a
Integer
-
getQuality
Gets the quality property value. The default quality to use when printing the document. Valid values are described in the following table.- Returns:
- a
PrintQuality
-
getScaling
Gets the scaling property value. Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table.- Returns:
- a
PrintScaling
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setColorMode
Sets the colorMode property value. The default color mode to use when printing the document. Valid values are described in the following table.- Parameters:
value- Value to set for the colorMode property.
-
setContentType
Sets the contentType property value. The default content (MIME) type to use when processing documents.- Parameters:
value- Value to set for the contentType property.
-
setCopiesPerJob
Sets the copiesPerJob property value. The default number of copies printed per job.- Parameters:
value- Value to set for the copiesPerJob property.
-
setDpi
Sets the dpi property value. The default resolution in DPI to use when printing the job.- Parameters:
value- Value to set for the dpi property.
-
setDuplexMode
Sets the duplexMode property value. The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table.- Parameters:
value- Value to set for the duplexMode property.
-
setFinishings
Sets the finishings property value. The default set of finishings to apply to print jobs. Valid values are described in the following table.- Parameters:
value- Value to set for the finishings property.
-
setFitPdfToPage
Sets the fitPdfToPage property value. 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.- Parameters:
value- Value to set for the fitPdfToPage property.
-
setInputBin
Sets the inputBin property value. The default input bin that serves as the paper source.- Parameters:
value- Value to set for the inputBin property.
-
setMediaColor
Sets the mediaColor property value. The default media (such as paper) color to print the document on.- Parameters:
value- Value to set for the mediaColor property.
-
setMediaSize
Sets the mediaSize property value. The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic.- Parameters:
value- Value to set for the mediaSize property.
-
setMediaType
Sets the mediaType property value. The default media (such as paper) type to print the document on.- Parameters:
value- Value to set for the mediaType property.
-
setMultipageLayout
Sets the multipageLayout property value. The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table.- Parameters:
value- Value to set for the multipageLayout property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOrientation
Sets the orientation property value. The default orientation to use when printing the document. Valid values are described in the following table.- Parameters:
value- Value to set for the orientation property.
-
setOutputBin
Sets the outputBin property value. The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.- Parameters:
value- Value to set for the outputBin property.
-
setPagesPerSheet
Sets the pagesPerSheet property value. The default number of document pages to print on each sheet.- Parameters:
value- Value to set for the pagesPerSheet property.
-
setQuality
Sets the quality property value. The default quality to use when printing the document. Valid values are described in the following table.- Parameters:
value- Value to set for the quality property.
-
setScaling
Sets the scaling property value. Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table.- Parameters:
value- Value to set for the scaling property.
-