CodingKeys
ModelResult.swift:22enum CodingKeys
enum CodingKeys
import OpenAI
struct ModelResult
The model object matching the specified ID.
case id
case created
case object
case ownedBy
init(from decoder: any Decoder) throws
let created: TimeInterval
The Unix timestamp (in seconds) when the model was created.
let id: String
The model identifier, which can be referenced in the API endpoints.
let object: String
The object type, which is always “model”.
let ownedBy: String
The organization that owns the model.
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
A type that can be used as a key for encoding and decoding.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(intValue: Int)
init?(rawValue: String)
init?(stringValue: String)
var debugDescription: String { get }
A textual representation of this key, suitable for debugging.
var description: String { get }
A textual representation of this key.
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)