"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddKpiDataRequest = void 0;
const ValidatedArgs_1 = __importDefault(require("../../../../core/validation/ValidatedArgs"));
const FormatValidation_1 = __importDefault(require("../FormatValidation"));
class AddKpiDataRequest extends ValidatedArgs_1.default {
    securityId;
    date;
    value;
    project;
    constructor({ securityId, date, value, project, }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            date: FormatValidation_1.default.checkNumber(),
            value: FormatValidation_1.default.checkString({ emptyCheck: true }),
            project: FormatValidation_1.default.checkEvmAddressFormat(),
        });
        this.securityId = securityId;
        this.date = date;
        this.value = value;
        this.project = project;
    }
}
exports.AddKpiDataRequest = AddKpiDataRequest;
