"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.DescribeSecurityGroupReferencesResponseBody = exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferences = exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference = exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups = exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup extends $dara.Model {
    static names() {
        return {
            aliUid: 'AliUid',
            securityGroupId: 'SecurityGroupId',
        };
    }
    static types() {
        return {
            aliUid: 'string',
            securityGroupId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup = DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup;
class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups extends $dara.Model {
    static names() {
        return {
            referencingSecurityGroup: 'ReferencingSecurityGroup',
        };
    }
    static types() {
        return {
            referencingSecurityGroup: { 'type': 'array', 'itemType': DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup },
        };
    }
    validate() {
        if (Array.isArray(this.referencingSecurityGroup)) {
            $dara.Model.validateArray(this.referencingSecurityGroup);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups = DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups;
class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference extends $dara.Model {
    static names() {
        return {
            referencingSecurityGroups: 'ReferencingSecurityGroups',
            securityGroupId: 'SecurityGroupId',
        };
    }
    static types() {
        return {
            referencingSecurityGroups: DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups,
            securityGroupId: 'string',
        };
    }
    validate() {
        if (this.referencingSecurityGroups && typeof this.referencingSecurityGroups.validate === 'function') {
            this.referencingSecurityGroups.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference = DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference;
class DescribeSecurityGroupReferencesResponseBodySecurityGroupReferences extends $dara.Model {
    static names() {
        return {
            securityGroupReference: 'SecurityGroupReference',
        };
    }
    static types() {
        return {
            securityGroupReference: { 'type': 'array', 'itemType': DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference },
        };
    }
    validate() {
        if (Array.isArray(this.securityGroupReference)) {
            $dara.Model.validateArray(this.securityGroupReference);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityGroupReferencesResponseBodySecurityGroupReferences = DescribeSecurityGroupReferencesResponseBodySecurityGroupReferences;
class DescribeSecurityGroupReferencesResponseBody extends $dara.Model {
    static names() {
        return {
            requestId: 'RequestId',
            securityGroupReferences: 'SecurityGroupReferences',
        };
    }
    static types() {
        return {
            requestId: 'string',
            securityGroupReferences: DescribeSecurityGroupReferencesResponseBodySecurityGroupReferences,
        };
    }
    validate() {
        if (this.securityGroupReferences && typeof this.securityGroupReferences.validate === 'function') {
            this.securityGroupReferences.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityGroupReferencesResponseBody = DescribeSecurityGroupReferencesResponseBody;
//# sourceMappingURL=DescribeSecurityGroupReferencesResponseBody.js.map