"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.DescribeNetworkAclsResponseBody = exports.DescribeNetworkAclsResponseBodyNetworkAcls = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAcl = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTags = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTagsTag = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResources = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResourcesResource = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntries = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntriesIngressAclEntry = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntries = exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntriesEgressAclEntry = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntriesEgressAclEntry extends $dara.Model {
    static names() {
        return {
            description: 'Description',
            destinationCidrIp: 'DestinationCidrIp',
            entryType: 'EntryType',
            ipVersion: 'IpVersion',
            networkAclEntryId: 'NetworkAclEntryId',
            networkAclEntryName: 'NetworkAclEntryName',
            policy: 'Policy',
            port: 'Port',
            protocol: 'Protocol',
        };
    }
    static types() {
        return {
            description: 'string',
            destinationCidrIp: 'string',
            entryType: 'string',
            ipVersion: 'string',
            networkAclEntryId: 'string',
            networkAclEntryName: 'string',
            policy: 'string',
            port: 'string',
            protocol: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntriesEgressAclEntry = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntriesEgressAclEntry;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntries extends $dara.Model {
    static names() {
        return {
            egressAclEntry: 'EgressAclEntry',
        };
    }
    static types() {
        return {
            egressAclEntry: { 'type': 'array', 'itemType': DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntriesEgressAclEntry },
        };
    }
    validate() {
        if (Array.isArray(this.egressAclEntry)) {
            $dara.Model.validateArray(this.egressAclEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntries = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntries;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntriesIngressAclEntry extends $dara.Model {
    static names() {
        return {
            description: 'Description',
            entryType: 'EntryType',
            ipVersion: 'IpVersion',
            networkAclEntryId: 'NetworkAclEntryId',
            networkAclEntryName: 'NetworkAclEntryName',
            policy: 'Policy',
            port: 'Port',
            protocol: 'Protocol',
            sourceCidrIp: 'SourceCidrIp',
        };
    }
    static types() {
        return {
            description: 'string',
            entryType: 'string',
            ipVersion: 'string',
            networkAclEntryId: 'string',
            networkAclEntryName: 'string',
            policy: 'string',
            port: 'string',
            protocol: 'string',
            sourceCidrIp: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntriesIngressAclEntry = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntriesIngressAclEntry;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntries extends $dara.Model {
    static names() {
        return {
            ingressAclEntry: 'IngressAclEntry',
        };
    }
    static types() {
        return {
            ingressAclEntry: { 'type': 'array', 'itemType': DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntriesIngressAclEntry },
        };
    }
    validate() {
        if (Array.isArray(this.ingressAclEntry)) {
            $dara.Model.validateArray(this.ingressAclEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntries = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntries;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResourcesResource extends $dara.Model {
    static names() {
        return {
            resourceId: 'ResourceId',
            resourceType: 'ResourceType',
            status: 'Status',
        };
    }
    static types() {
        return {
            resourceId: 'string',
            resourceType: 'string',
            status: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResourcesResource = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResourcesResource;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResources extends $dara.Model {
    static names() {
        return {
            resource: 'Resource',
        };
    }
    static types() {
        return {
            resource: { 'type': 'array', 'itemType': DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResourcesResource },
        };
    }
    validate() {
        if (Array.isArray(this.resource)) {
            $dara.Model.validateArray(this.resource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResources = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResources;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTagsTag 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.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTagsTag = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTagsTag;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTags = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTags;
class DescribeNetworkAclsResponseBodyNetworkAclsNetworkAcl extends $dara.Model {
    static names() {
        return {
            creationTime: 'CreationTime',
            description: 'Description',
            egressAclEntries: 'EgressAclEntries',
            ingressAclEntries: 'IngressAclEntries',
            networkAclId: 'NetworkAclId',
            networkAclName: 'NetworkAclName',
            ownerId: 'OwnerId',
            regionId: 'RegionId',
            resources: 'Resources',
            status: 'Status',
            tags: 'Tags',
            vpcId: 'VpcId',
        };
    }
    static types() {
        return {
            creationTime: 'string',
            description: 'string',
            egressAclEntries: DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclEgressAclEntries,
            ingressAclEntries: DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclIngressAclEntries,
            networkAclId: 'string',
            networkAclName: 'string',
            ownerId: 'number',
            regionId: 'string',
            resources: DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclResources,
            status: 'string',
            tags: DescribeNetworkAclsResponseBodyNetworkAclsNetworkAclTags,
            vpcId: 'string',
        };
    }
    validate() {
        if (this.egressAclEntries && typeof this.egressAclEntries.validate === 'function') {
            this.egressAclEntries.validate();
        }
        if (this.ingressAclEntries && typeof this.ingressAclEntries.validate === 'function') {
            this.ingressAclEntries.validate();
        }
        if (this.resources && typeof this.resources.validate === 'function') {
            this.resources.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAclsNetworkAcl = DescribeNetworkAclsResponseBodyNetworkAclsNetworkAcl;
class DescribeNetworkAclsResponseBodyNetworkAcls extends $dara.Model {
    static names() {
        return {
            networkAcl: 'NetworkAcl',
        };
    }
    static types() {
        return {
            networkAcl: { 'type': 'array', 'itemType': DescribeNetworkAclsResponseBodyNetworkAclsNetworkAcl },
        };
    }
    validate() {
        if (Array.isArray(this.networkAcl)) {
            $dara.Model.validateArray(this.networkAcl);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBodyNetworkAcls = DescribeNetworkAclsResponseBodyNetworkAcls;
class DescribeNetworkAclsResponseBody extends $dara.Model {
    static names() {
        return {
            networkAcls: 'NetworkAcls',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            networkAcls: DescribeNetworkAclsResponseBodyNetworkAcls,
            pageNumber: 'string',
            pageSize: 'string',
            requestId: 'string',
            totalCount: 'string',
        };
    }
    validate() {
        if (this.networkAcls && typeof this.networkAcls.validate === 'function') {
            this.networkAcls.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclsResponseBody = DescribeNetworkAclsResponseBody;
//# sourceMappingURL=DescribeNetworkAclsResponseBody.js.map