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 |
configuration |
protected String |
contentType |
protected String |
displayName |
protected Long |
size |
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> |
getConfiguration() |
Optional<String> |
getContentType() |
Optional<String> |
getDisplayName() |
Optional<Long> |
getSize() |
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 |
withConfiguration(PrinterDocumentConfiguration configuration) |
PrintDocument |
withContentType(String contentType) |
PrintDocument |
withDisplayName(String displayName) |
PrintDocument |
withSize(Long size) |
protected String displayName
protected String contentType
protected Long size
protected PrinterDocumentConfiguration configuration
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 withDisplayName(String displayName)
public PrintDocument withContentType(String contentType)
public PrintDocument withSize(Long size)
public Optional<PrinterDocumentConfiguration> getConfiguration()
public PrintDocument withConfiguration(PrinterDocumentConfiguration configuration)
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.