"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.DescribeGlobalAccelerationInstancesResponseBody = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstances = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstance = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddresses = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddressesPublicIpAddress = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServers = exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServersBackendServer = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServersBackendServer extends $dara.Model {
    static names() {
        return {
            regionId: 'RegionId',
            serverId: 'ServerId',
            serverIpAddress: 'ServerIpAddress',
            serverType: 'ServerType',
        };
    }
    static types() {
        return {
            regionId: 'string',
            serverId: 'string',
            serverIpAddress: 'string',
            serverType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServersBackendServer = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServersBackendServer;
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServers extends $dara.Model {
    static names() {
        return {
            backendServer: 'BackendServer',
        };
    }
    static types() {
        return {
            backendServer: { 'type': 'array', 'itemType': DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServersBackendServer },
        };
    }
    validate() {
        if (Array.isArray(this.backendServer)) {
            $dara.Model.validateArray(this.backendServer);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServers = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServers;
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddressesPublicIpAddress 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.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddressesPublicIpAddress = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddressesPublicIpAddress;
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddresses extends $dara.Model {
    static names() {
        return {
            publicIpAddress: 'PublicIpAddress',
        };
    }
    static types() {
        return {
            publicIpAddress: { 'type': 'array', 'itemType': DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddressesPublicIpAddress },
        };
    }
    validate() {
        if (Array.isArray(this.publicIpAddress)) {
            $dara.Model.validateArray(this.publicIpAddress);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddresses = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddresses;
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstance extends $dara.Model {
    static names() {
        return {
            accelerationLocation: 'AccelerationLocation',
            backendServers: 'BackendServers',
            bandwidth: 'Bandwidth',
            bandwidthType: 'BandwidthType',
            chargeType: 'ChargeType',
            creationTime: 'CreationTime',
            description: 'Description',
            expiredTime: 'ExpiredTime',
            globalAccelerationInstanceId: 'GlobalAccelerationInstanceId',
            internetChargeType: 'InternetChargeType',
            ipAddress: 'IpAddress',
            name: 'Name',
            publicIpAddresses: 'PublicIpAddresses',
            regionId: 'RegionId',
            serviceLocation: 'ServiceLocation',
            status: 'Status',
        };
    }
    static types() {
        return {
            accelerationLocation: 'string',
            backendServers: DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstanceBackendServers,
            bandwidth: 'string',
            bandwidthType: 'string',
            chargeType: 'string',
            creationTime: 'string',
            description: 'string',
            expiredTime: 'string',
            globalAccelerationInstanceId: 'string',
            internetChargeType: 'string',
            ipAddress: 'string',
            name: 'string',
            publicIpAddresses: DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstancePublicIpAddresses,
            regionId: 'string',
            serviceLocation: 'string',
            status: 'string',
        };
    }
    validate() {
        if (this.backendServers && typeof this.backendServers.validate === 'function') {
            this.backendServers.validate();
        }
        if (this.publicIpAddresses && typeof this.publicIpAddresses.validate === 'function') {
            this.publicIpAddresses.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstance = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstance;
class DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstances extends $dara.Model {
    static names() {
        return {
            globalAccelerationInstance: 'GlobalAccelerationInstance',
        };
    }
    static types() {
        return {
            globalAccelerationInstance: { 'type': 'array', 'itemType': DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstancesGlobalAccelerationInstance },
        };
    }
    validate() {
        if (Array.isArray(this.globalAccelerationInstance)) {
            $dara.Model.validateArray(this.globalAccelerationInstance);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstances = DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstances;
class DescribeGlobalAccelerationInstancesResponseBody extends $dara.Model {
    static names() {
        return {
            globalAccelerationInstances: 'GlobalAccelerationInstances',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            globalAccelerationInstances: DescribeGlobalAccelerationInstancesResponseBodyGlobalAccelerationInstances,
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.globalAccelerationInstances && typeof this.globalAccelerationInstances.validate === 'function') {
            this.globalAccelerationInstances.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeGlobalAccelerationInstancesResponseBody = DescribeGlobalAccelerationInstancesResponseBody;
//# sourceMappingURL=DescribeGlobalAccelerationInstancesResponseBody.js.map