Package odata.msgraph.client.complex
Class PrinterDefaults
- java.lang.Object
-
- odata.msgraph.client.complex.PrinterDefaults
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class PrinterDefaults extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrinterDefaults.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PrintColorModecolorModeprotected StringcontentTypeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegercopiesPerJobprotected Integerdpiprotected PrintDuplexModeduplexModeprotected List<PrintFinishing>finishingsprotected StringfinishingsNextLinkprotected BooleanfitPdfToPageprotected StringinputBinprotected StringmediaColorprotected StringmediaSizeprotected StringmediaTypeprotected PrintMultipageLayoutmultipageLayoutprotected StringodataTypeprotected PrintOrientationorientationprotected StringoutputBinprotected IntegerpagesPerSheetprotected PrintQualityqualityprotected PrintScalingscalingprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrinterDefaults()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
colorMode
protected PrintColorMode colorMode
-
contentType
protected String contentType
-
copiesPerJob
protected Integer copiesPerJob
-
dpi
protected Integer dpi
-
duplexMode
protected PrintDuplexMode duplexMode
-
finishings
protected List<PrintFinishing> finishings
-
finishingsNextLink
protected String finishingsNextLink
-
fitPdfToPage
protected Boolean fitPdfToPage
-
inputBin
protected String inputBin
-
mediaColor
protected String mediaColor
-
mediaSize
protected String mediaSize
-
mediaType
protected String mediaType
-
multipageLayout
protected PrintMultipageLayout multipageLayout
-
orientation
protected PrintOrientation orientation
-
outputBin
protected String outputBin
-
pagesPerSheet
protected Integer pagesPerSheet
-
quality
protected PrintQuality quality
-
scaling
protected PrintScaling scaling
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getColorMode
public Optional<PrintColorMode> getColorMode()
-
withColorMode
public PrinterDefaults withColorMode(PrintColorMode colorMode)
-
withContentType
public PrinterDefaults withContentType(String contentType)
-
withCopiesPerJob
public PrinterDefaults withCopiesPerJob(Integer copiesPerJob)
-
withDpi
public PrinterDefaults withDpi(Integer dpi)
-
getDuplexMode
public Optional<PrintDuplexMode> getDuplexMode()
-
withDuplexMode
public PrinterDefaults withDuplexMode(PrintDuplexMode duplexMode)
-
getFinishings
public com.github.davidmoten.odata.client.CollectionPage<PrintFinishing> getFinishings()
-
getFinishings
public com.github.davidmoten.odata.client.CollectionPage<PrintFinishing> getFinishings(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withFitPdfToPage
public PrinterDefaults withFitPdfToPage(Boolean fitPdfToPage)
-
withInputBin
public PrinterDefaults withInputBin(String inputBin)
-
withMediaColor
public PrinterDefaults withMediaColor(String mediaColor)
-
withMediaSize
public PrinterDefaults withMediaSize(String mediaSize)
-
withMediaType
public PrinterDefaults withMediaType(String mediaType)
-
getMultipageLayout
public Optional<PrintMultipageLayout> getMultipageLayout()
-
withMultipageLayout
public PrinterDefaults withMultipageLayout(PrintMultipageLayout multipageLayout)
-
getOrientation
public Optional<PrintOrientation> getOrientation()
-
withOrientation
public PrinterDefaults withOrientation(PrintOrientation orientation)
-
withOutputBin
public PrinterDefaults withOutputBin(String outputBin)
-
withPagesPerSheet
public PrinterDefaults withPagesPerSheet(Integer pagesPerSheet)
-
getQuality
public Optional<PrintQuality> getQuality()
-
withQuality
public PrinterDefaults withQuality(PrintQuality quality)
-
getScaling
public Optional<PrintScaling> getScaling()
-
withScaling
public PrinterDefaults withScaling(PrintScaling scaling)
-
withUnmappedField
public PrinterDefaults withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static PrinterDefaults.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-