LettaAPI.Model.AnyType (letta_api v1.0.0)

Generic type for any value. Used by auto-generated deserializer.

This module handles deserialization of fields with 'any' type in the OpenAPI spec. Following the Letta TypeScript client pattern, it's a passthrough that simply returns any value without transformation since 'any' can be any valid JSON value (string, number, boolean, array, object, null).

The struct exists to satisfy the auto-generated code expectations, but the decode/encode functions implement the actual passthrough behavior.

Summary

Functions

Decode an 'any' type value. Following Letta client patterns, this is an identity function that passes through any value as-is, ignoring the struct wrapper.

Encode an 'any' type value. Following Letta client patterns, this is an identity function that passes through any value as-is, ignoring the struct wrapper.

Functions

decode(value)

Decode an 'any' type value. Following Letta client patterns, this is an identity function that passes through any value as-is, ignoring the struct wrapper.

encode(value)

Encode an 'any' type value. Following Letta client patterns, this is an identity function that passes through any value as-is, ignoring the struct wrapper.