SyncResponse<TServiceObject extends ServiceObject, TChange extends Change> class abstract

Represents the base response class for synchronuization operations.
Inheritance
Implementers

Constructors

SyncResponse(PropertySet? propertySet)
Initializes a new instance of the

Properties

BatchProcessingStopped bool
Gets a value indicating whether a batch request stopped processing before the end.
no setterinherited
Changes ChangeCollection<TChange>
Gets a list of changes that occurred on the synchronized folder.
no setter
ErrorCode ServiceError?
Gets the error code associated with this response.
no setterinherited
ErrorDetails Map<String?, String?>?
Gets error details associated with the response. If Result is set to Success, ErrorDetailsDictionary returns null. Error details will only available for some error codes. For example, when error code is ErrorRecurrenceHasNoOccurrence, the ErrorDetailsDictionary will contain keys for EffectiveStartDate and EffectiveEndDate.
no setterinherited
ErrorMessage String?
Gets a detailed error message associated with the response. If Result is set to Success, ErrorMessage returns null. ErrorMessage is localized according to the PreferredCulture property of the ExchangeService object that was used to call the method that generated the response.
getter/setter pairinherited
ErrorProperties List<PropertyDefinitionBase?>
Gets information about property errors associated with the response. If Result is set to Success, ErrorProperties returns null. ErrorProperties is only available for some error codes. For example, when the error code is ErrorInvalidPropertyForOperation, ErrorProperties will contain the definition of the property that was invalid for the request.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
Result ServiceResult?
Gets the result associated with this response.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SummaryPropertiesOnly bool
Gets a value indicating whether this request returns full or summary properties.
no setter

Methods

CreateChangeInstance() → TChange
Creates the change instance.
GetChangeElementName() String
Gets the name of the change element.
GetChangeIdElementName() String
Gets the name of the change id element.
GetIncludesLastInRangeXmlElementName() String
Gets the name of the includes last in range XML element.
InternalThrowIfNecessary() → void
method that throws a ServiceResponseException if this response has its Result property set to Error.
inherited
Loaded() → void
Called when the response has been loaded from XML.
inherited
LoadExtraErrorDetailsFromXml(EwsServiceXmlReader reader, String xmlElementName) Future<bool>
Reads the headers from a HTTP response
inherited
LoadFromXml(EwsServiceXmlReader reader, String xmlElementName) Future<void>
Loads response from XML.
inherited
MapErrorCodeToErrorMessage() → void
Called after the response has been loaded from XML in order to map error codes to "better" error messages.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ParseMessageXml(EwsServiceXmlReader reader) Future<void>
Parses the message XML.
inherited
ReadElementsFromXml(EwsServiceXmlReader reader) Future<void>
Reads response elements from XML.
override
ThrowIfNecessary() → void
Throws a ServiceResponseException if this response has its Result property set to Error.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited