ews javascript api

CalendarResponseMessage

declaration
 CalendarResponseMessage 

Represents the base class for accept, tentatively accept and decline response messages.

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

CalendarResponseMessage

function
 CalendarResponseMessage() 

Option name Type Description
referenceItem Item

The reference item.

Initializes a new instance of the class.

function CalendarResponseMessage(referenceItem) {
    _super.call(this, referenceItem);
}
Object.defineProperty(CalendarResponseMessage.prototype, "Body", {

get

method
 get() 

Gets or sets the body of the response.

get: function () {
    return this.PropertyBag._getItem(ItemSchema_1.ItemSchema.Body);
},
set: function (value) {
    this.PropertyBag._setItem(ItemSchema_1.ItemSchema.Body, value);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "ToRecipients", {

get

method
 get() 

Gets a list of recipients the response will be sent to.

get: function () {
    return this.PropertyBag._getItem(EmailMessageSchema_1.EmailMessageSchema.ToRecipients);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "CcRecipients", {

get

method
 get() 

Gets a list of recipients the response will be sent to as Cc.

get: function () {
    return this.PropertyBag._getItem(EmailMessageSchema_1.EmailMessageSchema.CcRecipients);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "BccRecipients", {

get

method
 get() 

Gets a list of recipients this response will be sent to as Bcc.

get: function () {
    return this.PropertyBag._getItem(EmailMessageSchema_1.EmailMessageSchema.BccRecipients);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "ItemClass", {
get: function () {
    return this.PropertyBag._getItem(ItemSchema_1.ItemSchema.ItemClass);
},
set: function (value) {
    this.PropertyBag._setItem(ItemSchema_1.ItemSchema.ItemClass, value);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "Sensitivity", {

get

method
 get() 

Gets or sets the sensitivity of this response.

get: function () {
    return this.PropertyBag._getItem(ItemSchema_1.ItemSchema.Sensitivity);
},
set: function (value) {
    this.PropertyBag._setItem(ItemSchema_1.ItemSchema.Sensitivity, value);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "Attachments", {

get

method
 get() 

Gets a list of attachments to this response.

get: function () {
    return this.PropertyBag._getItem(ItemSchema_1.ItemSchema.Attachments);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "InternetMessageHeaders", {
get: function () {
    return this.PropertyBag._getItem(ItemSchema_1.ItemSchema.InternetMessageHeaders);
},
enumerable: true,
configurable: true
    });
    Object.defineProperty(CalendarResponseMessage.prototype, "Sender", {

get

method
 get() 

Gets or sets the sender of this response.

get: function () {
    return this.PropertyBag._getItem(EmailMessageSchema_1.EmailMessageSchema.Sender);
},
set: function (value) {
    this.PropertyBag._setItem(EmailMessageSchema_1.EmailMessageSchema.Sender, value);
},
enumerable: true,
configurable: true
    });

GetSchema

method
 CalendarResponseMessage.prototype.GetSchema() 

Internal method to return the schema associated with this type of object.

CalendarResponseMessage.prototype.GetSchema = function () {
    return CalendarResponseObjectSchema_1.CalendarResponseObjectSchema.Instance;
};
return CalendarResponseMessage;
})(CalendarResponseMessageBase_1.CalendarResponseMessageBase);
exports.CalendarResponseMessage = CalendarResponseMessage;