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