ews javascript api

SuppressReadReceipt

declaration
 SuppressReadReceipt 

Represents a response object created to supress read receipts for an item.

var SuppressReadReceipt = (function (_super) {
    __extends(SuppressReadReceipt, _super);

SuppressReadReceipt

function
 SuppressReadReceipt() 

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;
}

GetMinimumRequiredServerVersion

method
 SuppressReadReceipt.prototype.GetMinimumRequiredServerVersion() 

Gets the minimum required server version.

SuppressReadReceipt.prototype.GetMinimumRequiredServerVersion = function () { return ExchangeVersion_1.ExchangeVersion.Exchange2007_SP1; };

GetSchema

method
 SuppressReadReceipt.prototype.GetSchema() 

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; };

InternalCreate

method
 SuppressReadReceipt.prototype.InternalCreate() 

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);
};

InternalDelete

method
 SuppressReadReceipt.prototype.InternalDelete() 

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."); };

InternalLoad

method
 SuppressReadReceipt.prototype.InternalLoad() 

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;