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 Details

    • backingStore

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

    • PrinterDefaults

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

      @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
    • getColorMode

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

      @Nullable public String getContentType()
      Gets the contentType property value. The default content (MIME) type to use when processing documents.
      Returns:
      a String
    • getCopiesPerJob

      @Nullable public Integer getCopiesPerJob()
      Gets the copiesPerJob property value. The default number of copies printed per job.
      Returns:
      a Integer
    • getDpi

      @Nullable public Integer getDpi()
      Gets the dpi property value. The default resolution in DPI to use when printing the job.
      Returns:
      a Integer
    • getDuplexMode

      @Nullable public PrintDuplexMode 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
      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. The default set of finishings to apply to print jobs. Valid values are described in the following table.
      Returns:
      a List<PrintFinishing>
    • getFitPdfToPage

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

      @Nullable public String getInputBin()
      Gets the inputBin property value. The default input bin that serves as the paper source.
      Returns:
      a String
    • getMediaColor

      @Nullable public String getMediaColor()
      Gets the mediaColor property value. The default media (such as paper) color to print the document on.
      Returns:
      a String
    • getMediaSize

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

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

      @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 default orientation to use when printing the document. Valid values are described in the following table.
      Returns:
      a PrintOrientation
    • getOutputBin

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

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

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

      @Nullable public PrintScaling 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:
      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.
    • setColorMode

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

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

      public void setCopiesPerJob(@Nullable Integer value)
      Sets the copiesPerJob property value. The default number of copies printed per job.
      Parameters:
      value - Value to set for the copiesPerJob property.
    • setDpi

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

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

      public void setFinishings(@Nullable List<PrintFinishing> value)
      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

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

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

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

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

      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 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

      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 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

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

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

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

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