// SPDX-License-Identifier: Apache-2.0
import ValidatedRequest from "../../../../../../core/validation/ValidatedArgs";
import FormatValidation from "../../../../../in/request/FormatValidation";
export default class GetClearingsIdForByPartitionRequest extends ValidatedRequest {
    securityId;
    targetId;
    partitionId;
    clearingOperationType;
    start;
    end;
    constructor({ securityId, targetId, partitionId, clearingOperationType, start, end, }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            targetId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            partitionId: FormatValidation.checkBytes32Format(),
            start: FormatValidation.checkNumber({ min: 0 }),
            end: FormatValidation.checkNumber({ min: 0 }),
        });
        this.securityId = securityId;
        this.targetId = targetId;
        this.partitionId = partitionId;
        this.clearingOperationType = clearingOperationType;
        this.start = start;
        this.end = end;
    }
}
