init(from decoder: any Decoder) throws
s6OpenAI12ModelsResultV4fromACs7Decoder_p_tKcfc
6YZ47
import OpenAI
struct ModelsResult
A list of model objects.
protocol Decoder
A type that can decode values from a native format into in-memory representations.
let data: [ModelResult]
let object: String
The object type, which is always list
list