Package com.microsoft.graph.models
Class PrintJobConfiguration
java.lang.Object
com.microsoft.graph.models.PrintJobConfiguration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PrintJobConfiguration
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 PrintJobConfigurationcreateFromDiscriminatorValue(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 collate property value.Gets the colorMode property value.Gets the copies property value.getDpi()Gets the dpi property value.Gets the duplexMode property value.Gets the feedOrientation 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 margin 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 pageRanges 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.voidsetCollate(Boolean value) Sets the collate property value.voidsetColorMode(PrintColorMode value) Sets the colorMode property value.voidSets the copies property value.voidSets the dpi property value.voidsetDuplexMode(PrintDuplexMode value) Sets the duplexMode property value.voidSets the feedOrientation 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.voidsetMargin(PrintMargin value) Sets the margin 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.voidsetPageRanges(List<IntegerRange> value) Sets the pageRanges 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
-
PrintJobConfiguration
public PrintJobConfiguration()Instantiates a newPrintJobConfigurationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrintJobConfiguration 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
PrintJobConfiguration
-
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
-
getCollate
Gets the collate property value. Whether the printer should collate pages wehen printing multiple copies of a multi-page document.- Returns:
- a
Boolean
-
getColorMode
Gets the colorMode property value. The color mode the printer should use to print the job. Valid values are described in the table below. Read-only.- Returns:
- a
PrintColorMode
-
getCopies
Gets the copies property value. The number of copies that should be printed. Read-only.- Returns:
- a
Integer
-
getDpi
Gets the dpi property value. The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only.- Returns:
- a
Integer
-
getDuplexMode
Gets the duplexMode property value. The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only.- Returns:
- a
PrintDuplexMode
-
getFeedOrientation
Gets the feedOrientation property value. The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only.- Returns:
- a
PrinterFeedOrientation
-
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. Finishing processes to use when printing.- Returns:
- a
List<PrintFinishing>
-
getFitPdfToPage
Gets the fitPdfToPage property value. 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 input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins.- Returns:
- a
String
-
getMargin
Gets the margin property value. The margin settings to use when printing.- Returns:
- a
PrintMargin
-
getMediaSize
Gets the mediaSize property value. The media size to use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values 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 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 orientation setting the printer should use when printing the job. Valid values are described in the following table.- Returns:
- a
PrintOrientation
-
getOutputBin
Gets the outputBin property value. The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.- Returns:
- a
String
-
getPageRanges
Gets the pageRanges property value. The page ranges to print. Read-only.- Returns:
- a
List<IntegerRange>
-
getPagesPerSheet
Gets the pagesPerSheet property value. The number of document pages to print on each sheet.- Returns:
- a
Integer
-
getQuality
Gets the quality property value. The print quality to use when printing the job. Valid values are described in the table below. Read-only.- Returns:
- a
PrintQuality
-
getScaling
Gets the scaling property value. Specifies how the printer should scale 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.
-
setCollate
Sets the collate property value. Whether the printer should collate pages wehen printing multiple copies of a multi-page document.- Parameters:
value- Value to set for the collate property.
-
setColorMode
Sets the colorMode property value. The color mode the printer should use to print the job. Valid values are described in the table below. Read-only.- Parameters:
value- Value to set for the colorMode property.
-
setCopies
Sets the copies property value. The number of copies that should be printed. Read-only.- Parameters:
value- Value to set for the copies property.
-
setDpi
Sets the dpi property value. The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only.- Parameters:
value- Value to set for the dpi property.
-
setDuplexMode
Sets the duplexMode property value. The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only.- Parameters:
value- Value to set for the duplexMode property.
-
setFeedOrientation
Sets the feedOrientation property value. The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only.- Parameters:
value- Value to set for the feedOrientation property.
-
setFinishings
Sets the finishings property value. Finishing processes to use when printing.- Parameters:
value- Value to set for the finishings property.
-
setFitPdfToPage
Sets the fitPdfToPage property value. 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 input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins.- Parameters:
value- Value to set for the inputBin property.
-
setMargin
Sets the margin property value. The margin settings to use when printing.- Parameters:
value- Value to set for the margin property.
-
setMediaSize
Sets the mediaSize property value. The media size to use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values 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 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 orientation setting the printer should use when printing the job. Valid values are described in the following table.- Parameters:
value- Value to set for the orientation property.
-
setOutputBin
Sets the outputBin property value. The 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.
-
setPageRanges
Sets the pageRanges property value. The page ranges to print. Read-only.- Parameters:
value- Value to set for the pageRanges property.
-
setPagesPerSheet
Sets the pagesPerSheet property value. The 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 print quality to use when printing the job. Valid values are described in the table below. Read-only.- Parameters:
value- Value to set for the quality property.
-
setScaling
Sets the scaling property value. Specifies how the printer should scale 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.
-