/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, fromEnum, markType } from "igniteui-angular-core";
/**
 * @hidden
 */
var CT_TupleSetHeader = /** @class */ (function (_super) {
    tslib_1.__extends(CT_TupleSetHeader, _super);
    function CT_TupleSetHeader() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.d = null;
        _this.b = null;
        return _this;
    }
    Object.defineProperty(CT_TupleSetHeader.prototype, "c", {
        get: function () {
            return this.d;
        },
        set: function (a) {
            this.d = a;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(CT_TupleSetHeader.prototype, "a", {
        get: function () {
            return this.b;
        },
        set: function (a) {
            this.b = a;
        },
        enumerable: true,
        configurable: true
    });
    CT_TupleSetHeader.e = function (a, b, c) {
        var e_1, _a;
        b = null;
        c = null;
        try {
            for (var _b = tslib_1.__values(fromEnum(a.ab.u)), _c = _b.next(); !_c.done; _c = _b.next()) {
                var d = _c.value;
                switch (d.a.e(a.d)) {
                    case "uniqueName":
                        b = d.d;
                        break;
                    case "hierarchyName":
                        c = d.d;
                        break;
                    default: break;
                }
            }
        }
        catch (e_1_1) { e_1 = { error: e_1_1 }; }
        finally {
            try {
                if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
            }
            finally { if (e_1) throw e_1.error; }
        }
        ;
        return {
            p1: b,
            p2: c
        };
    };
    CT_TupleSetHeader.f = function (a, b, c, d) {
        if (c === void 0) { c = null; }
        if (d === void 0) { d = null; }
        a.ad.p(b, null);
        var e = null;
        var f = null;
        if (c != null) {
            f = "hierarchyName";
            e = c;
            a.ad.h(f, e);
        }
        if (d != null) {
            f = "uniqueName";
            e = d;
            a.ad.h(f, e);
        }
        ;
    };
    CT_TupleSetHeader.$t = markType(CT_TupleSetHeader, 'CT_TupleSetHeader');
    return CT_TupleSetHeader;
}(Base));
export { CT_TupleSetHeader };
//# sourceMappingURL=CT_TupleSetHeader.js.map