"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.GetCheckConfigResponseBody = exports.GetCheckConfigResponseBodyStandards = exports.GetCheckConfigResponseBodySelectedChecks = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class GetCheckConfigResponseBodySelectedChecks extends $dara.Model {
    static names() {
        return {
            checkId: 'CheckId',
            sectionId: 'SectionId',
        };
    }
    static types() {
        return {
            checkId: 'number',
            sectionId: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetCheckConfigResponseBodySelectedChecks = GetCheckConfigResponseBodySelectedChecks;
class GetCheckConfigResponseBodyStandards extends $dara.Model {
    static names() {
        return {
            id: 'Id',
            showName: 'ShowName',
            status: 'Status',
            type: 'Type',
        };
    }
    static types() {
        return {
            id: 'number',
            showName: 'string',
            status: 'string',
            type: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetCheckConfigResponseBodyStandards = GetCheckConfigResponseBodyStandards;
class GetCheckConfigResponseBody extends $dara.Model {
    static names() {
        return {
            cycleDays: 'CycleDays',
            enableAddCheck: 'EnableAddCheck',
            enableAutoCheck: 'EnableAutoCheck',
            endTime: 'EndTime',
            requestId: 'RequestId',
            selectedChecks: 'SelectedChecks',
            standards: 'Standards',
            startTime: 'StartTime',
        };
    }
    static types() {
        return {
            cycleDays: { 'type': 'array', 'itemType': 'number' },
            enableAddCheck: 'boolean',
            enableAutoCheck: 'boolean',
            endTime: 'number',
            requestId: 'string',
            selectedChecks: { 'type': 'array', 'itemType': GetCheckConfigResponseBodySelectedChecks },
            standards: { 'type': 'array', 'itemType': GetCheckConfigResponseBodyStandards },
            startTime: 'number',
        };
    }
    validate() {
        if (Array.isArray(this.cycleDays)) {
            $dara.Model.validateArray(this.cycleDays);
        }
        if (Array.isArray(this.selectedChecks)) {
            $dara.Model.validateArray(this.selectedChecks);
        }
        if (Array.isArray(this.standards)) {
            $dara.Model.validateArray(this.standards);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetCheckConfigResponseBody = GetCheckConfigResponseBody;
//# sourceMappingURL=GetCheckConfigResponseBody.js.map