public class Post extends OutlookItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Post.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ItemBody |
body |
protected String |
conversationId |
protected String |
conversationThreadId |
protected Recipient |
from |
protected Boolean |
hasAttachments |
protected Importance |
importance |
protected List<Recipient> |
newParticipants |
protected String |
newParticipantsNextLink |
protected OffsetDateTime |
receivedDateTime |
protected Recipient |
sender |
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Post() |
| Modifier and Type | Method and Description |
|---|---|
static Post.Builder |
builderPost()
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.ActionRequestNoReturn |
forward(String comment,
List<Recipient> toRecipients) |
AttachmentCollectionRequest |
getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<ItemBody> |
getBody() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getConversationId() |
Optional<String> |
getConversationThreadId() |
ExtensionCollectionRequest |
getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<Recipient> |
getFrom() |
Optional<Boolean> |
getHasAttachments() |
Optional<Importance> |
getImportance() |
PostRequest |
getInReplyTo()
Org.OData.Capabilities.V1.ChangeTracking
|
MentionCollectionRequest |
getMentions()
Org.OData.Capabilities.V1.ChangeTracking
|
MultiValueLegacyExtendedPropertyCollectionRequest |
getMultiValueExtendedProperties() |
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getNewParticipants() |
com.github.davidmoten.odata.client.CollectionPage<Recipient> |
getNewParticipants(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<OffsetDateTime> |
getReceivedDateTime() |
Optional<Recipient> |
getSender() |
SingleValueLegacyExtendedPropertyCollectionRequest |
getSingleValueExtendedProperties() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Post |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Post |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
reply(Post post) |
String |
toString() |
Post |
withBody(ItemBody body) |
Post |
withConversationId(String conversationId) |
Post |
withConversationThreadId(String conversationThreadId) |
Post |
withFrom(Recipient from) |
Post |
withHasAttachments(Boolean hasAttachments) |
Post |
withImportance(Importance importance) |
Post |
withReceivedDateTime(OffsetDateTime receivedDateTime) |
Post |
withSender(Recipient sender) |
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withChangeKey, withCreatedDateTime, withLastModifiedDateTimeprotected ItemBody body
protected OffsetDateTime receivedDateTime
protected Boolean hasAttachments
protected Recipient from
protected Recipient sender
protected String conversationThreadId
protected String newParticipantsNextLink
protected String conversationId
protected Importance importance
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OutlookItempublic static Post.Builder builderPost()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OutlookItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OutlookItempublic Optional<OffsetDateTime> getReceivedDateTime()
public Post withReceivedDateTime(OffsetDateTime receivedDateTime)
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getNewParticipants()
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getNewParticipants(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Importance> getImportance()
public Post withImportance(Importance importance)
public PostRequest getInReplyTo()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
public ExtensionCollectionRequest getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public AttachmentCollectionRequest getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
public MentionCollectionRequest getMentions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OutlookItempublic Post patch()
this with changed fields reset.patch in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Post put()
this
with changed fields reset (they were ignored anyway).put in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestNoReturn reply(Post post)
public com.github.davidmoten.odata.client.ActionRequestNoReturn forward(String comment, List<Recipient> toRecipients)
public String toString()
toString in class OutlookItemCopyright © 2018–2020. All rights reserved.