public class Printer extends PrinterBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Printer.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
acceptingJobs |
protected Boolean |
isShared |
protected OffsetDateTime |
registeredDateTime |
capabilities, defaults, isAcceptingJobs, location, manufacturer, model, name, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Printer() |
| Modifier and Type | Method and Description |
|---|---|
static Printer.Builder |
builderPrinter()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAcceptingJobs() |
PrintIdentityCollectionRequest |
getAllowedGroups() |
PrintUserIdentityCollectionRequest |
getAllowedUsers() |
com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<PrinterCapabilities> |
getCapabilities_Function() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
PrintConnectorCollectionRequest |
getConnectors() |
Optional<Boolean> |
getIsShared() |
Optional<OffsetDateTime> |
getRegisteredDateTime() |
PrinterShareRequest |
getShare() |
PrintTaskTriggerCollectionRequest |
getTaskTriggers() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Printer |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Printer |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
resetDefaults() |
String |
toString() |
Printer |
withAcceptingJobs(Boolean acceptingJobs) |
Printer |
withIsShared(Boolean isShared) |
Printer |
withRegisteredDateTime(OffsetDateTime registeredDateTime) |
getCapabilities, getDefaults, getIsAcceptingJobs, getJobs, getLocation, getManufacturer, getModel, getName, getStatus, withCapabilities, withDefaults, withIsAcceptingJobs, withLocation, withManufacturer, withModel, withName, withStatusprotected OffsetDateTime registeredDateTime
protected Boolean isShared
protected Boolean acceptingJobs
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PrinterBasepublic static Printer.Builder builderPrinter()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class PrinterBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class PrinterBasepublic Optional<OffsetDateTime> getRegisteredDateTime()
public Printer withRegisteredDateTime(OffsetDateTime registeredDateTime)
public PrintUserIdentityCollectionRequest getAllowedUsers()
public PrintIdentityCollectionRequest getAllowedGroups()
public PrinterShareRequest getShare()
public PrintConnectorCollectionRequest getConnectors()
public PrintTaskTriggerCollectionRequest getTaskTriggers()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class PrinterBasepublic Printer patch()
this with changed fields reset.patch in class PrinterBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Printer put()
this
with changed fields reset (they were ignored anyway).put in class PrinterBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestNoReturn resetDefaults()
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<PrinterCapabilities> getCapabilities_Function()
public String toString()
toString in class PrinterBaseCopyright © 2018–2020. All rights reserved.