/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod/v3";

export type UpdateFTModelIn = {
  name?: string | null | undefined;
  description?: string | null | undefined;
};

/** @internal */
export type UpdateFTModelIn$Outbound = {
  name?: string | null | undefined;
  description?: string | null | undefined;
};

/** @internal */
export const UpdateFTModelIn$outboundSchema: z.ZodType<
  UpdateFTModelIn$Outbound,
  z.ZodTypeDef,
  UpdateFTModelIn
> = z.object({
  name: z.nullable(z.string()).optional(),
  description: z.nullable(z.string()).optional(),
});

export function updateFTModelInToJSON(
  updateFTModelIn: UpdateFTModelIn,
): string {
  return JSON.stringify(UpdateFTModelIn$outboundSchema.parse(updateFTModelIn));
}
