Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrinterCapabilitiescreateFromDiscriminatorValue(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 bottomMargins property value.Gets the collation property value.Gets the colorModes property value.Gets the contentTypes property value.Gets the copiesPerJob property value.getDpis()Gets the dpis property value.Gets the duplexModes property value.Gets the feedOrientations property value.The deserialization information for the current modelGets the finishings property value.Gets the inputBins property value.Gets the isColorPrintingSupported property value.Gets the isPageRangeSupported property value.Gets the leftMargins property value.Gets the mediaColors property value.Gets the mediaSizes property value.Gets the mediaTypes property value.Gets the multipageLayouts property value.Gets the @odata.type property value.Gets the orientations property value.Gets the outputBins property value.Gets the pagesPerSheet property value.Gets the qualities property value.Gets the rightMargins property value.Gets the scalings property value.Gets the supportsFitPdfToPage property value.Gets the topMargins 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.voidsetBottomMargins(List<Integer> value) Sets the bottomMargins property value.voidsetCollation(Boolean value) Sets the collation property value.voidsetColorModes(List<PrintColorMode> value) Sets the colorModes property value.voidsetContentTypes(List<String> value) Sets the contentTypes property value.voidsetCopiesPerJob(IntegerRange value) Sets the copiesPerJob property value.voidSets the dpis property value.voidsetDuplexModes(List<PrintDuplexMode> value) Sets the duplexModes property value.voidSets the feedOrientations property value.voidsetFinishings(List<PrintFinishing> value) Sets the finishings property value.voidsetInputBins(List<String> value) Sets the inputBins property value.voidSets the isColorPrintingSupported property value.voidsetIsPageRangeSupported(Boolean value) Sets the isPageRangeSupported property value.voidsetLeftMargins(List<Integer> value) Sets the leftMargins property value.voidsetMediaColors(List<String> value) Sets the mediaColors property value.voidsetMediaSizes(List<String> value) Sets the mediaSizes property value.voidsetMediaTypes(List<String> value) Sets the mediaTypes property value.voidSets the multipageLayouts property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetOrientations(List<PrintOrientation> value) Sets the orientations property value.voidsetOutputBins(List<String> value) Sets the outputBins property value.voidsetPagesPerSheet(List<Integer> value) Sets the pagesPerSheet property value.voidsetQualities(List<PrintQuality> value) Sets the qualities property value.voidsetRightMargins(List<Integer> value) Sets the rightMargins property value.voidsetScalings(List<PrintScaling> value) Sets the scalings property value.voidsetSupportsFitPdfToPage(Boolean value) Sets the supportsFitPdfToPage property value.voidsetTopMargins(List<Integer> value) Sets the topMargins property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
PrinterCapabilities
public PrinterCapabilities()Instantiates a newPrinterCapabilitiesand 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
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
-
getBottomMargins
Gets the bottomMargins property value. A list of supported bottom margins(in microns) for the printer. -
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
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
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. -
getCopiesPerJob
Gets the copiesPerJob property value. The range of copies per job supported by the printer.- Returns:
- a
IntegerRange
-
getDpis
Gets the dpis property value. The list of print resolutions in DPI that are supported by the printer. -
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
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 -
getFinishings
Gets the finishings property value. Finishing processes the printer supports for a printed document.- Returns:
- a
List<PrintFinishing>
-
getInputBins
Gets the inputBins property value. Supported input bins for the printer. -
getIsColorPrintingSupported
Gets the isColorPrintingSupported property value. True if color printing is supported by the printer; false otherwise. Read-only.- Returns:
- a
Boolean
-
getIsPageRangeSupported
Gets the isPageRangeSupported property value. True if the printer supports printing by page ranges; false otherwise.- Returns:
- a
Boolean
-
getLeftMargins
Gets the leftMargins property value. A list of supported left margins(in microns) for the printer. -
getMediaColors
Gets the mediaColors property value. The media (i.e., paper) colors supported by the printer. -
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. -
getMediaTypes
Gets the mediaTypes property value. The media types supported by the printer. -
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
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
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
Gets the outputBins property value. The printer's supported output bins (trays). -
getPagesPerSheet
Gets the pagesPerSheet property value. Supported number of Input Pages to impose upon a single Impression. -
getQualities
Gets the qualities property value. The print qualities supported by the printer.- Returns:
- a
List<PrintQuality>
-
getRightMargins
Gets the rightMargins property value. A list of supported right margins(in microns) for the printer. -
getScalings
Gets the scalings property value. Supported print scalings.- Returns:
- a
List<PrintScaling>
-
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
Gets the topMargins property value. A list of supported top margins(in microns) for the printer. -
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.
-
setBottomMargins
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
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
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
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
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
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
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
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
Sets the finishings property value. Finishing processes the printer supports for a printed document.- Parameters:
value- Value to set for the finishings property.
-
setInputBins
Sets the inputBins property value. Supported input bins for the printer.- Parameters:
value- Value to set for the inputBins property.
-
setIsColorPrintingSupported
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
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
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
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
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
Sets the mediaTypes property value. The media types supported by the printer.- Parameters:
value- Value to set for the mediaTypes property.
-
setMultipageLayouts
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
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOrientations
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
Sets the outputBins property value. The printer's supported output bins (trays).- Parameters:
value- Value to set for the outputBins property.
-
setPagesPerSheet
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
Sets the qualities property value. The print qualities supported by the printer.- Parameters:
value- Value to set for the qualities property.
-
setRightMargins
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
Sets the scalings property value. Supported print scalings.- Parameters:
value- Value to set for the scalings property.
-
setSupportsFitPdfToPage
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
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.
-