public class PrinterShare extends PrinterBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrinterShare.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
capabilities, defaults, isAcceptingJobs, location, manufacturer, model, name, statuschangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrinterShare() |
| Modifier and Type | Method and Description |
|---|---|
static PrinterShare.Builder |
builderPrinterShare()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
PrintIdentityCollectionRequest |
getAllowedGroups() |
PrintUserIdentityCollectionRequest |
getAllowedUsers() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
PrinterRequest |
getPrinter() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PrinterShare |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PrinterShare |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PrinterShare |
withCreatedDateTime(OffsetDateTime createdDateTime) |
getCapabilities, getDefaults, getIsAcceptingJobs, getJobs, getLocation, getManufacturer, getModel, getName, getStatus, withCapabilities, withDefaults, withIsAcceptingJobs, withLocation, withManufacturer, withModel, withName, withStatusprotected OffsetDateTime createdDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PrinterBasepublic static PrinterShare.Builder builderPrinterShare()
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> getCreatedDateTime()
public PrinterShare withCreatedDateTime(OffsetDateTime createdDateTime)
public PrinterRequest getPrinter()
public PrintUserIdentityCollectionRequest getAllowedUsers()
public PrintIdentityCollectionRequest getAllowedGroups()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class PrinterBasepublic PrinterShare 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 PrinterShare 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 String toString()
toString in class PrinterBaseCopyright © 2018–2020. All rights reserved.