Files
sdk/docs/OpenaiCompletionTokensDetails.md
zeekay 6f6e5d1367 Regenerate: the AI surface says what it answers
288 of hanzoai/ai's 294 operations now declare a response, against 1 before.
GET /v1/models, POST /v1/chat/completions, /v1/embeddings, /v1/messages —
every address a client actually calls — used to reach this client untyped,
because cloud's relay carried an operation's sentence and dropped the shapes
it named. It carries both now.

Fleet-wide the document goes from 69% to 81% of operations declaring what
comes back, which is where the ~208 new models here come from.
2026-08-28 15:52:09 -07:00

2.6 KiB

OpenaiCompletionTokensDetails

Properties

Name Type Description Notes
AudioTokens Pointer to int32 [optional]
ReasoningTokens Pointer to int32 [optional]

Methods

NewOpenaiCompletionTokensDetails

func NewOpenaiCompletionTokensDetails() *OpenaiCompletionTokensDetails

NewOpenaiCompletionTokensDetails instantiates a new OpenaiCompletionTokensDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewOpenaiCompletionTokensDetailsWithDefaults

func NewOpenaiCompletionTokensDetailsWithDefaults() *OpenaiCompletionTokensDetails

NewOpenaiCompletionTokensDetailsWithDefaults instantiates a new OpenaiCompletionTokensDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAudioTokens

func (o *OpenaiCompletionTokensDetails) GetAudioTokens() int32

GetAudioTokens returns the AudioTokens field if non-nil, zero value otherwise.

GetAudioTokensOk

func (o *OpenaiCompletionTokensDetails) GetAudioTokensOk() (*int32, bool)

GetAudioTokensOk returns a tuple with the AudioTokens field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAudioTokens

func (o *OpenaiCompletionTokensDetails) SetAudioTokens(v int32)

SetAudioTokens sets AudioTokens field to given value.

HasAudioTokens

func (o *OpenaiCompletionTokensDetails) HasAudioTokens() bool

HasAudioTokens returns a boolean if a field has been set.

GetReasoningTokens

func (o *OpenaiCompletionTokensDetails) GetReasoningTokens() int32

GetReasoningTokens returns the ReasoningTokens field if non-nil, zero value otherwise.

GetReasoningTokensOk

func (o *OpenaiCompletionTokensDetails) GetReasoningTokensOk() (*int32, bool)

GetReasoningTokensOk returns a tuple with the ReasoningTokens field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReasoningTokens

func (o *OpenaiCompletionTokensDetails) SetReasoningTokens(v int32)

SetReasoningTokens sets ReasoningTokens field to given value.

HasReasoningTokens

func (o *OpenaiCompletionTokensDetails) HasReasoningTokens() bool

HasReasoningTokens returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]