UnknownResponseContentPart

class UnknownResponseContentPart(val type: String, val raw: JsonObject) : ResponseContentPart

A content part whose type this version of the SDK does not model.

Keeps the payload verbatim so a response stays readable — and round-trips unchanged when replayed as input — after the API grows a part type.

Constructors

Link copied to clipboard
constructor(type: String, raw: JsonObject)

Properties

Link copied to clipboard
val raw: JsonObject

The part exactly as it arrived, discriminator included.

Link copied to clipboard
open override val type: String

Raw type discriminator the API sent.

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