"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.DescribeIPv6TranslatorsResponseBody = exports.DescribeIPv6TranslatorsResponseBodyIpv6Translators = exports.DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6Translator = exports.DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6TranslatorIpv6TranslatorEntryIds = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6TranslatorIpv6TranslatorEntryIds extends $dara.Model {
    static names() {
        return {
            ipv6TranslatorEntryId: 'Ipv6TranslatorEntryId',
        };
    }
    static types() {
        return {
            ipv6TranslatorEntryId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6TranslatorEntryId)) {
            $dara.Model.validateArray(this.ipv6TranslatorEntryId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6TranslatorIpv6TranslatorEntryIds = DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6TranslatorIpv6TranslatorEntryIds;
class DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6Translator extends $dara.Model {
    static names() {
        return {
            allocateIpv4Addr: 'AllocateIpv4Addr',
            allocateIpv6Addr: 'AllocateIpv6Addr',
            availableBandwidth: 'AvailableBandwidth',
            bandwidth: 'Bandwidth',
            businessStatus: 'BusinessStatus',
            createTime: 'CreateTime',
            description: 'Description',
            endTime: 'EndTime',
            ipv6TranslatorEntryIds: 'Ipv6TranslatorEntryIds',
            ipv6TranslatorId: 'Ipv6TranslatorId',
            name: 'Name',
            payType: 'PayType',
            regionId: 'RegionId',
            spec: 'Spec',
            status: 'Status',
        };
    }
    static types() {
        return {
            allocateIpv4Addr: 'string',
            allocateIpv6Addr: 'string',
            availableBandwidth: 'string',
            bandwidth: 'number',
            businessStatus: 'string',
            createTime: 'number',
            description: 'string',
            endTime: 'number',
            ipv6TranslatorEntryIds: DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6TranslatorIpv6TranslatorEntryIds,
            ipv6TranslatorId: 'string',
            name: 'string',
            payType: 'string',
            regionId: 'string',
            spec: 'string',
            status: 'string',
        };
    }
    validate() {
        if (this.ipv6TranslatorEntryIds && typeof this.ipv6TranslatorEntryIds.validate === 'function') {
            this.ipv6TranslatorEntryIds.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6Translator = DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6Translator;
class DescribeIPv6TranslatorsResponseBodyIpv6Translators extends $dara.Model {
    static names() {
        return {
            ipv6Translator: 'Ipv6Translator',
        };
    }
    static types() {
        return {
            ipv6Translator: { 'type': 'array', 'itemType': DescribeIPv6TranslatorsResponseBodyIpv6TranslatorsIpv6Translator },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6Translator)) {
            $dara.Model.validateArray(this.ipv6Translator);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeIPv6TranslatorsResponseBodyIpv6Translators = DescribeIPv6TranslatorsResponseBodyIpv6Translators;
class DescribeIPv6TranslatorsResponseBody extends $dara.Model {
    static names() {
        return {
            ipv6Translators: 'Ipv6Translators',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            ipv6Translators: DescribeIPv6TranslatorsResponseBodyIpv6Translators,
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.ipv6Translators && typeof this.ipv6Translators.validate === 'function') {
            this.ipv6Translators.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeIPv6TranslatorsResponseBody = DescribeIPv6TranslatorsResponseBody;
//# sourceMappingURL=DescribeIpv6translatorsResponseBody.js.map