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