Class PrinterCapabilities

java.lang.Object
com.microsoft.graph.models.PrinterCapabilities
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class PrinterCapabilities 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

    • PrinterCapabilities

      public PrinterCapabilities()
      Instantiates a new PrinterCapabilities and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static PrinterCapabilities 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 PrinterCapabilities
    • 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
    • getBottomMargins

      @Nullable public List<Integer> getBottomMargins()
      Gets the bottomMargins property value. A list of supported bottom margins(in microns) for the printer.
      Returns:
      a List<Integer>
    • getCollation

      @Nullable public Boolean getCollation()
      Gets the collation property value. True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise.
      Returns:
      a Boolean
    • getColorModes

      @Nullable public List<PrintColorMode> getColorModes()
      Gets the colorModes property value. The color modes supported by the printer. Valid values are described in the following table.
      Returns:
      a List<PrintColorMode>
    • getContentTypes

      @Nullable public List<String> getContentTypes()
      Gets the contentTypes property value. A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types.
      Returns:
      a List<String>
    • getCopiesPerJob

      @Nullable public IntegerRange getCopiesPerJob()
      Gets the copiesPerJob property value. The range of copies per job supported by the printer.
      Returns:
      a IntegerRange
    • getDpis

      @Nullable public List<Integer> getDpis()
      Gets the dpis property value. The list of print resolutions in DPI that are supported by the printer.
      Returns:
      a List<Integer>
    • getDuplexModes

      @Nullable public List<PrintDuplexMode> getDuplexModes()
      Gets the duplexModes property value. The list of duplex modes that are supported by the printer. Valid values are described in the following table.
      Returns:
      a List<PrintDuplexMode>
    • getFeedOrientations

      @Nullable public List<PrinterFeedOrientation> getFeedOrientations()
      Gets the feedOrientations property value. The list of feed orientations that are supported by the printer.
      Returns:
      a List<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 the printer supports for a printed document.
      Returns:
      a List<PrintFinishing>
    • getInputBins

      @Nullable public List<String> getInputBins()
      Gets the inputBins property value. Supported input bins for the printer.
      Returns:
      a List<String>
    • getIsColorPrintingSupported

      @Nullable public Boolean getIsColorPrintingSupported()
      Gets the isColorPrintingSupported property value. True if color printing is supported by the printer; false otherwise. Read-only.
      Returns:
      a Boolean
    • getIsPageRangeSupported

      @Nullable public Boolean getIsPageRangeSupported()
      Gets the isPageRangeSupported property value. True if the printer supports printing by page ranges; false otherwise.
      Returns:
      a Boolean
    • getLeftMargins

      @Nullable public List<Integer> getLeftMargins()
      Gets the leftMargins property value. A list of supported left margins(in microns) for the printer.
      Returns:
      a List<Integer>
    • getMediaColors

      @Nullable public List<String> getMediaColors()
      Gets the mediaColors property value. The media (i.e., paper) colors supported by the printer.
      Returns:
      a List<String>
    • getMediaSizes

      @Nullable public List<String> getMediaSizes()
      Gets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table.
      Returns:
      a List<String>
    • getMediaTypes

      @Nullable public List<String> getMediaTypes()
      Gets the mediaTypes property value. The media types supported by the printer.
      Returns:
      a List<String>
    • getMultipageLayouts

      @Nullable public List<PrintMultipageLayout> getMultipageLayouts()
      Gets the multipageLayouts property value. The presentation directions supported by the printer. Supported values are described in the following table.
      Returns:
      a List<PrintMultipageLayout>
    • getOdataType

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

      @Nullable public List<PrintOrientation> getOrientations()
      Gets the orientations property value. The print orientations supported by the printer. Valid values are described in the following table.
      Returns:
      a List<PrintOrientation>
    • getOutputBins

      @Nullable public List<String> getOutputBins()
      Gets the outputBins property value. The printer's supported output bins (trays).
      Returns:
      a List<String>
    • getPagesPerSheet

      @Nullable public List<Integer> getPagesPerSheet()
      Gets the pagesPerSheet property value. Supported number of Input Pages to impose upon a single Impression.
      Returns:
      a List<Integer>
    • getQualities

      @Nullable public List<PrintQuality> getQualities()
      Gets the qualities property value. The print qualities supported by the printer.
      Returns:
      a List<PrintQuality>
    • getRightMargins

      @Nullable public List<Integer> getRightMargins()
      Gets the rightMargins property value. A list of supported right margins(in microns) for the printer.
      Returns:
      a List<Integer>
    • getScalings

      @Nullable public List<PrintScaling> getScalings()
      Gets the scalings property value. Supported print scalings.
      Returns:
      a List<PrintScaling>
    • getSupportsFitPdfToPage

      @Nullable public Boolean getSupportsFitPdfToPage()
      Gets the supportsFitPdfToPage property value. True if the printer supports scaling PDF pages to match the print media size; false otherwise.
      Returns:
      a Boolean
    • getTopMargins

      @Nullable public List<Integer> getTopMargins()
      Gets the topMargins property value. A list of supported top margins(in microns) for the printer.
      Returns:
      a List<Integer>
    • 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.
    • setBottomMargins

      public void setBottomMargins(@Nullable List<Integer> value)
      Sets the bottomMargins property value. A list of supported bottom margins(in microns) for the printer.
      Parameters:
      value - Value to set for the bottomMargins property.
    • setCollation

      public void setCollation(@Nullable Boolean value)
      Sets the collation property value. True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise.
      Parameters:
      value - Value to set for the collation property.
    • setColorModes

      public void setColorModes(@Nullable List<PrintColorMode> value)
      Sets the colorModes property value. The color modes supported by the printer. Valid values are described in the following table.
      Parameters:
      value - Value to set for the colorModes property.
    • setContentTypes

      public void setContentTypes(@Nullable List<String> value)
      Sets the contentTypes property value. A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types.
      Parameters:
      value - Value to set for the contentTypes property.
    • setCopiesPerJob

      public void setCopiesPerJob(@Nullable IntegerRange value)
      Sets the copiesPerJob property value. The range of copies per job supported by the printer.
      Parameters:
      value - Value to set for the copiesPerJob property.
    • setDpis

      public void setDpis(@Nullable List<Integer> value)
      Sets the dpis property value. The list of print resolutions in DPI that are supported by the printer.
      Parameters:
      value - Value to set for the dpis property.
    • setDuplexModes

      public void setDuplexModes(@Nullable List<PrintDuplexMode> value)
      Sets the duplexModes property value. The list of duplex modes that are supported by the printer. Valid values are described in the following table.
      Parameters:
      value - Value to set for the duplexModes property.
    • setFeedOrientations

      public void setFeedOrientations(@Nullable List<PrinterFeedOrientation> value)
      Sets the feedOrientations property value. The list of feed orientations that are supported by the printer.
      Parameters:
      value - Value to set for the feedOrientations property.
    • setFinishings

      public void setFinishings(@Nullable List<PrintFinishing> value)
      Sets the finishings property value. Finishing processes the printer supports for a printed document.
      Parameters:
      value - Value to set for the finishings property.
    • setInputBins

      public void setInputBins(@Nullable List<String> value)
      Sets the inputBins property value. Supported input bins for the printer.
      Parameters:
      value - Value to set for the inputBins property.
    • setIsColorPrintingSupported

      public void setIsColorPrintingSupported(@Nullable Boolean value)
      Sets the isColorPrintingSupported property value. True if color printing is supported by the printer; false otherwise. Read-only.
      Parameters:
      value - Value to set for the isColorPrintingSupported property.
    • setIsPageRangeSupported

      public void setIsPageRangeSupported(@Nullable Boolean value)
      Sets the isPageRangeSupported property value. True if the printer supports printing by page ranges; false otherwise.
      Parameters:
      value - Value to set for the isPageRangeSupported property.
    • setLeftMargins

      public void setLeftMargins(@Nullable List<Integer> value)
      Sets the leftMargins property value. A list of supported left margins(in microns) for the printer.
      Parameters:
      value - Value to set for the leftMargins property.
    • setMediaColors

      public void setMediaColors(@Nullable List<String> value)
      Sets the mediaColors property value. The media (i.e., paper) colors supported by the printer.
      Parameters:
      value - Value to set for the mediaColors property.
    • setMediaSizes

      public void setMediaSizes(@Nullable List<String> value)
      Sets the mediaSizes property value. The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table.
      Parameters:
      value - Value to set for the mediaSizes property.
    • setMediaTypes

      public void setMediaTypes(@Nullable List<String> value)
      Sets the mediaTypes property value. The media types supported by the printer.
      Parameters:
      value - Value to set for the mediaTypes property.
    • setMultipageLayouts

      public void setMultipageLayouts(@Nullable List<PrintMultipageLayout> value)
      Sets the multipageLayouts property value. The presentation directions supported by the printer. Supported values are described in the following table.
      Parameters:
      value - Value to set for the multipageLayouts 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.
    • setOrientations

      public void setOrientations(@Nullable List<PrintOrientation> value)
      Sets the orientations property value. The print orientations supported by the printer. Valid values are described in the following table.
      Parameters:
      value - Value to set for the orientations property.
    • setOutputBins

      public void setOutputBins(@Nullable List<String> value)
      Sets the outputBins property value. The printer's supported output bins (trays).
      Parameters:
      value - Value to set for the outputBins property.
    • setPagesPerSheet

      public void setPagesPerSheet(@Nullable List<Integer> value)
      Sets the pagesPerSheet property value. Supported number of Input Pages to impose upon a single Impression.
      Parameters:
      value - Value to set for the pagesPerSheet property.
    • setQualities

      public void setQualities(@Nullable List<PrintQuality> value)
      Sets the qualities property value. The print qualities supported by the printer.
      Parameters:
      value - Value to set for the qualities property.
    • setRightMargins

      public void setRightMargins(@Nullable List<Integer> value)
      Sets the rightMargins property value. A list of supported right margins(in microns) for the printer.
      Parameters:
      value - Value to set for the rightMargins property.
    • setScalings

      public void setScalings(@Nullable List<PrintScaling> value)
      Sets the scalings property value. Supported print scalings.
      Parameters:
      value - Value to set for the scalings property.
    • setSupportsFitPdfToPage

      public void setSupportsFitPdfToPage(@Nullable Boolean value)
      Sets the supportsFitPdfToPage property value. True if the printer supports scaling PDF pages to match the print media size; false otherwise.
      Parameters:
      value - Value to set for the supportsFitPdfToPage property.
    • setTopMargins

      public void setTopMargins(@Nullable List<Integer> value)
      Sets the topMargins property value. A list of supported top margins(in microns) for the printer.
      Parameters:
      value - Value to set for the topMargins property.