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