Represents a response object created to supress read receipts for an item.
var SuppressReadReceipt = (function (_super) {
__extends(SuppressReadReceipt, _super);
Option name | Type | Description |
---|---|---|
referenceItem | Item | The reference item. |
Initializes a new instance of the class.
function SuppressReadReceipt(referenceItem) {
_super.call(this, referenceItem.Service);
this.referenceItem = null;
EwsLogging_1.EwsLogging.Assert(referenceItem !== null, "SuppressReadReceipt.ctor", "referenceItem is null");
referenceItem.ThrowIfThisIsNew();
this.referenceItem = referenceItem;
}
Gets the minimum required server version.
SuppressReadReceipt.prototype.GetMinimumRequiredServerVersion = function () { return ExchangeVersion_1.ExchangeVersion.Exchange2007_SP1; };
Internal method to return the schema associated with this type of object.
SuppressReadReceipt.prototype.GetSchema = function () { return ResponseObjectSchema_1.ResponseObjectSchema.Instance; };
SuppressReadReceipt.prototype.GetXmlElementName = function () { return XmlElementNames_1.XmlElementNames.SuppressReadReceipt; };
Option name | Type | Description |
---|---|---|
parentFolderId | FolderId | The parent folder id. |
messageDisposition | MessageDisposition | The message disposition. |
Create the response object.
SuppressReadReceipt.prototype.InternalCreate = function (parentFolderId, messageDisposition) {
this.PropertyBag._getItem(ResponseObjectSchema_1.ResponseObjectSchema.ReferenceItemId).Assign(this.referenceItem.Id);
return this.Service.InternalCreateResponseObject(this, parentFolderId, messageDisposition);
};
Option name | Type | Description |
---|---|---|
deleteMode | DeleteMode | The deletion mode. |
sendCancellationsMode | SendCancellationsMode | Indicates whether meeting cancellation messages should be sent. |
affectedTaskOccurrences | AffectedTaskOccurrence | Indicate which occurrence of a recurring task should be deleted. |
Deletes the object.
SuppressReadReceipt.prototype.InternalDelete = function (deleteMode, sendCancellationsMode, affectedTaskOccurrences) { throw new Error("SuppressReadReceipt.ts - InternalDelete : Not Supported Exception."); };
Option name | Type | Description |
---|---|---|
propertySet | PropertySet | The properties to load. |
Loads the specified set of properties on the object.
SuppressReadReceipt.prototype.InternalLoad = function (propertySet) { throw new Error("SuppressReadReceipt.ts - InternalLoad : Not Supported Exception."); };
return SuppressReadReceipt;
})(ServiceObject_1.ServiceObject);
exports.SuppressReadReceipt = SuppressReadReceipt;