"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.DescribeChartDataResponseBody = exports.DescribeChartDataResponseBodySingleData = exports.DescribeChartDataResponseBodyMultipleData = exports.DescribeChartDataResponseBodyCoordinateData = exports.DescribeChartDataResponseBodyCoordinateDataYAxisList = exports.DescribeChartDataResponseBodyAllChartSubTypeList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeChartDataResponseBodyAllChartSubTypeList extends $dara.Model {
    static names() {
        return {
            subType: 'SubType',
            subTypeName: 'SubTypeName',
        };
    }
    static types() {
        return {
            subType: 'string',
            subTypeName: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBodyAllChartSubTypeList = DescribeChartDataResponseBodyAllChartSubTypeList;
class DescribeChartDataResponseBodyCoordinateDataYAxisList extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            subType: 'SubType',
            type: 'Type',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            subType: 'string',
            type: 'string',
            value: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.value)) {
            $dara.Model.validateArray(this.value);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBodyCoordinateDataYAxisList = DescribeChartDataResponseBodyCoordinateDataYAxisList;
class DescribeChartDataResponseBodyCoordinateData extends $dara.Model {
    static names() {
        return {
            XAxis: 'XAxis',
            YAxisList: 'YAxisList',
        };
    }
    static types() {
        return {
            XAxis: { 'type': 'array', 'itemType': 'string' },
            YAxisList: { 'type': 'array', 'itemType': DescribeChartDataResponseBodyCoordinateDataYAxisList },
        };
    }
    validate() {
        if (Array.isArray(this.XAxis)) {
            $dara.Model.validateArray(this.XAxis);
        }
        if (Array.isArray(this.YAxisList)) {
            $dara.Model.validateArray(this.YAxisList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBodyCoordinateData = DescribeChartDataResponseBodyCoordinateData;
class DescribeChartDataResponseBodyMultipleData extends $dara.Model {
    static names() {
        return {
            color: 'Color',
            name: 'Name',
            type: 'Type',
            value: 'Value',
        };
    }
    static types() {
        return {
            color: 'string',
            name: 'string',
            type: 'string',
            value: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBodyMultipleData = DescribeChartDataResponseBodyMultipleData;
class DescribeChartDataResponseBodySingleData extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            type: 'Type',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            type: 'string',
            value: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBodySingleData = DescribeChartDataResponseBodySingleData;
class DescribeChartDataResponseBody extends $dara.Model {
    static names() {
        return {
            allChartSubTypeList: 'AllChartSubTypeList',
            chartDataType: 'ChartDataType',
            chartSubTypeList: 'ChartSubTypeList',
            chartType: 'ChartType',
            coordinateData: 'CoordinateData',
            multipleData: 'MultipleData',
            propertyArrayValue: 'PropertyArrayValue',
            propertyValue: 'PropertyValue',
            properyArrayValue: 'ProperyArrayValue',
            requestId: 'RequestId',
            singleData: 'SingleData',
        };
    }
    static types() {
        return {
            allChartSubTypeList: { 'type': 'array', 'itemType': DescribeChartDataResponseBodyAllChartSubTypeList },
            chartDataType: 'string',
            chartSubTypeList: { 'type': 'array', 'itemType': 'string' },
            chartType: 'string',
            coordinateData: DescribeChartDataResponseBodyCoordinateData,
            multipleData: { 'type': 'array', 'itemType': DescribeChartDataResponseBodyMultipleData },
            propertyArrayValue: 'string',
            propertyValue: 'string',
            properyArrayValue: 'string',
            requestId: 'string',
            singleData: DescribeChartDataResponseBodySingleData,
        };
    }
    validate() {
        if (Array.isArray(this.allChartSubTypeList)) {
            $dara.Model.validateArray(this.allChartSubTypeList);
        }
        if (Array.isArray(this.chartSubTypeList)) {
            $dara.Model.validateArray(this.chartSubTypeList);
        }
        if (this.coordinateData && typeof this.coordinateData.validate === 'function') {
            this.coordinateData.validate();
        }
        if (Array.isArray(this.multipleData)) {
            $dara.Model.validateArray(this.multipleData);
        }
        if (this.singleData && typeof this.singleData.validate === 'function') {
            this.singleData.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeChartDataResponseBody = DescribeChartDataResponseBody;
//# sourceMappingURL=DescribeChartDataResponseBody.js.map