ews javascript api

AcceptMeetingInvitationMessage

declaration
 AcceptMeetingInvitationMessage 

Represents a meeting acceptance message.

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

AcceptMeetingInvitationMessage

function
 AcceptMeetingInvitationMessage() 

Option name Type Description
referenceItem Item

The reference item.

tentative boolean

if set to true accept invitation tentatively.

Initializes a new instance of the class.

function AcceptMeetingInvitationMessage(referenceItem, tentative) {
    _super.call(this, referenceItem);
    this.tentative = false;
    this.tentative = tentative;
}
Object.defineProperty(AcceptMeetingInvitationMessage.prototype, "Tentative", {

get

method
 get() 

Gets a value indicating whether the associated meeting is tentatively accepted.

get: function () {
    return this.tentative;
},
enumerable: true,
configurable: true
    });

GetMinimumRequiredServerVersion

method
 AcceptMeetingInvitationMessage.prototype.GetMinimumRequiredServerVersion() 

Gets the minimum required server version.

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

GetXmlElementNameOverride

method
 AcceptMeetingInvitationMessage.prototype.GetXmlElementNameOverride() 

This methods lets subclasses of ServiceObject override the default mechanism by which the XML element name associated with their type is retrieved.

AcceptMeetingInvitationMessage.prototype.GetXmlElementNameOverride = function () {
    if (this.tentative) {
        return XmlElementNames_1.XmlElementNames.TentativelyAcceptItem;
    }
    else {
        return XmlElementNames_1.XmlElementNames.AcceptItem;
    }
};
return AcceptMeetingInvitationMessage;
})(CalendarResponseMessage_1.CalendarResponseMessage);
exports.AcceptMeetingInvitationMessage = AcceptMeetingInvitationMessage;