/*
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, markType } from "igniteui-react-core/ES5/type";
import { StringBuilder } from "igniteui-react-core/ES5/StringBuilder";
/**
 * @hidden
 */
var RingVisualData = /** @class */ (function (_super) {
    tslib_1.__extends(RingVisualData, _super);
    function RingVisualData() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._arcs = null;
        return _this;
    }
    Object.defineProperty(RingVisualData.prototype, "arcs", {
        get: function () {
            return this._arcs;
        },
        set: function (a) {
            this._arcs = a;
        },
        enumerable: true,
        configurable: true
    });
    RingVisualData.prototype.serialize = function () {
        var a = new StringBuilder(0);
        var b = true;
        a.u("{");
        if (this.arcs != null) {
            if (b) {
                b = false;
            }
            else {
                a.l(", ");
            }
            a.u("arcs: [");
            for (var c = 0; c < this.arcs.count; c++) {
                if (c != 0) {
                    a.l(", ");
                }
                a.l(this.arcs._inner[c].c());
            }
            a.u("]");
        }
        a.u("}");
        return a.toString();
    };
    RingVisualData.$t = markType(RingVisualData, 'RingVisualData');
    return RingVisualData;
}(Base));
export { RingVisualData };
