public class AttachmentItem extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AttachmentItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AttachmentType |
attachmentType |
protected String |
contentType |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Boolean |
isInline |
protected String |
name |
protected String |
odataType |
protected Long |
size |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AttachmentItem() |
| Modifier and Type | Method and Description |
|---|---|
static AttachmentItem.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<AttachmentType> |
getAttachmentType() |
Optional<String> |
getContentType() |
Optional<Boolean> |
getIsInline() |
Optional<String> |
getName() |
Optional<Long> |
getSize() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AttachmentItem |
withAttachmentType(AttachmentType attachmentType) |
AttachmentItem |
withContentType(String contentType) |
AttachmentItem |
withIsInline(Boolean isInline) |
AttachmentItem |
withName(String name) |
AttachmentItem |
withSize(Long size) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected AttachmentType attachmentType
protected String name
protected Long size
protected String contentType
protected Boolean isInline
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<AttachmentType> getAttachmentType()
public AttachmentItem withAttachmentType(AttachmentType attachmentType)
public AttachmentItem withName(String name)
public AttachmentItem withSize(Long size)
public AttachmentItem withContentType(String contentType)
public AttachmentItem withIsInline(Boolean isInline)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AttachmentItem.Builder builder()
Copyright © 2018–2020. All rights reserved.