"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.ListCheckInstanceResultResponseBody = exports.ListCheckInstanceResultResponseBodyPageInfo = exports.ListCheckInstanceResultResponseBodyColumns = exports.ListCheckInstanceResultResponseBodyColumnsGrids = exports.ListCheckInstanceResultResponseBodyBasicData = exports.ListCheckInstanceResultResponseBodyBasicDataInstanceInfo = exports.ListCheckInstanceResultResponseBodyBasicDataInstanceInfoConfig = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class ListCheckInstanceResultResponseBodyBasicDataInstanceInfoConfig extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            showName: 'ShowName',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            showName: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyBasicDataInstanceInfoConfig = ListCheckInstanceResultResponseBodyBasicDataInstanceInfoConfig;
class ListCheckInstanceResultResponseBodyBasicDataInstanceInfo extends $dara.Model {
    static names() {
        return {
            config: 'Config',
            firstUpdateTime: 'FirstUpdateTime',
            lastUpdateTime: 'LastUpdateTime',
        };
    }
    static types() {
        return {
            config: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyBasicDataInstanceInfoConfig },
            firstUpdateTime: 'number',
            lastUpdateTime: 'number',
        };
    }
    validate() {
        if (Array.isArray(this.config)) {
            $dara.Model.validateArray(this.config);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyBasicDataInstanceInfo = ListCheckInstanceResultResponseBodyBasicDataInstanceInfo;
class ListCheckInstanceResultResponseBodyBasicData extends $dara.Model {
    static names() {
        return {
            id: 'Id',
            instanceId: 'InstanceId',
            instanceInfo: 'InstanceInfo',
            instanceName: 'InstanceName',
            regionId: 'RegionId',
            status: 'Status',
            statusMessage: 'StatusMessage',
            vendorUserName: 'VendorUserName',
        };
    }
    static types() {
        return {
            id: 'number',
            instanceId: 'string',
            instanceInfo: ListCheckInstanceResultResponseBodyBasicDataInstanceInfo,
            instanceName: 'string',
            regionId: 'string',
            status: 'string',
            statusMessage: 'string',
            vendorUserName: 'string',
        };
    }
    validate() {
        if (this.instanceInfo && typeof this.instanceInfo.validate === 'function') {
            this.instanceInfo.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyBasicData = ListCheckInstanceResultResponseBodyBasicData;
class ListCheckInstanceResultResponseBodyColumnsGrids extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            showName: 'ShowName',
            type: 'Type',
        };
    }
    static types() {
        return {
            key: 'string',
            showName: 'string',
            type: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyColumnsGrids = ListCheckInstanceResultResponseBodyColumnsGrids;
class ListCheckInstanceResultResponseBodyColumns extends $dara.Model {
    static names() {
        return {
            grids: 'Grids',
            key: 'Key',
            search: 'Search',
            searchKey: 'SearchKey',
            showName: 'ShowName',
            type: 'Type',
        };
    }
    static types() {
        return {
            grids: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyColumnsGrids },
            key: 'string',
            search: 'boolean',
            searchKey: 'string',
            showName: 'string',
            type: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.grids)) {
            $dara.Model.validateArray(this.grids);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyColumns = ListCheckInstanceResultResponseBodyColumns;
class ListCheckInstanceResultResponseBodyPageInfo extends $dara.Model {
    static names() {
        return {
            count: 'Count',
            currentPage: 'CurrentPage',
            pageSize: 'PageSize',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            count: 'string',
            currentPage: 'number',
            pageSize: 'number',
            totalCount: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBodyPageInfo = ListCheckInstanceResultResponseBodyPageInfo;
class ListCheckInstanceResultResponseBody extends $dara.Model {
    static names() {
        return {
            basicData: 'BasicData',
            checks: 'Checks',
            columns: 'Columns',
            pageInfo: 'PageInfo',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            basicData: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyBasicData },
            checks: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
            columns: { 'type': 'array', 'itemType': ListCheckInstanceResultResponseBodyColumns },
            pageInfo: ListCheckInstanceResultResponseBodyPageInfo,
            requestId: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.basicData)) {
            $dara.Model.validateArray(this.basicData);
        }
        if (Array.isArray(this.checks)) {
            $dara.Model.validateArray(this.checks);
        }
        if (Array.isArray(this.columns)) {
            $dara.Model.validateArray(this.columns);
        }
        if (this.pageInfo && typeof this.pageInfo.validate === 'function') {
            this.pageInfo.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ListCheckInstanceResultResponseBody = ListCheckInstanceResultResponseBody;
//# sourceMappingURL=ListCheckInstanceResultResponseBody.js.map