Conversation class

Represents a collection of Conversation related properties. Properties available on this object are defined in the ConversationSchema class.
Inheritance

Constructors

Conversation(ExchangeService service)
Initializes an unsaved local instance of

Properties

Categories → StringList?
Gets a list summarizing the categories stamped on messages in this conversation, in the current folder only.
no setter
DraftItemIds → ItemIdCollection?
Gets the draft item ids.
no setter
FlagStatus → ConversationFlagStatus
Gets the flag status for this conversation, calculated by aggregating individual messages flag status in the current folder.
no setter
GlobalCategories → StringList?
Gets a list summarizing the categories stamped on messages in this conversation, across all folders in the mailbox.
no setter
GlobalFlagStatus → ConversationFlagStatus
Gets the flag status for this conversation, calculated by aggregating individual messages flag status across all folders in the mailbox.
no setter
GlobalHasAttachments → bool?
Gets a value indicating if at least one message in this conversation, across all folders in the mailbox, has an attachment.
no setter
GlobalHasIrm → bool?
Gets a value indicating if at least one message in this conversation, across all folders in the mailbox, is an IRM.
no setter
GlobalIconIndex → IconIndex?
Gets the conversation global IconIndex.
no setter
GlobalImportance → Importance?
Gets the importance of this conversation, calculated by aggregating individual messages importance across all folders in the mailbox.
no setter
GlobalItemClasses → StringList?
Gets a list summarizing the classes of the items in this conversation, across all folders in the mailbox.
no setter
GlobalItemIds → ItemIdCollection?
Gets the Ids of the messages in this conversation, across all folders in the mailbox.
no setter
GlobalLastDeliveryTime → DateTime?
Gets the delivery time of the message that was last received in this conversation across all folders in the mailbox.
no setter
GlobalMessageCount → int?
Gets the total number of messages in this conversation across all folders in the mailbox.
no setter
GlobalSize → int?
Gets the size of this conversation, calculated by adding the sizes of all messages in the conversation across all folders in the mailbox.
no setter
GlobalUniqueRecipients → StringList?
Gets a list of all the people who have received messages in this conversation across all folders in the mailbox.
no setter
GlobalUniqueSenders → StringList?
Gets a list of all the people who have sent messages in this conversation across all folders in the mailbox.
no setter
GlobalUniqueUnreadSenders → StringList?
Gets a list of all the people who have sent messages that are currently unread in this conversation across all folders in the mailbox.
no setter
GlobalUnreadCount → int
Gets the total number of unread messages in this conversation across all folders in the mailbox.
no setter
HasAttachments → bool?
Gets a value indicating if at least one message in this conversation, in the current folder only, has an attachment.
no setter
hashCode → int
The hash code for this object.
no setterinherited
HasIrm → bool?
Gets a value indicating if at least one message in this conversation, in the current folder only, is an IRM.
no setter
IconIndex → IconIndex?
Gets the conversation IconIndex.
no setter
Id → ConversationId?
Gets the Id of this Conversation.
no setter
Importance → Importance?
Gets the importance of this conversation, calculated by aggregating individual messages importance in the current folder only.
no setter
InstanceKey → Uint8List?
Gets the conversation instance key.
no setter
IsDirty → bool
Gets a value indicating whether the object has been modified and should be saved.
no setterinherited
IsNew → bool
Indicates whether this object is a real store item, or if it's a local object that has yet to be saved.
no setterinherited
ItemClasses → StringList?
Gets a list summarizing the classes of the items in this conversation, in the current folder only.
no setter
ItemIds → ItemIdCollection?
Gets the Ids of the messages in this conversation, in the current folder only.
no setter
LastDeliveryTime → DateTime?
Gets the delivery time of the message that was last received in this conversation in the current folder only.
no setter
LastModifiedTime → DateTime?
Gets the date and time this conversation was last modified.
no setter
MessageCount → int?
Gets the total number of messages in this conversation in the current folder only.
no setter
onChange ↔ List<IServiceObjectChangedDelegate>
Defines an event that is triggered when the service object changes.
getter/setter pairinherited
Preview → String?
Gets the conversation Preview.
no setter
PropertyBag → PropertyBag
The property bag holding property values for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Schema → ServiceObjectSchema
Gets the schema associated with this type of object.
no setterinherited
Service ↔ ExchangeService
Gets the ExchangeService the object is bound to.
getter/setter pairinherited
Size → int?
Gets the size of this conversation, calculated by adding the sizes of all messages in the conversation in the current folder only.
no setter
Topic → String
Gets the topic of this Conversation.
no setter
UniqueRecipients → StringList?
Gets a list of all the people who have received messages in this conversation in the current folder only.
no setter
UniqueSenders → StringList?
Gets a list of all the people who have sent messages in this conversation in the current folder only.
no setter
UniqueUnreadSenders → StringList?
Gets a list of all the people who have sent messages that are currently unread in this conversation in the current folder only.
no setter
UnreadCount → int
Gets the total number of unread messages in this conversation in the current folder only.
no setter

Methods

Changed() → void
Triggers dispatch of the change event.
inherited
ClearChangeLog() → void
Clears the object's change log.
inherited
ClearItemFlags(FolderId? contextFolderId) → Future<void>
Clear flags for conversation items. Calling this method results in a call to EWS.
CopyItemsInConversation(FolderId? contextFolderId, FolderId destinationFolderId) → Future<void>
Copies items in the specified conversation to a specific folder. Calling this method results in a call to EWS.
DeleteItems(FolderId? contextFolderId, DeleteMode deleteMode) → Future<void>
Deletes items in the specified conversation. Calling this method results in a call to EWS.
DisableAlwaysCategorizeItems(bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is no longer categorized. Calling this method results in a call to EWS.
DisableAlwaysDeleteItems(bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is no longer moved to Deleted Items folder. Calling this method results in a call to EWS.
DisableAlwaysMoveItemsInConversation(bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is no longer moved to a specific folder. Calling this method results in a call to EWS.
EnableAlwaysCategorizeItems(Iterable<String> categories, bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is always categorized. Calling this method results in a call to EWS.
EnableAlwaysDeleteItems(bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is always moved to Deleted Items folder. Calling this method results in a call to EWS.
EnableAlwaysMoveItems(FolderId destinationFolderId, bool processSynchronously) → Future<void>
Sets up a conversation so that any item received within that conversation is always moved to a specific folder. Calling this method results in a call to EWS.
FlagItems(FolderId? contextFolderId, DateTime? startDate, DateTime? dueDate) → Future<void>
Flags conversation items. Calling this method results in a call to EWS.
FlagItemsComplete(FolderId? contextFolderId, DateTime? completeDate) → Future<void>
Flag conversation items as complete. Calling this method results in a call to EWS.
GetChangeXmlElementName() → String
This method is not supported in this object. Gets the name of the change XML element.
override
GetDeleteFieldXmlElementName() → String
This method is not supported in this object. Gets the name of the delete field XML element.
override
GetExtendedProperties() → ExtendedPropertyCollection?
Gets the extended properties collection.
inherited
GetId() → ServiceId?
The unique Id of this object.
inherited
GetIdPropertyDefinition() → PropertyDefinition
The property definition for the Id of this object.
override
GetIsCustomDateTimeScopingRequired() → bool
Determines whether properties defined with ScopedDateTimePropertyDefinition require custom time zone scoping.
inherited
GetIsTimeZoneHeaderRequired(bool isUpdateOperation) → bool
This method is not supported in this object. Gets a value indicating whether a time zone SOAP header should be emitted in a CreateItem or UpdateItem request so this item can be property saved or updated.
override
GetLoadedPropertyDefinitions() → List<PropertyDefinitionBase?>
Gets the collection of loaded property definitions.
inherited
GetMinimumRequiredServerVersion() → ExchangeVersion
Gets the minimum required server version.
override
GetSchema() → ServiceObjectSchema
method to return the schema associated with this type of object.
override
getServiceObjectDefinitionAttribute() → ServiceObjectDefinitionAttribute
override
GetSetFieldXmlElementName() → String
This method is not supported in this object. Gets the name of the set field XML element.
override
GetXmlElementName() → String?
GetXmlElementName retrieves the XmlElementName of this type based on the EwsObjectDefinition attribute that decorates it, if present.
inherited
GetXmlElementNameOverride() → String?
This methods lets subclasses of ServiceObject override the default mechanism by which the XML element name associated with their type is retrieved.
inherited
InternalDelete(DeleteMode deleteMode, SendCancellationsMode? sendCancellationsMode, AffectedTaskOccurrence? affectedTaskOccurrences) → Future<void>
This is not supported in this object. Deletes the object.
override
InternalLoad(PropertySet propertySet) → Future<void>
This method is not supported in this object. Loads the specified set of properties on the object.
override
Load() → Future<void>
Loads the first class properties. Calling this method results in a call to EWS.
inherited
LoadFromXml(EwsServiceXmlReader reader, bool clearPropertyBag) → Future<void>
Loads service object from XML.
inherited
LoadFromXmlWithPropertySet(EwsServiceXmlReader reader, bool clearPropertyBag, PropertySet? requestedPropertySet, bool summaryPropertiesOnly) → Future<void>
Loads service object from XML.
inherited
LoadWithPropertySet(PropertySet propertySet) → Future<void>
Loads the specified set of properties. Calling this method results in a call to EWS.
inherited
MoveItemsInConversation(FolderId? contextFolderId, FolderId destinationFolderId) → Future<void>
Moves items in the specified conversation to a specific folder. Calling this method results in a call to EWS.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
SetReadStateForItemsInConversation(FolderId? contextFolderId, bool isRead) → Future<void>
Sets the read state of items in the specified conversation. Calling this method results in a call to EWS.
SetReadStateForItemsInConversationWithSuppressReadReceipts(FolderId? contextFolderId, bool isRead, bool suppressReadReceipts) → Future<void>
Sets the read state of items in the specified conversation. Calling this method results in a call to EWS.
SetRetentionPolicyForItemsInConversation(FolderId? contextFolderId, RetentionType retentionPolicyType, Uuid? retentionPolicyTagId) → Future<void>
Sets the retention policy of items in the specified conversation. Calling this method results in a call to EWS.
ThrowIfThisIsNew() → void
Throws exception if this is a new service object.
inherited
ThrowIfThisIsNotNew() → void
Throws exception if this is not a new service object.
inherited
toString() → String
A string representation of this object.
inherited
TryGetExtendedProperty<T>(ExtendedPropertyDefinition propertyDefinition, OutParam<T> propertyValueOutParam) → bool
Try to get the value of a specified extended property in this instance.
inherited
TryGetProperty(PropertyDefinitionBase propertyDefinition, OutParam<Object> propertyValueOutParam) → bool
Try to get the value of a specified property in this instance.
inherited
TryGetPropertyGeneric<T>(PropertyDefinitionBase propertyDefinition, OutParam<T> propertyValueOutParam) → bool
Try to get the value of a specified property in this instance.
inherited
Validate() → void
Validates this instance.
inherited
WriteToXml(EwsServiceXmlWriter writer) → void
Writes service object as XML.
inherited
WriteToXmlForUpdate(EwsServiceXmlWriter writer) → void
Writes service object for update as XML.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](PropertyDefinitionBase propertyDefinition) → Object?
Gets the value of specified property in this instance.
inherited