public class Attachment extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Attachment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
attachmentid |
protected String |
body |
protected byte[] |
body_binary |
protected String |
filename |
protected Integer |
filesize |
protected String |
mimetype |
protected String |
prefix |
protected String |
subject |
protected Long |
versionnumber |
changedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Attachment() |
protected String mimetype
protected String filename
protected String prefix
protected String attachmentid
protected String body
protected byte[] body_binary
protected Integer filesize
protected String subject
protected Long versionnumber
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Crmbaseentitypublic static Attachment.Builder builderAttachment()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Crmbaseentitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Crmbaseentitypublic Attachment withMimetype(String mimetype)
public Attachment withFilename(String filename)
public Attachment withPrefix(String prefix)
public Attachment withAttachmentid(String attachmentid)
public Attachment withBody(String body)
public Optional<byte[]> getBody_binary()
public Attachment withBody_binary(byte[] body_binary)
public Attachment withFilesize(Integer filesize)
public Attachment withSubject(String subject)
public Attachment withVersionnumber(Long versionnumber)
public Attachment withUnmappedField(String name, String value)
withUnmappedField in class Crmbaseentitypublic SyncerrorCollectionRequest getAttachment_SyncErrors()
public ActivitymimeattachmentCollectionRequest getAttachment_activity_mime_attachments()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Crmbaseentitypublic Attachment patch()
this with changed fields reset.patch in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Attachment put()
this
with changed fields reset (they were ignored anyway).put in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class CrmbaseentityCopyright © 2018–2020. All rights reserved.