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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • PrintJobConfiguration

      public PrintJobConfiguration()
      Instantiates a new PrintJobConfiguration and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCollate

      @Nullable public Boolean 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

      @Nullable public PrintColorMode 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

      @Nullable public Integer getCopies()
      Gets the copies property value. The number of copies that should be printed. Read-only.
      Returns:
      a Integer
    • getDpi

      @Nullable public 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

      @Nullable public PrintDuplexMode 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

      @Nullable public PrinterFeedOrientation 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFinishings

      @Nullable public List<PrintFinishing> getFinishings()
      Gets the finishings property value. Finishing processes to use when printing.
      Returns:
      a List<PrintFinishing>
    • getFitPdfToPage

      @Nullable public Boolean 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

      @Nullable public String 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

      @Nullable public PrintMargin getMargin()
      Gets the margin property value. The margin settings to use when printing.
      Returns:
      a PrintMargin
    • getMediaSize

      @Nullable public String 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

      @Nullable public String getMediaType()
      Gets the mediaType property value. The default media (such as paper) type to print the document on.
      Returns:
      a String
    • getMultipageLayout

      @Nullable public PrintMultipageLayout 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

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getOrientation

      @Nullable public PrintOrientation 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

      @Nullable public String 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

      @Nullable public List<IntegerRange> getPageRanges()
      Gets the pageRanges property value. The page ranges to print. Read-only.
      Returns:
      a List<IntegerRange>
    • getPagesPerSheet

      @Nullable public Integer getPagesPerSheet()
      Gets the pagesPerSheet property value. The number of document pages to print on each sheet.
      Returns:
      a Integer
    • getQuality

      @Nullable public PrintQuality 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

      @Nullable public PrintScaling 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setCollate(@Nullable Boolean value)
      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

      public void setColorMode(@Nullable PrintColorMode value)
      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

      public void setCopies(@Nullable Integer value)
      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

      public void setDpi(@Nullable Integer value)
      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

      public void setDuplexMode(@Nullable PrintDuplexMode value)
      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

      public void setFeedOrientation(@Nullable PrinterFeedOrientation value)
      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

      public void setFinishings(@Nullable List<PrintFinishing> value)
      Sets the finishings property value. Finishing processes to use when printing.
      Parameters:
      value - Value to set for the finishings property.
    • setFitPdfToPage

      public void setFitPdfToPage(@Nullable Boolean value)
      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

      public void setInputBin(@Nullable String value)
      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

      public void setMargin(@Nullable PrintMargin value)
      Sets the margin property value. The margin settings to use when printing.
      Parameters:
      value - Value to set for the margin property.
    • setMediaSize

      public void setMediaSize(@Nullable String value)
      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

      public void setMediaType(@Nullable String value)
      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

      public void setMultipageLayout(@Nullable PrintMultipageLayout value)
      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

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setOrientation

      public void setOrientation(@Nullable PrintOrientation value)
      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

      public void setOutputBin(@Nullable String value)
      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

      public void setPageRanges(@Nullable List<IntegerRange> value)
      Sets the pageRanges property value. The page ranges to print. Read-only.
      Parameters:
      value - Value to set for the pageRanges property.
    • setPagesPerSheet

      public void setPagesPerSheet(@Nullable Integer value)
      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

      public void setQuality(@Nullable PrintQuality value)
      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

      public void setScaling(@Nullable PrintScaling value)
      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.