"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.Describe95TrafficResponseBody = exports.Describe95TrafficResponseBodyTraffic95Summary = exports.Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailList = exports.Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailListTraffic95Detail = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailListTraffic95Detail extends $dara.Model {
    static names() {
        return {
            billBandwidth: 'BillBandwidth',
            inBandwidth: 'InBandwidth',
            outBandwidth: 'OutBandwidth',
            time: 'Time',
        };
    }
    static types() {
        return {
            billBandwidth: 'string',
            inBandwidth: 'string',
            outBandwidth: 'string',
            time: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailListTraffic95Detail = Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailListTraffic95Detail;
class Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailList extends $dara.Model {
    static names() {
        return {
            traffic95Detail: 'Traffic95Detail',
        };
    }
    static types() {
        return {
            traffic95Detail: { 'type': 'array', 'itemType': Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailListTraffic95Detail },
        };
    }
    validate() {
        if (Array.isArray(this.traffic95Detail)) {
            $dara.Model.validateArray(this.traffic95Detail);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailList = Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailList;
class Describe95TrafficResponseBodyTraffic95Summary extends $dara.Model {
    static names() {
        return {
            bandwidth: 'Bandwidth',
            fifthPeakBandwidth: 'FifthPeakBandwidth',
            instanceId: 'InstanceId',
            internetChargeType: 'InternetChargeType',
            minimumConsumeBandwidth: 'MinimumConsumeBandwidth',
            traffic95DetailList: 'Traffic95DetailList',
        };
    }
    static types() {
        return {
            bandwidth: 'number',
            fifthPeakBandwidth: 'string',
            instanceId: 'string',
            internetChargeType: 'string',
            minimumConsumeBandwidth: 'string',
            traffic95DetailList: Describe95TrafficResponseBodyTraffic95SummaryTraffic95DetailList,
        };
    }
    validate() {
        if (this.traffic95DetailList && typeof this.traffic95DetailList.validate === 'function') {
            this.traffic95DetailList.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.Describe95TrafficResponseBodyTraffic95Summary = Describe95TrafficResponseBodyTraffic95Summary;
class Describe95TrafficResponseBody extends $dara.Model {
    static names() {
        return {
            requestId: 'RequestId',
            traffic95Summary: 'Traffic95Summary',
        };
    }
    static types() {
        return {
            requestId: 'string',
            traffic95Summary: Describe95TrafficResponseBodyTraffic95Summary,
        };
    }
    validate() {
        if (this.traffic95Summary && typeof this.traffic95Summary.validate === 'function') {
            this.traffic95Summary.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.Describe95TrafficResponseBody = Describe95TrafficResponseBody;
//# sourceMappingURL=Describe95trafficResponseBody.js.map