/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetClassRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetClassRequest$outboundSchema = z.object({
    sourcedId: 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 GetClassRequest$;
(function (GetClassRequest$) {
    /** @deprecated use `GetClassRequest$inboundSchema` instead. */
    GetClassRequest$.inboundSchema = GetClassRequest$inboundSchema;
    /** @deprecated use `GetClassRequest$outboundSchema` instead. */
    GetClassRequest$.outboundSchema = GetClassRequest$outboundSchema;
})(GetClassRequest$ || (GetClassRequest$ = {}));
export function getClassRequestToJSON(getClassRequest) {
    return JSON.stringify(GetClassRequest$outboundSchema.parse(getClassRequest));
}
export function getClassRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetClassRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetClassRequest' from JSON`);
}
//# sourceMappingURL=getclass.js.map