public class PrinterBase extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected PrinterCapabilities |
capabilities |
protected PrinterDefaults |
defaults |
protected Boolean |
isAcceptingJobs |
protected PrinterLocation |
location |
protected String |
manufacturer |
protected String |
model |
protected String |
name |
protected PrinterStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrinterBase() |
protected String name
protected String manufacturer
protected String model
protected Boolean isAcceptingJobs
protected PrinterDefaults defaults
protected PrinterLocation location
protected PrinterCapabilities capabilities
protected PrinterStatus status
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic PrinterBase withName(String name)
public PrinterBase withManufacturer(String manufacturer)
public PrinterBase withModel(String model)
public PrinterBase withIsAcceptingJobs(Boolean isAcceptingJobs)
public Optional<PrinterDefaults> getDefaults()
public PrinterBase withDefaults(PrinterDefaults defaults)
public Optional<PrinterLocation> getLocation()
public PrinterBase withLocation(PrinterLocation location)
public Optional<PrinterCapabilities> getCapabilities()
public PrinterBase withCapabilities(PrinterCapabilities capabilities)
public Optional<PrinterStatus> getStatus()
public PrinterBase withStatus(PrinterStatus status)
public PrintJobCollectionRequest getJobs()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrinterBase patch()
this with changed fields reset.public PrinterBase put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.