public class Conversation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Conversation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
hasAttachments |
protected OffsetDateTime |
lastDeliveredDateTime |
protected String |
preview |
protected String |
topic |
protected List<String> |
uniqueSenders |
protected String |
uniqueSendersNextLink |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Conversation() |
| Modifier and Type | Method and Description |
|---|---|
static Conversation.Builder |
builderConversation()
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<Boolean> |
getHasAttachments() |
Optional<OffsetDateTime> |
getLastDeliveredDateTime() |
Optional<String> |
getPreview() |
ConversationThreadCollectionRequest |
getThreads()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<String> |
getTopic() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getUniqueSenders() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Conversation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Conversation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Conversation |
withHasAttachments(Boolean hasAttachments) |
Conversation |
withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime) |
Conversation |
withPreview(String preview) |
Conversation |
withTopic(String topic) |
protected String topic
protected Boolean hasAttachments
protected OffsetDateTime lastDeliveredDateTime
protected String uniqueSendersNextLink
protected String preview
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Conversation.Builder builderConversation()
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 Conversation withTopic(String topic)
public Conversation withHasAttachments(Boolean hasAttachments)
public Optional<OffsetDateTime> getLastDeliveredDateTime()
public Conversation withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)
public com.github.davidmoten.odata.client.CollectionPage<String> getUniqueSenders()
public Conversation withPreview(String preview)
public ConversationThreadCollectionRequest getThreads()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Conversation patch()
this with changed fields reset.public Conversation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.