TextFormat

@Serializable
class TextFormat

Wire form of TextConfig.format. Build it through the TextConfig factories rather than directly.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String?

Name of the schema; set only when type is json_schema.

Link copied to clipboard
val schema: JsonObject?

JSON Schema the answer must conform to; set only when type is json_schema.

Link copied to clipboard

Format discriminator: text, json_object or json_schema.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String