/*
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, typeCast, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_GeoChildEntitiesQuery } from "./CT_GeoChildEntitiesQuery";
import { List$1 } from "igniteui-angular-core";
import { CT_GeoHierarchyEntity } from "./CT_GeoHierarchyEntity";
/**
 * @hidden
 */
var CT_GeoChildEntitiesQueryResult = /** @class */ (function (_super) {
    tslib_1.__extends(CT_GeoChildEntitiesQueryResult, _super);
    function CT_GeoChildEntitiesQueryResult() {
        var _this = _super.call(this) || this;
        _this.b = null;
        _this.c = null;
        _this.c = new List$1(CT_GeoHierarchyEntity.$, 0);
        return _this;
    }
    Object.defineProperty(CT_GeoChildEntitiesQueryResult.prototype, "a", {
        get: function () {
            return this.b;
        },
        set: function (a) {
            this.b = a;
        },
        enumerable: true,
        configurable: true
    });
    CT_GeoChildEntitiesQueryResult.prototype.setProperty = function (a, b) {
        switch (a) {
            case 702:
                this.a = typeCast(CT_GeoChildEntitiesQuery.$, b);
                break;
            case 701:
                this.c.add(typeCast(CT_GeoHierarchyEntity.$, b));
                break;
            default: break;
        }
    };
    CT_GeoChildEntitiesQueryResult.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_GeoChildEntitiesQueryResult.$t = markType(CT_GeoChildEntitiesQueryResult, 'CT_GeoChildEntitiesQueryResult', Base.$, [ISupportSetProperty_$type]);
    return CT_GeoChildEntitiesQueryResult;
}(Base));
export { CT_GeoChildEntitiesQueryResult };
//# sourceMappingURL=CT_GeoChildEntitiesQueryResult.js.map