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