public class PrintDocument extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrintDocument.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PrinterDocumentConfiguration |
documentConfiguration |
protected String |
mimeType |
protected String |
name |
protected Long |
sizeInBytes |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrintDocument() |
| Modifier and Type | Method and Description |
|---|---|
static PrintDocument.Builder |
builderPrintDocument()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<PrinterDocumentConfiguration> |
getDocumentConfiguration() |
Optional<String> |
getMimeType() |
Optional<String> |
getName() |
Optional<Long> |
getSizeInBytes() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PrintDocument |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PrintDocument |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
uploadData() |
PrintDocument |
withDocumentConfiguration(PrinterDocumentConfiguration documentConfiguration) |
PrintDocument |
withMimeType(String mimeType) |
PrintDocument |
withName(String name) |
PrintDocument |
withSizeInBytes(Long sizeInBytes) |
protected String name
protected String mimeType
protected Long sizeInBytes
protected PrinterDocumentConfiguration documentConfiguration
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PrintDocument.Builder builderPrintDocument()
public 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 PrintDocument withName(String name)
public PrintDocument withMimeType(String mimeType)
public PrintDocument withSizeInBytes(Long sizeInBytes)
public Optional<PrinterDocumentConfiguration> getDocumentConfiguration()
public PrintDocument withDocumentConfiguration(PrinterDocumentConfiguration documentConfiguration)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrintDocument patch()
this with changed fields reset.public PrintDocument put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn uploadData()
Copyright © 2018–2020. All rights reserved.