/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 738e466299bb
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
import { DatasetRecord$inboundSchema } from "./datasetrecord.js";
/** @internal */
export const PaginatedResultDatasetRecord$inboundSchema = z.object({
    results: z.array(DatasetRecord$inboundSchema).optional(),
    count: z.int(),
    next: z.nullable(z.string()).optional(),
    previous: z.nullable(z.string()).optional(),
});
export function paginatedResultDatasetRecordFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PaginatedResultDatasetRecord$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PaginatedResultDatasetRecord' from JSON`);
}
//# sourceMappingURL=paginatedresultdatasetrecord.js.map