com.microsoft.graph.models.PrinterCapabilities Maven / Gradle / Ivy
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.PrintColorMode;
import com.microsoft.graph.models.IntegerRange;
import com.microsoft.graph.models.PrintDuplexMode;
import com.microsoft.graph.models.PrinterFeedOrientation;
import com.microsoft.graph.models.PrintFinishing;
import com.microsoft.graph.models.PrintMultipageLayout;
import com.microsoft.graph.models.PrintOrientation;
import com.microsoft.graph.models.PrintQuality;
import com.microsoft.graph.models.PrintScaling;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Printer Capabilities.
*/
public class PrinterCapabilities implements IJsonBackedObject {
/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
/**
* The Bottom Margins.
* A list of supported bottom margins(in microns) for the printer.
*/
@SerializedName(value = "bottomMargins", alternate = {"BottomMargins"})
@Expose
@Nullable
public java.util.List bottomMargins;
/**
* The Collation.
* True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise.
*/
@SerializedName(value = "collation", alternate = {"Collation"})
@Expose
@Nullable
public Boolean collation;
/**
* The Color Modes.
* The color modes supported by the printer. Valid values are described in the following table.
*/
@SerializedName(value = "colorModes", alternate = {"ColorModes"})
@Expose
@Nullable
public java.util.List colorModes;
/**
* The Content Types.
* 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.
*/
@SerializedName(value = "contentTypes", alternate = {"ContentTypes"})
@Expose
@Nullable
public java.util.List contentTypes;
/**
* The Copies Per Job.
* The range of copies per job supported by the printer.
*/
@SerializedName(value = "copiesPerJob", alternate = {"CopiesPerJob"})
@Expose
@Nullable
public IntegerRange copiesPerJob;
/**
* The Dpis.
* The list of print resolutions in DPI that are supported by the printer.
*/
@SerializedName(value = "dpis", alternate = {"Dpis"})
@Expose
@Nullable
public java.util.List dpis;
/**
* The Duplex Modes.
* The list of duplex modes that are supported by the printer. Valid values are described in the following table.
*/
@SerializedName(value = "duplexModes", alternate = {"DuplexModes"})
@Expose
@Nullable
public java.util.List duplexModes;
/**
* The Feed Orientations.
* The list of feed orientations that are supported by the printer.
*/
@SerializedName(value = "feedOrientations", alternate = {"FeedOrientations"})
@Expose
@Nullable
public java.util.List feedOrientations;
/**
* The Finishings.
* Finishing processes the printer supports for a printed document.
*/
@SerializedName(value = "finishings", alternate = {"Finishings"})
@Expose
@Nullable
public java.util.List finishings;
/**
* The Input Bins.
* Supported input bins for the printer.
*/
@SerializedName(value = "inputBins", alternate = {"InputBins"})
@Expose
@Nullable
public java.util.List inputBins;
/**
* The Is Color Printing Supported.
* True if color printing is supported by the printer; false otherwise. Read-only.
*/
@SerializedName(value = "isColorPrintingSupported", alternate = {"IsColorPrintingSupported"})
@Expose
@Nullable
public Boolean isColorPrintingSupported;
/**
* The Is Page Range Supported.
* True if the printer supports printing by page ranges; false otherwise.
*/
@SerializedName(value = "isPageRangeSupported", alternate = {"IsPageRangeSupported"})
@Expose
@Nullable
public Boolean isPageRangeSupported;
/**
* The Left Margins.
* A list of supported left margins(in microns) for the printer.
*/
@SerializedName(value = "leftMargins", alternate = {"LeftMargins"})
@Expose
@Nullable
public java.util.List leftMargins;
/**
* The Media Colors.
* The media (i.e., paper) colors supported by the printer.
*/
@SerializedName(value = "mediaColors", alternate = {"MediaColors"})
@Expose
@Nullable
public java.util.List mediaColors;
/**
* The Media Sizes.
* The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table.
*/
@SerializedName(value = "mediaSizes", alternate = {"MediaSizes"})
@Expose
@Nullable
public java.util.List mediaSizes;
/**
* The Media Types.
* The media types supported by the printer.
*/
@SerializedName(value = "mediaTypes", alternate = {"MediaTypes"})
@Expose
@Nullable
public java.util.List mediaTypes;
/**
* The Multipage Layouts.
* The presentation directions supported by the printer. Supported values are described in the following table.
*/
@SerializedName(value = "multipageLayouts", alternate = {"MultipageLayouts"})
@Expose
@Nullable
public java.util.List multipageLayouts;
/**
* The Orientations.
* The print orientations supported by the printer. Valid values are described in the following table.
*/
@SerializedName(value = "orientations", alternate = {"Orientations"})
@Expose
@Nullable
public java.util.List orientations;
/**
* The Output Bins.
* The printer's supported output bins (trays).
*/
@SerializedName(value = "outputBins", alternate = {"OutputBins"})
@Expose
@Nullable
public java.util.List outputBins;
/**
* The Pages Per Sheet.
* Supported number of Input Pages to impose upon a single Impression.
*/
@SerializedName(value = "pagesPerSheet", alternate = {"PagesPerSheet"})
@Expose
@Nullable
public java.util.List pagesPerSheet;
/**
* The Qualities.
* The print qualities supported by the printer.
*/
@SerializedName(value = "qualities", alternate = {"Qualities"})
@Expose
@Nullable
public java.util.List qualities;
/**
* The Right Margins.
* A list of supported right margins(in microns) for the printer.
*/
@SerializedName(value = "rightMargins", alternate = {"RightMargins"})
@Expose
@Nullable
public java.util.List rightMargins;
/**
* The Scalings.
* Supported print scalings.
*/
@SerializedName(value = "scalings", alternate = {"Scalings"})
@Expose
@Nullable
public java.util.List scalings;
/**
* The Supports Fit Pdf To Page.
* True if the printer supports scaling PDF pages to match the print media size; false otherwise.
*/
@SerializedName(value = "supportsFitPdfToPage", alternate = {"SupportsFitPdfToPage"})
@Expose
@Nullable
public Boolean supportsFitPdfToPage;
/**
* The Top Margins.
* A list of supported top margins(in microns) for the printer.
*/
@SerializedName(value = "topMargins", alternate = {"TopMargins"})
@Expose
@Nullable
public java.util.List topMargins;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}