"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.DescribeImageVulListResponseBody = exports.DescribeImageVulListResponseBodyVulRecords = exports.DescribeImageVulListResponseBodyVulRecordsExtendContentJson = exports.DescribeImageVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeImageVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList extends $dara.Model {
    static names() {
        return {
            fullVersion: 'FullVersion',
            layer: 'Layer',
            matchDetail: 'MatchDetail',
            matchList: 'MatchList',
            name: 'Name',
            path: 'Path',
            updateCmd: 'UpdateCmd',
            version: 'Version',
        };
    }
    static types() {
        return {
            fullVersion: 'string',
            layer: 'string',
            matchDetail: 'string',
            matchList: { 'type': 'array', 'itemType': 'string' },
            name: 'string',
            path: 'string',
            updateCmd: 'string',
            version: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.matchList)) {
            $dara.Model.validateArray(this.matchList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImageVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList = DescribeImageVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList;
class DescribeImageVulListResponseBodyVulRecordsExtendContentJson extends $dara.Model {
    static names() {
        return {
            os: 'Os',
            osRelease: 'OsRelease',
            rpmEntityList: 'RpmEntityList',
        };
    }
    static types() {
        return {
            os: 'string',
            osRelease: 'string',
            rpmEntityList: { 'type': 'array', 'itemType': DescribeImageVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList },
        };
    }
    validate() {
        if (Array.isArray(this.rpmEntityList)) {
            $dara.Model.validateArray(this.rpmEntityList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImageVulListResponseBodyVulRecordsExtendContentJson = DescribeImageVulListResponseBodyVulRecordsExtendContentJson;
class DescribeImageVulListResponseBodyVulRecords extends $dara.Model {
    static names() {
        return {
            aliasName: 'AliasName',
            canFix: 'CanFix',
            canUpdate: 'CanUpdate',
            clusterId: 'ClusterId',
            clusterName: 'ClusterName',
            containerId: 'ContainerId',
            extendContentJson: 'ExtendContentJson',
            firstTs: 'FirstTs',
            image: 'Image',
            imageDigest: 'ImageDigest',
            instanceName: 'InstanceName',
            internetIp: 'InternetIp',
            intranetIp: 'IntranetIp',
            lastTs: 'LastTs',
            layers: 'Layers',
            maliciousSource: 'MaliciousSource',
            modifyTs: 'ModifyTs',
            name: 'Name',
            namespace: 'Namespace',
            necessity: 'Necessity',
            pod: 'Pod',
            primaryId: 'PrimaryId',
            related: 'Related',
            repoName: 'RepoName',
            repoNamespace: 'RepoNamespace',
            ruleTag: 'RuleTag',
            scanTime: 'ScanTime',
            status: 'Status',
            tag: 'Tag',
            targetId: 'TargetId',
            targetName: 'TargetName',
            targetType: 'TargetType',
            type: 'Type',
            uuid: 'Uuid',
        };
    }
    static types() {
        return {
            aliasName: 'string',
            canFix: 'string',
            canUpdate: 'boolean',
            clusterId: 'string',
            clusterName: 'string',
            containerId: 'string',
            extendContentJson: DescribeImageVulListResponseBodyVulRecordsExtendContentJson,
            firstTs: 'number',
            image: 'string',
            imageDigest: 'string',
            instanceName: 'string',
            internetIp: 'string',
            intranetIp: 'string',
            lastTs: 'number',
            layers: { 'type': 'array', 'itemType': 'string' },
            maliciousSource: 'string',
            modifyTs: 'number',
            name: 'string',
            namespace: 'string',
            necessity: 'string',
            pod: 'string',
            primaryId: 'number',
            related: 'string',
            repoName: 'string',
            repoNamespace: 'string',
            ruleTag: 'string',
            scanTime: 'number',
            status: 'number',
            tag: 'string',
            targetId: 'string',
            targetName: 'string',
            targetType: 'string',
            type: 'string',
            uuid: 'string',
        };
    }
    validate() {
        if (this.extendContentJson && typeof this.extendContentJson.validate === 'function') {
            this.extendContentJson.validate();
        }
        if (Array.isArray(this.layers)) {
            $dara.Model.validateArray(this.layers);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImageVulListResponseBodyVulRecords = DescribeImageVulListResponseBodyVulRecords;
class DescribeImageVulListResponseBody extends $dara.Model {
    static names() {
        return {
            currentPage: 'CurrentPage',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
            vulRecords: 'VulRecords',
        };
    }
    static types() {
        return {
            currentPage: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
            vulRecords: { 'type': 'array', 'itemType': DescribeImageVulListResponseBodyVulRecords },
        };
    }
    validate() {
        if (Array.isArray(this.vulRecords)) {
            $dara.Model.validateArray(this.vulRecords);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImageVulListResponseBody = DescribeImageVulListResponseBody;
//# sourceMappingURL=DescribeImageVulListResponseBody.js.map