"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FolderIdWrapper = void 0;
const EwsLogging_1 = require("../Core/EwsLogging");
const AbstractFolderIdWrapper_1 = require("./AbstractFolderIdWrapper");
class FolderIdWrapper extends AbstractFolderIdWrapper_1.AbstractFolderIdWrapper {
    constructor(folderId) {
        super();
        EwsLogging_1.EwsLogging.Assert(folderId != null, "FolderIdWrapper.ctor", "folderId is null");
        this.folderId = folderId;
    }
    //InternalToJson(service: ExchangeService): any{ throw new Error("FolderIdWrapper.ts - InternalToJson : Not implemented.");}
    Validate(version) { this.folderId.Validate(version); }
    /**@internal */
    WriteToXml(writer) { this.folderId.WriteToXml(writer); }
}
exports.FolderIdWrapper = FolderIdWrapper;
//# sourceMappingURL=FolderIdWrapper.js.map