/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const UpdateStudentQuestionResponseInputResponse$inboundSchema = z.union([z.string(), z.array(z.string())]);
/** @internal */
export const UpdateStudentQuestionResponseInputResponse$outboundSchema = z.union([z.string(), z.array(z.string())]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var UpdateStudentQuestionResponseInputResponse$;
(function (UpdateStudentQuestionResponseInputResponse$) {
    /** @deprecated use `UpdateStudentQuestionResponseInputResponse$inboundSchema` instead. */
    UpdateStudentQuestionResponseInputResponse$.inboundSchema = UpdateStudentQuestionResponseInputResponse$inboundSchema;
    /** @deprecated use `UpdateStudentQuestionResponseInputResponse$outboundSchema` instead. */
    UpdateStudentQuestionResponseInputResponse$.outboundSchema = UpdateStudentQuestionResponseInputResponse$outboundSchema;
})(UpdateStudentQuestionResponseInputResponse$ || (UpdateStudentQuestionResponseInputResponse$ = {}));
export function updateStudentQuestionResponseInputResponseToJSON(updateStudentQuestionResponseInputResponse) {
    return JSON.stringify(UpdateStudentQuestionResponseInputResponse$outboundSchema.parse(updateStudentQuestionResponseInputResponse));
}
export function updateStudentQuestionResponseInputResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UpdateStudentQuestionResponseInputResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateStudentQuestionResponseInputResponse' from JSON`);
}
/** @internal */
export const UpdateStudentQuestionResponseInput$inboundSchema = z.object({
    student: z.string(),
    question: z.string(),
    response: z.union([z.string(), z.array(z.string())]),
    lesson: z.string(),
});
/** @internal */
export const UpdateStudentQuestionResponseInput$outboundSchema = z.object({
    student: z.string(),
    question: z.string(),
    response: z.union([z.string(), z.array(z.string())]),
    lesson: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var UpdateStudentQuestionResponseInput$;
(function (UpdateStudentQuestionResponseInput$) {
    /** @deprecated use `UpdateStudentQuestionResponseInput$inboundSchema` instead. */
    UpdateStudentQuestionResponseInput$.inboundSchema = UpdateStudentQuestionResponseInput$inboundSchema;
    /** @deprecated use `UpdateStudentQuestionResponseInput$outboundSchema` instead. */
    UpdateStudentQuestionResponseInput$.outboundSchema = UpdateStudentQuestionResponseInput$outboundSchema;
})(UpdateStudentQuestionResponseInput$ || (UpdateStudentQuestionResponseInput$ = {}));
export function updateStudentQuestionResponseInputToJSON(updateStudentQuestionResponseInput) {
    return JSON.stringify(UpdateStudentQuestionResponseInput$outboundSchema.parse(updateStudentQuestionResponseInput));
}
export function updateStudentQuestionResponseInputFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UpdateStudentQuestionResponseInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateStudentQuestionResponseInput' from JSON`);
}
//# sourceMappingURL=updatestudentquestionresponseinput.js.map