/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 023bafc6c7c0
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetDatasetsV1ObservabilityDatasetsGetRequest$outboundSchema = z.object({
    pageSize: z.int().default(50),
    page: z.int().default(1),
    q: z.nullable(z.string()).optional(),
}).transform((v) => {
    return remap$(v, {
        pageSize: "page_size",
    });
});
export function getDatasetsV1ObservabilityDatasetsGetRequestToJSON(getDatasetsV1ObservabilityDatasetsGetRequest) {
    return JSON.stringify(GetDatasetsV1ObservabilityDatasetsGetRequest$outboundSchema.parse(getDatasetsV1ObservabilityDatasetsGetRequest));
}
//# sourceMappingURL=getdatasetsv1observabilitydatasetsget.js.map