"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.DescribeNetworkInterfacesResponseBody = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTags = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTagsTag = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetSecurityGroupIds = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSets = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSet = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSetAssociatedPublicIp = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6Sets = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6SetsIpv6Set = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSets = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSetsIpv6PrefixSet = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSetsIpv4PrefixSet = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment = exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp extends $dara.Model {
    static names() {
        return {
            allocationId: 'AllocationId',
            publicIpAddress: 'PublicIpAddress',
        };
    }
    static types() {
        return {
            allocationId: 'string',
            publicIpAddress: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment extends $dara.Model {
    static names() {
        return {
            deviceIndex: 'DeviceIndex',
            instanceId: 'InstanceId',
            networkCardIndex: 'NetworkCardIndex',
            trunkNetworkInterfaceId: 'TrunkNetworkInterfaceId',
        };
    }
    static types() {
        return {
            deviceIndex: 'number',
            instanceId: 'string',
            networkCardIndex: 'number',
            trunkNetworkInterfaceId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSetsIpv4PrefixSet extends $dara.Model {
    static names() {
        return {
            ipv4Prefix: 'Ipv4Prefix',
        };
    }
    static types() {
        return {
            ipv4Prefix: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSetsIpv4PrefixSet = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSetsIpv4PrefixSet;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets extends $dara.Model {
    static names() {
        return {
            ipv4PrefixSet: 'Ipv4PrefixSet',
        };
    }
    static types() {
        return {
            ipv4PrefixSet: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSetsIpv4PrefixSet },
        };
    }
    validate() {
        if (Array.isArray(this.ipv4PrefixSet)) {
            $dara.Model.validateArray(this.ipv4PrefixSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSetsIpv6PrefixSet extends $dara.Model {
    static names() {
        return {
            ipv6Prefix: 'Ipv6Prefix',
        };
    }
    static types() {
        return {
            ipv6Prefix: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSetsIpv6PrefixSet = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSetsIpv6PrefixSet;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSets extends $dara.Model {
    static names() {
        return {
            ipv6PrefixSet: 'Ipv6PrefixSet',
        };
    }
    static types() {
        return {
            ipv6PrefixSet: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSetsIpv6PrefixSet },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6PrefixSet)) {
            $dara.Model.validateArray(this.ipv6PrefixSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSets = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSets;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6SetsIpv6Set extends $dara.Model {
    static names() {
        return {
            ipv6Address: 'Ipv6Address',
        };
    }
    static types() {
        return {
            ipv6Address: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6SetsIpv6Set = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6SetsIpv6Set;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6Sets extends $dara.Model {
    static names() {
        return {
            ipv6Set: 'Ipv6Set',
        };
    }
    static types() {
        return {
            ipv6Set: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6SetsIpv6Set },
        };
    }
    validate() {
        if (Array.isArray(this.ipv6Set)) {
            $dara.Model.validateArray(this.ipv6Set);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6Sets = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6Sets;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSetAssociatedPublicIp extends $dara.Model {
    static names() {
        return {
            allocationId: 'AllocationId',
            publicIpAddress: 'PublicIpAddress',
        };
    }
    static types() {
        return {
            allocationId: 'string',
            publicIpAddress: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSetAssociatedPublicIp = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSetAssociatedPublicIp;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSet extends $dara.Model {
    static names() {
        return {
            associatedPublicIp: 'AssociatedPublicIp',
            primary: 'Primary',
            privateDnsName: 'PrivateDnsName',
            privateIpAddress: 'PrivateIpAddress',
        };
    }
    static types() {
        return {
            associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSetAssociatedPublicIp,
            primary: 'boolean',
            privateDnsName: 'string',
            privateIpAddress: 'string',
        };
    }
    validate() {
        if (this.associatedPublicIp && typeof this.associatedPublicIp.validate === 'function') {
            this.associatedPublicIp.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSet = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSet;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSets extends $dara.Model {
    static names() {
        return {
            privateIpSet: 'PrivateIpSet',
        };
    }
    static types() {
        return {
            privateIpSet: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSetsPrivateIpSet },
        };
    }
    validate() {
        if (Array.isArray(this.privateIpSet)) {
            $dara.Model.validateArray(this.privateIpSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSets = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSets;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetSecurityGroupIds extends $dara.Model {
    static names() {
        return {
            securityGroupId: 'SecurityGroupId',
        };
    }
    static types() {
        return {
            securityGroupId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.securityGroupId)) {
            $dara.Model.validateArray(this.securityGroupId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetSecurityGroupIds = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetSecurityGroupIds;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTagsTag extends $dara.Model {
    static names() {
        return {
            tagKey: 'TagKey',
            tagValue: 'TagValue',
        };
    }
    static types() {
        return {
            tagKey: 'string',
            tagValue: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTagsTag = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTagsTag;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTags = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTags;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet extends $dara.Model {
    static names() {
        return {
            associatedPublicIp: 'AssociatedPublicIp',
            attachment: 'Attachment',
            creationTime: 'CreationTime',
            deleteOnRelease: 'DeleteOnRelease',
            description: 'Description',
            instanceId: 'InstanceId',
            ipv4PrefixSets: 'Ipv4PrefixSets',
            ipv6PrefixSets: 'Ipv6PrefixSets',
            ipv6Sets: 'Ipv6Sets',
            macAddress: 'MacAddress',
            networkInterfaceId: 'NetworkInterfaceId',
            networkInterfaceName: 'NetworkInterfaceName',
            networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
            ownerId: 'OwnerId',
            privateIpAddress: 'PrivateIpAddress',
            privateIpSets: 'PrivateIpSets',
            queueNumber: 'QueueNumber',
            queuePairNumber: 'QueuePairNumber',
            resourceGroupId: 'ResourceGroupId',
            securityGroupIds: 'SecurityGroupIds',
            serviceID: 'ServiceID',
            serviceManaged: 'ServiceManaged',
            sourceDestCheck: 'SourceDestCheck',
            status: 'Status',
            tags: 'Tags',
            type: 'Type',
            vSwitchId: 'VSwitchId',
            vpcId: 'VpcId',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp,
            attachment: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment,
            creationTime: 'string',
            deleteOnRelease: 'boolean',
            description: 'string',
            instanceId: 'string',
            ipv4PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets,
            ipv6PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6PrefixSets,
            ipv6Sets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv6Sets,
            macAddress: 'string',
            networkInterfaceId: 'string',
            networkInterfaceName: 'string',
            networkInterfaceTrafficMode: 'string',
            ownerId: 'string',
            privateIpAddress: 'string',
            privateIpSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetPrivateIpSets,
            queueNumber: 'number',
            queuePairNumber: 'number',
            resourceGroupId: 'string',
            securityGroupIds: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetSecurityGroupIds,
            serviceID: 'number',
            serviceManaged: 'boolean',
            sourceDestCheck: 'boolean',
            status: 'string',
            tags: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetTags,
            type: 'string',
            vSwitchId: 'string',
            vpcId: 'string',
            zoneId: 'string',
        };
    }
    validate() {
        if (this.associatedPublicIp && typeof this.associatedPublicIp.validate === 'function') {
            this.associatedPublicIp.validate();
        }
        if (this.attachment && typeof this.attachment.validate === 'function') {
            this.attachment.validate();
        }
        if (this.ipv4PrefixSets && typeof this.ipv4PrefixSets.validate === 'function') {
            this.ipv4PrefixSets.validate();
        }
        if (this.ipv6PrefixSets && typeof this.ipv6PrefixSets.validate === 'function') {
            this.ipv6PrefixSets.validate();
        }
        if (this.ipv6Sets && typeof this.ipv6Sets.validate === 'function') {
            this.ipv6Sets.validate();
        }
        if (this.privateIpSets && typeof this.privateIpSets.validate === 'function') {
            this.privateIpSets.validate();
        }
        if (this.securityGroupIds && typeof this.securityGroupIds.validate === 'function') {
            this.securityGroupIds.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet;
class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets extends $dara.Model {
    static names() {
        return {
            networkInterfaceSet: 'NetworkInterfaceSet',
        };
    }
    static types() {
        return {
            networkInterfaceSet: { 'type': 'array', 'itemType': DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSet },
        };
    }
    validate() {
        if (Array.isArray(this.networkInterfaceSet)) {
            $dara.Model.validateArray(this.networkInterfaceSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets = DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets;
class DescribeNetworkInterfacesResponseBody extends $dara.Model {
    static names() {
        return {
            networkInterfaceSets: 'NetworkInterfaceSets',
            nextToken: 'NextToken',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            networkInterfaceSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets,
            nextToken: 'string',
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.networkInterfaceSets && typeof this.networkInterfaceSets.validate === 'function') {
            this.networkInterfaceSets.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkInterfacesResponseBody = DescribeNetworkInterfacesResponseBody;
//# sourceMappingURL=DescribeNetworkInterfacesResponseBody.js.map