/*
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 { __extends } from "tslib";
import { Base, typeCast, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { List$1 } from "igniteui-angular-core";
import { CT_GeoLocationQueryResult } from "./CT_GeoLocationQueryResult";
import { CT_GeoDataEntityQueryResult } from "./CT_GeoDataEntityQueryResult";
import { CT_GeoDataPointToEntityQueryResult } from "./CT_GeoDataPointToEntityQueryResult";
import { CT_GeoChildEntitiesQueryResult } from "./CT_GeoChildEntitiesQueryResult";
/**
 * @hidden
 */
var CT_Clear = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CT_Clear, _super);
    function CT_Clear() {
        var _this = _super.call(this) || this;
        _this.d = null;
        _this.b = null;
        _this.c = null;
        _this.a = null;
        _this.a = new List$1(CT_GeoChildEntitiesQueryResult.$, 0);
        _this.b = new List$1(CT_GeoDataEntityQueryResult.$, 0);
        _this.c = new List$1(CT_GeoDataPointToEntityQueryResult.$, 0);
        _this.d = new List$1(CT_GeoLocationQueryResult.$, 0);
        return _this;
    }
    CT_Clear.prototype.setProperty = function (a, b) {
        switch (a) {
            case 718:
                this.d.add(typeCast(CT_GeoLocationQueryResult.$, b));
                break;
            case 709:
                this.b.add(typeCast(CT_GeoDataEntityQueryResult.$, b));
                break;
            case 713:
                this.c.add(typeCast(CT_GeoDataPointToEntityQueryResult.$, b));
                break;
            case 704:
                this.a.add(typeCast(CT_GeoChildEntitiesQueryResult.$, b));
                break;
            default: break;
        }
    };
    CT_Clear.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_Clear.$t = markType(CT_Clear, 'CT_Clear', Base.$, [ISupportSetProperty_$type]);
    return CT_Clear;
}(Base));
export { CT_Clear };
