// SPDX-License-Identifier: Apache-2.0
import ValidatedRequest from "../../../../core/validation/ValidatedArgs";
import FormatValidation from "../FormatValidation";
export default class GetLatestKpiDataRequest extends ValidatedRequest {
    securityId;
    from;
    to;
    kpi;
    constructor({ securityId, from, to, kpi }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            from: FormatValidation.checkNumber({ min: 0 }),
            to: FormatValidation.checkNumber({ min: 0 }),
            kpi: FormatValidation.checkString({ emptyCheck: true }),
        });
        this.securityId = securityId;
        this.from = from;
        this.to = to;
        this.kpi = kpi;
    }
}
