var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var XmlElementNames_1 = require("../../XmlElementNames");
var ComplexPropertyDefinition_1 = require("../../../PropertyDefinitions/ComplexPropertyDefinition");
var PropertyDefinitionFlags_1 = require("../../../Enumerations/PropertyDefinitionFlags");
var ExchangeVersion_1 = require("../../../Enumerations/ExchangeVersion");
var ItemId_1 = require("../../../ComplexProperties/ItemId");
var MessageBody_1 = require("../../../ComplexProperties/MessageBody");
var ServiceObjectSchema_1 = require("./ServiceObjectSchema");
var ResponseObjectSchema = (function (_super) {
__extends(ResponseObjectSchema, _super);
function ResponseObjectSchema() {
_super.apply(this, arguments);
}
ResponseObjectSchema.prototype.RegisterProperties = function () {
_super.prototype.RegisterProperties.call(this);
_super.prototype.RegisterProperty.call(this, ResponseObjectSchema.ReferenceItemId);
};
ResponseObjectSchema.ReferenceItemId = new ComplexPropertyDefinition_1.ComplexPropertyDefinition("ReferenceItemId", XmlElementNames_1.XmlElementNames.ReferenceItemId, ExchangeVersion_1.ExchangeVersion.Exchange2007_SP1, null, PropertyDefinitionFlags_1.PropertyDefinitionFlags.AutoInstantiateOnRead | PropertyDefinitionFlags_1.PropertyDefinitionFlags.CanSet, function () { return new ItemId_1.ItemId(); });
ResponseObjectSchema.BodyPrefix = new ComplexPropertyDefinition_1.ComplexPropertyDefinition("NewBodyContent", XmlElementNames_1.XmlElementNames.NewBodyContent, ExchangeVersion_1.ExchangeVersion.Exchange2007_SP1, null, PropertyDefinitionFlags_1.PropertyDefinitionFlags.CanSet, function () { return new MessageBody_1.MessageBody(); });
ResponseObjectSchema.Instance = new ResponseObjectSchema();
return ResponseObjectSchema;
})(ServiceObjectSchema_1.ServiceObjectSchema);
exports.ResponseObjectSchema = ResponseObjectSchema;