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