"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.DescribeVirtualBorderRoutersResponseBody = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSet = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterType = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTagsTags = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnections = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnectionsAssociatedPhysicalConnection = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCens = exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCensAssociatedCen = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCensAssociatedCen extends $dara.Model {
    static names() {
        return {
            cenId: 'CenId',
            cenOwnerId: 'CenOwnerId',
            cenStatus: 'CenStatus',
        };
    }
    static types() {
        return {
            cenId: 'string',
            cenOwnerId: 'number',
            cenStatus: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCensAssociatedCen = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCensAssociatedCen;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCens extends $dara.Model {
    static names() {
        return {
            associatedCen: 'AssociatedCen',
        };
    }
    static types() {
        return {
            associatedCen: { 'type': 'array', 'itemType': DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCensAssociatedCen },
        };
    }
    validate() {
        if (Array.isArray(this.associatedCen)) {
            $dara.Model.validateArray(this.associatedCen);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCens = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCens;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnectionsAssociatedPhysicalConnection extends $dara.Model {
    static names() {
        return {
            circuitCode: 'CircuitCode',
            enableIpv6: 'EnableIpv6',
            localGatewayIp: 'LocalGatewayIp',
            localIpv6GatewayIp: 'LocalIpv6GatewayIp',
            peerGatewayIp: 'PeerGatewayIp',
            peerIpv6GatewayIp: 'PeerIpv6GatewayIp',
            peeringIpv6SubnetMask: 'PeeringIpv6SubnetMask',
            peeringSubnetMask: 'PeeringSubnetMask',
            physicalConnectionBusinessStatus: 'PhysicalConnectionBusinessStatus',
            physicalConnectionId: 'PhysicalConnectionId',
            physicalConnectionOwnerUid: 'PhysicalConnectionOwnerUid',
            physicalConnectionStatus: 'PhysicalConnectionStatus',
            status: 'Status',
            vlanId: 'VlanId',
            vlanInterfaceId: 'VlanInterfaceId',
        };
    }
    static types() {
        return {
            circuitCode: 'string',
            enableIpv6: 'boolean',
            localGatewayIp: 'string',
            localIpv6GatewayIp: 'string',
            peerGatewayIp: 'string',
            peerIpv6GatewayIp: 'string',
            peeringIpv6SubnetMask: 'string',
            peeringSubnetMask: 'string',
            physicalConnectionBusinessStatus: 'string',
            physicalConnectionId: 'string',
            physicalConnectionOwnerUid: 'string',
            physicalConnectionStatus: 'string',
            status: 'string',
            vlanId: 'string',
            vlanInterfaceId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnectionsAssociatedPhysicalConnection = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnectionsAssociatedPhysicalConnection;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnections extends $dara.Model {
    static names() {
        return {
            associatedPhysicalConnection: 'AssociatedPhysicalConnection',
        };
    }
    static types() {
        return {
            associatedPhysicalConnection: { 'type': 'array', 'itemType': DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnectionsAssociatedPhysicalConnection },
        };
    }
    validate() {
        if (Array.isArray(this.associatedPhysicalConnection)) {
            $dara.Model.validateArray(this.associatedPhysicalConnection);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnections = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnections;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTagsTags extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            value: 'Value',
        };
    }
    static types() {
        return {
            key: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTagsTags = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTagsTags;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags extends $dara.Model {
    static names() {
        return {
            tags: 'Tags',
        };
    }
    static types() {
        return {
            tags: { 'type': 'array', 'itemType': DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTagsTags },
        };
    }
    validate() {
        if (Array.isArray(this.tags)) {
            $dara.Model.validateArray(this.tags);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterType extends $dara.Model {
    static names() {
        return {
            accessPointId: 'AccessPointId',
            activationTime: 'ActivationTime',
            associatedCens: 'AssociatedCens',
            associatedPhysicalConnections: 'AssociatedPhysicalConnections',
            bandwidth: 'Bandwidth',
            circuitCode: 'CircuitCode',
            cloudBoxInstanceId: 'CloudBoxInstanceId',
            creationTime: 'CreationTime',
            description: 'Description',
            detectMultiplier: 'DetectMultiplier',
            eccId: 'EccId',
            ecrAttatchStatus: 'EcrAttatchStatus',
            ecrId: 'EcrId',
            ecrOwnerId: 'EcrOwnerId',
            enableIpv6: 'EnableIpv6',
            localGatewayIp: 'LocalGatewayIp',
            localIpv6GatewayIp: 'LocalIpv6GatewayIp',
            minRxInterval: 'MinRxInterval',
            minTxInterval: 'MinTxInterval',
            mtu: 'Mtu',
            name: 'Name',
            PConnVbrChargeType: 'PConnVbrChargeType',
            PConnVbrExpireTime: 'PConnVbrExpireTime',
            peerGatewayIp: 'PeerGatewayIp',
            peerIpv6GatewayIp: 'PeerIpv6GatewayIp',
            peeringIpv6SubnetMask: 'PeeringIpv6SubnetMask',
            peeringSubnetMask: 'PeeringSubnetMask',
            physicalConnectionBusinessStatus: 'PhysicalConnectionBusinessStatus',
            physicalConnectionId: 'PhysicalConnectionId',
            physicalConnectionOwnerUid: 'PhysicalConnectionOwnerUid',
            physicalConnectionStatus: 'PhysicalConnectionStatus',
            recoveryTime: 'RecoveryTime',
            resourceGroupId: 'ResourceGroupId',
            routeTableId: 'RouteTableId',
            sitelinkEnable: 'SitelinkEnable',
            status: 'Status',
            tags: 'Tags',
            terminationTime: 'TerminationTime',
            type: 'Type',
            vbrId: 'VbrId',
            vlanId: 'VlanId',
            vlanInterfaceId: 'VlanInterfaceId',
        };
    }
    static types() {
        return {
            accessPointId: 'string',
            activationTime: 'string',
            associatedCens: DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedCens,
            associatedPhysicalConnections: DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeAssociatedPhysicalConnections,
            bandwidth: 'number',
            circuitCode: 'string',
            cloudBoxInstanceId: 'string',
            creationTime: 'string',
            description: 'string',
            detectMultiplier: 'number',
            eccId: 'string',
            ecrAttatchStatus: 'string',
            ecrId: 'string',
            ecrOwnerId: 'string',
            enableIpv6: 'boolean',
            localGatewayIp: 'string',
            localIpv6GatewayIp: 'string',
            minRxInterval: 'number',
            minTxInterval: 'number',
            mtu: 'number',
            name: 'string',
            PConnVbrChargeType: 'string',
            PConnVbrExpireTime: 'string',
            peerGatewayIp: 'string',
            peerIpv6GatewayIp: 'string',
            peeringIpv6SubnetMask: 'string',
            peeringSubnetMask: 'string',
            physicalConnectionBusinessStatus: 'string',
            physicalConnectionId: 'string',
            physicalConnectionOwnerUid: 'string',
            physicalConnectionStatus: 'string',
            recoveryTime: 'string',
            resourceGroupId: 'string',
            routeTableId: 'string',
            sitelinkEnable: 'boolean',
            status: 'string',
            tags: DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags,
            terminationTime: 'string',
            type: 'string',
            vbrId: 'string',
            vlanId: 'number',
            vlanInterfaceId: 'string',
        };
    }
    validate() {
        if (this.associatedCens && typeof this.associatedCens.validate === 'function') {
            this.associatedCens.validate();
        }
        if (this.associatedPhysicalConnections && typeof this.associatedPhysicalConnections.validate === 'function') {
            this.associatedPhysicalConnections.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterType = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterType;
class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSet extends $dara.Model {
    static names() {
        return {
            virtualBorderRouterType: 'VirtualBorderRouterType',
        };
    }
    static types() {
        return {
            virtualBorderRouterType: { 'type': 'array', 'itemType': DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterType },
        };
    }
    validate() {
        if (Array.isArray(this.virtualBorderRouterType)) {
            $dara.Model.validateArray(this.virtualBorderRouterType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSet = DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSet;
class DescribeVirtualBorderRoutersResponseBody extends $dara.Model {
    static names() {
        return {
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
            virtualBorderRouterSet: 'VirtualBorderRouterSet',
        };
    }
    static types() {
        return {
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
            virtualBorderRouterSet: DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSet,
        };
    }
    validate() {
        if (this.virtualBorderRouterSet && typeof this.virtualBorderRouterSet.validate === 'function') {
            this.virtualBorderRouterSet.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeVirtualBorderRoutersResponseBody = DescribeVirtualBorderRoutersResponseBody;
//# sourceMappingURL=DescribeVirtualBorderRoutersResponseBody.js.map