com.microsoft.graph.models.PrintJobConfiguration 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.PrintDuplexMode;
import com.microsoft.graph.models.PrinterFeedOrientation;
import com.microsoft.graph.models.PrintFinishing;
import com.microsoft.graph.models.PrintMargin;
import com.microsoft.graph.models.PrintMultipageLayout;
import com.microsoft.graph.models.PrintOrientation;
import com.microsoft.graph.models.IntegerRange;
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 Print Job Configuration.
*/
public class PrintJobConfiguration 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 Collate.
* Whether the printer should collate pages wehen printing multiple copies of a multi-page document.
*/
@SerializedName(value = "collate", alternate = {"Collate"})
@Expose
@Nullable
public Boolean collate;
/**
* The Color Mode.
* The color mode the printer should use to print the job. Valid values are described in the table below. Read-only.
*/
@SerializedName(value = "colorMode", alternate = {"ColorMode"})
@Expose
@Nullable
public PrintColorMode colorMode;
/**
* The Copies.
* The number of copies that should be printed. Read-only.
*/
@SerializedName(value = "copies", alternate = {"Copies"})
@Expose
@Nullable
public Integer copies;
/**
* The Dpi.
* The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only.
*/
@SerializedName(value = "dpi", alternate = {"Dpi"})
@Expose
@Nullable
public Integer dpi;
/**
* The Duplex Mode.
* The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only.
*/
@SerializedName(value = "duplexMode", alternate = {"DuplexMode"})
@Expose
@Nullable
public PrintDuplexMode duplexMode;
/**
* The Feed Orientation.
* The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only.
*/
@SerializedName(value = "feedOrientation", alternate = {"FeedOrientation"})
@Expose
@Nullable
public PrinterFeedOrientation feedOrientation;
/**
* The Finishings.
* Finishing processes to use when printing.
*/
@SerializedName(value = "finishings", alternate = {"Finishings"})
@Expose
@Nullable
public java.util.List finishings;
/**
* The Fit Pdf To Page.
*
*/
@SerializedName(value = "fitPdfToPage", alternate = {"FitPdfToPage"})
@Expose
@Nullable
public Boolean fitPdfToPage;
/**
* The Input Bin.
* The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins.
*/
@SerializedName(value = "inputBin", alternate = {"InputBin"})
@Expose
@Nullable
public String inputBin;
/**
* The Margin.
* The margin settings to use when printing.
*/
@SerializedName(value = "margin", alternate = {"Margin"})
@Expose
@Nullable
public PrintMargin margin;
/**
* The Media Size.
* The media size to use when printing. Supports standard size names for ISO and ANSI media sizes.
*/
@SerializedName(value = "mediaSize", alternate = {"MediaSize"})
@Expose
@Nullable
public String mediaSize;
/**
* The Media Type.
*
*/
@SerializedName(value = "mediaType", alternate = {"MediaType"})
@Expose
@Nullable
public String mediaType;
/**
* The Multipage Layout.
*
*/
@SerializedName(value = "multipageLayout", alternate = {"MultipageLayout"})
@Expose
@Nullable
public PrintMultipageLayout multipageLayout;
/**
* The Orientation.
*
*/
@SerializedName(value = "orientation", alternate = {"Orientation"})
@Expose
@Nullable
public PrintOrientation orientation;
/**
* The Output Bin.
*
*/
@SerializedName(value = "outputBin", alternate = {"OutputBin"})
@Expose
@Nullable
public String outputBin;
/**
* The Page Ranges.
*
*/
@SerializedName(value = "pageRanges", alternate = {"PageRanges"})
@Expose
@Nullable
public java.util.List pageRanges;
/**
* The Pages Per Sheet.
*
*/
@SerializedName(value = "pagesPerSheet", alternate = {"PagesPerSheet"})
@Expose
@Nullable
public Integer pagesPerSheet;
/**
* The Quality.
*
*/
@SerializedName(value = "quality", alternate = {"Quality"})
@Expose
@Nullable
public PrintQuality quality;
/**
* The Scaling.
*
*/
@SerializedName(value = "scaling", alternate = {"Scaling"})
@Expose
@Nullable
public PrintScaling scaling;
/**
* 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) {
}
}