Files
sdk/docs/AiProviderUsageModelSpend.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

3.7 KiB

AiProviderUsageModelSpend

Properties

Name Type Description Notes
Model Pointer to string [optional]
Requests Pointer to int32 [optional]
SpendCents Pointer to int32 [optional]
Tokens Pointer to int32 [optional]

Methods

NewAiProviderUsageModelSpend

func NewAiProviderUsageModelSpend() *AiProviderUsageModelSpend

NewAiProviderUsageModelSpend instantiates a new AiProviderUsageModelSpend 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

NewAiProviderUsageModelSpendWithDefaults

func NewAiProviderUsageModelSpendWithDefaults() *AiProviderUsageModelSpend

NewAiProviderUsageModelSpendWithDefaults instantiates a new AiProviderUsageModelSpend 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

GetModel

func (o *AiProviderUsageModelSpend) GetModel() string

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *AiProviderUsageModelSpend) GetModelOk() (*string, bool)

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

SetModel

func (o *AiProviderUsageModelSpend) SetModel(v string)

SetModel sets Model field to given value.

HasModel

func (o *AiProviderUsageModelSpend) HasModel() bool

HasModel returns a boolean if a field has been set.

GetRequests

func (o *AiProviderUsageModelSpend) GetRequests() int32

GetRequests returns the Requests field if non-nil, zero value otherwise.

GetRequestsOk

func (o *AiProviderUsageModelSpend) GetRequestsOk() (*int32, bool)

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

SetRequests

func (o *AiProviderUsageModelSpend) SetRequests(v int32)

SetRequests sets Requests field to given value.

HasRequests

func (o *AiProviderUsageModelSpend) HasRequests() bool

HasRequests returns a boolean if a field has been set.

GetSpendCents

func (o *AiProviderUsageModelSpend) GetSpendCents() int32

GetSpendCents returns the SpendCents field if non-nil, zero value otherwise.

GetSpendCentsOk

func (o *AiProviderUsageModelSpend) GetSpendCentsOk() (*int32, bool)

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

SetSpendCents

func (o *AiProviderUsageModelSpend) SetSpendCents(v int32)

SetSpendCents sets SpendCents field to given value.

HasSpendCents

func (o *AiProviderUsageModelSpend) HasSpendCents() bool

HasSpendCents returns a boolean if a field has been set.

GetTokens

func (o *AiProviderUsageModelSpend) GetTokens() int32

GetTokens returns the Tokens field if non-nil, zero value otherwise.

GetTokensOk

func (o *AiProviderUsageModelSpend) GetTokensOk() (*int32, bool)

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

SetTokens

func (o *AiProviderUsageModelSpend) SetTokens(v int32)

SetTokens sets Tokens field to given value.

HasTokens

func (o *AiProviderUsageModelSpend) HasTokens() bool

HasTokens returns a boolean if a field has been set.

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