"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecurringAppointmentMasterId = void 0;
const XmlElementNames_1 = require("../Core/XmlElementNames");
const XmlAttributeNames_1 = require("../Core/XmlAttributeNames");
const ItemId_1 = require("./ItemId");
class RecurringAppointmentMasterId extends ItemId_1.ItemId {
    constructor(occurrenceId) {
        super(occurrenceId);
    }
    GetXmlElementName() { return XmlElementNames_1.XmlElementNames.RecurringMasterItemId; }
    /**@internal */
    WriteAttributesToXml(writer) {
        writer.WriteAttributeValue(XmlAttributeNames_1.XmlAttributeNames.OccurrenceId, this.UniqueId);
        writer.WriteAttributeValue(XmlAttributeNames_1.XmlAttributeNames.ChangeKey, this.ChangeKey);
    }
}
exports.RecurringAppointmentMasterId = RecurringAppointmentMasterId;
//# sourceMappingURL=RecurringAppointmentMasterId.js.map