"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.DescribeBandwidthPackagesResponseBody = exports.DescribeBandwidthPackagesResponseBodyBandwidthPackages = exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackage = exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddresses = exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddressesPublicIpAddresse = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddressesPublicIpAddresse extends $dara.Model {
    static names() {
        return {
            allocationId: 'AllocationId',
            ipAddress: 'IpAddress',
        };
    }
    static types() {
        return {
            allocationId: 'string',
            ipAddress: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddressesPublicIpAddresse = DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddressesPublicIpAddresse;
class DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddresses extends $dara.Model {
    static names() {
        return {
            publicIpAddresse: 'PublicIpAddresse',
        };
    }
    static types() {
        return {
            publicIpAddresse: { 'type': 'array', 'itemType': DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddressesPublicIpAddresse },
        };
    }
    validate() {
        if (Array.isArray(this.publicIpAddresse)) {
            $dara.Model.validateArray(this.publicIpAddresse);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddresses = DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddresses;
class DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackage extends $dara.Model {
    static names() {
        return {
            bandwidth: 'Bandwidth',
            bandwidthPackageId: 'BandwidthPackageId',
            businessStatus: 'BusinessStatus',
            creationTime: 'CreationTime',
            description: 'Description',
            ISP: 'ISP',
            instanceChargeType: 'InstanceChargeType',
            internetChargeType: 'InternetChargeType',
            ipCount: 'IpCount',
            name: 'Name',
            natGatewayId: 'NatGatewayId',
            publicIpAddresses: 'PublicIpAddresses',
            regionId: 'RegionId',
            status: 'Status',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            bandwidth: 'string',
            bandwidthPackageId: 'string',
            businessStatus: 'string',
            creationTime: 'string',
            description: 'string',
            ISP: 'string',
            instanceChargeType: 'string',
            internetChargeType: 'string',
            ipCount: 'string',
            name: 'string',
            natGatewayId: 'string',
            publicIpAddresses: DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackagePublicIpAddresses,
            regionId: 'string',
            status: 'string',
            zoneId: 'string',
        };
    }
    validate() {
        if (this.publicIpAddresses && typeof this.publicIpAddresses.validate === 'function') {
            this.publicIpAddresses.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackage = DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackage;
class DescribeBandwidthPackagesResponseBodyBandwidthPackages extends $dara.Model {
    static names() {
        return {
            bandwidthPackage: 'BandwidthPackage',
        };
    }
    static types() {
        return {
            bandwidthPackage: { 'type': 'array', 'itemType': DescribeBandwidthPackagesResponseBodyBandwidthPackagesBandwidthPackage },
        };
    }
    validate() {
        if (Array.isArray(this.bandwidthPackage)) {
            $dara.Model.validateArray(this.bandwidthPackage);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeBandwidthPackagesResponseBodyBandwidthPackages = DescribeBandwidthPackagesResponseBodyBandwidthPackages;
class DescribeBandwidthPackagesResponseBody extends $dara.Model {
    static names() {
        return {
            bandwidthPackages: 'BandwidthPackages',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            bandwidthPackages: DescribeBandwidthPackagesResponseBodyBandwidthPackages,
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.bandwidthPackages && typeof this.bandwidthPackages.validate === 'function') {
            this.bandwidthPackages.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeBandwidthPackagesResponseBody = DescribeBandwidthPackagesResponseBody;
//# sourceMappingURL=DescribeBandwidthPackagesResponseBody.js.map