public class ItemAttachment extends Attachment implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemAttachment.Builder |
contentType, isInline, lastModifiedDateTime, name, sizechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ItemAttachment() |
| Modifier and Type | Method and Description |
|---|---|
static ItemAttachment.Builder |
builderItemAttachment()
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() |
OutlookItemRequest |
getItem()
Org.OData.Capabilities.V1.ChangeTracking
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ItemAttachment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ItemAttachment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
getContentType, getIsInline, getLastModifiedDateTime, getName, getSize, withContentType, withIsInline, withLastModifiedDateTime, withName, withSizepublic String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Attachmentpublic static ItemAttachment.Builder builderItemAttachment()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Attachmentpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Attachmentpublic OutlookItemRequest getItem()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Attachmentpublic ItemAttachment patch()
this with changed fields reset.patch in class Attachmentthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic ItemAttachment put()
this
with changed fields reset (they were ignored anyway).put in class Attachmentthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class AttachmentCopyright © 2018–2020. All rights reserved.