/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 62853f8b2c41
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest$outboundSchema = z.object({
    datasetId: z.string(),
    pageSize: z.int().default(50),
    page: z.int().default(1),
}).transform((v) => {
    return remap$(v, {
        datasetId: "dataset_id",
        pageSize: "page_size",
    });
});
export function getDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequestToJSON(getDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest) {
    return JSON.stringify(GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest$outboundSchema
        .parse(getDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest));
}
//# sourceMappingURL=getdatasetrecordsv1observabilitydatasetsdatasetidrecordsget.js.map