"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.DescribeNetworkAclAttributesResponseBody = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttribute = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTags = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTagsTag = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResources = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResourcesResource = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntries = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntriesIngressAclEntry = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntries = exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntriesEgressAclEntry = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntriesEgressAclEntry 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.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntriesEgressAclEntry = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntriesEgressAclEntry;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntries extends $dara.Model {
    static names() {
        return {
            egressAclEntry: 'EgressAclEntry',
        };
    }
    static types() {
        return {
            egressAclEntry: { 'type': 'array', 'itemType': DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntriesEgressAclEntry },
        };
    }
    validate() {
        if (Array.isArray(this.egressAclEntry)) {
            $dara.Model.validateArray(this.egressAclEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntries = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntries;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntriesIngressAclEntry 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.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntriesIngressAclEntry = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntriesIngressAclEntry;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntries extends $dara.Model {
    static names() {
        return {
            ingressAclEntry: 'IngressAclEntry',
        };
    }
    static types() {
        return {
            ingressAclEntry: { 'type': 'array', 'itemType': DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntriesIngressAclEntry },
        };
    }
    validate() {
        if (Array.isArray(this.ingressAclEntry)) {
            $dara.Model.validateArray(this.ingressAclEntry);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntries = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntries;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResourcesResource 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.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResourcesResource = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResourcesResource;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResources extends $dara.Model {
    static names() {
        return {
            resource: 'Resource',
        };
    }
    static types() {
        return {
            resource: { 'type': 'array', 'itemType': DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResourcesResource },
        };
    }
    validate() {
        if (Array.isArray(this.resource)) {
            $dara.Model.validateArray(this.resource);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResources = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResources;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTagsTag 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.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTagsTag = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTagsTag;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTags = DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTags;
class DescribeNetworkAclAttributesResponseBodyNetworkAclAttribute 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: DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeEgressAclEntries,
            ingressAclEntries: DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeIngressAclEntries,
            networkAclId: 'string',
            networkAclName: 'string',
            ownerId: 'number',
            regionId: 'string',
            resources: DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeResources,
            status: 'string',
            tags: DescribeNetworkAclAttributesResponseBodyNetworkAclAttributeTags,
            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.DescribeNetworkAclAttributesResponseBodyNetworkAclAttribute = DescribeNetworkAclAttributesResponseBodyNetworkAclAttribute;
class DescribeNetworkAclAttributesResponseBody extends $dara.Model {
    static names() {
        return {
            networkAclAttribute: 'NetworkAclAttribute',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            networkAclAttribute: DescribeNetworkAclAttributesResponseBodyNetworkAclAttribute,
            requestId: 'string',
        };
    }
    validate() {
        if (this.networkAclAttribute && typeof this.networkAclAttribute.validate === 'function') {
            this.networkAclAttribute.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeNetworkAclAttributesResponseBody = DescribeNetworkAclAttributesResponseBody;
//# sourceMappingURL=DescribeNetworkAclAttributesResponseBody.js.map