Package odata.msgraph.client.entity
Class ConversationThread
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ConversationThread
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ConversationThread extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationThread.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<Recipient>ccRecipientsprotected StringccRecipientsNextLinkprotected BooleanhasAttachmentsprotected BooleanisLockedprotected OffsetDateTimelastDeliveredDateTimeprotected Stringpreviewprotected Stringtopicprotected List<Recipient>toRecipientsprotected StringtoRecipientsNextLinkprotected List<String>uniqueSendersprotected StringuniqueSendersNextLink-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConversationThread()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationThread.BuilderbuilderConversationThread()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.CollectionPage<Recipient>getCcRecipients()com.github.davidmoten.odata.client.CollectionPage<Recipient>getCcRecipients(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getHasAttachments()Optional<Boolean>getIsLocked()Optional<OffsetDateTime>getLastDeliveredDateTime()PostCollectionRequestgetPosts()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getPreview()Optional<String>getTopic()com.github.davidmoten.odata.client.CollectionPage<Recipient>getToRecipients()com.github.davidmoten.odata.client.CollectionPage<Recipient>getToRecipients(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<String>getUniqueSenders()com.github.davidmoten.odata.client.CollectionPage<String>getUniqueSenders(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ConversationThreadpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ConversationThreadput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnreply(Post post)StringtoString()ConversationThreadwithCcRecipients(List<Recipient> ccRecipients)ConversationThreadwithHasAttachments(Boolean hasAttachments)ConversationThreadwithIsLocked(Boolean isLocked)ConversationThreadwithLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)ConversationThreadwithPreview(String preview)ConversationThreadwithTopic(String topic)ConversationThreadwithToRecipients(List<Recipient> toRecipients)ConversationThreadwithUniqueSenders(List<String> uniqueSenders)ConversationThreadwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
ccRecipientsNextLink
protected String ccRecipientsNextLink
-
hasAttachments
protected Boolean hasAttachments
-
isLocked
protected Boolean isLocked
-
lastDeliveredDateTime
protected OffsetDateTime lastDeliveredDateTime
-
preview
protected String preview
-
topic
protected String topic
-
toRecipientsNextLink
protected String toRecipientsNextLink
-
uniqueSendersNextLink
protected String uniqueSendersNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderConversationThread
public static ConversationThread.Builder builderConversationThread()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCcRecipients
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getCcRecipients()
-
withCcRecipients
public ConversationThread withCcRecipients(List<Recipient> ccRecipients)
-
getCcRecipients
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getCcRecipients(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withHasAttachments
public ConversationThread withHasAttachments(Boolean hasAttachments)
-
withIsLocked
public ConversationThread withIsLocked(Boolean isLocked)
-
getLastDeliveredDateTime
public Optional<OffsetDateTime> getLastDeliveredDateTime()
-
withLastDeliveredDateTime
public ConversationThread withLastDeliveredDateTime(OffsetDateTime lastDeliveredDateTime)
-
withPreview
public ConversationThread withPreview(String preview)
-
withTopic
public ConversationThread withTopic(String topic)
-
getToRecipients
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getToRecipients()
-
withToRecipients
public ConversationThread withToRecipients(List<Recipient> toRecipients)
-
getToRecipients
public com.github.davidmoten.odata.client.CollectionPage<Recipient> getToRecipients(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getUniqueSenders
public com.github.davidmoten.odata.client.CollectionPage<String> getUniqueSenders()
-
withUniqueSenders
public ConversationThread withUniqueSenders(List<String> uniqueSenders)
-
getUniqueSenders
public com.github.davidmoten.odata.client.CollectionPage<String> getUniqueSenders(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ConversationThread withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getPosts
public PostCollectionRequest getPosts()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property posts
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ConversationThread patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ConversationThread put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
reply
public com.github.davidmoten.odata.client.ActionRequestNoReturn reply(Post post)
-
-