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