Files
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

5.1 KiB

Count

Properties

Name Type Description Notes
ChatCount Pointer to int32 [optional]
Currency Pointer to string [optional]
Date Pointer to string [optional]
MessageCount Pointer to int32 [optional]
Price Pointer to float32 [optional]
TokenCount Pointer to int32 [optional]
UserCount Pointer to int32 [optional]

Methods

NewCount

func NewCount() *Count

NewCount instantiates a new Count 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

NewCountWithDefaults

func NewCountWithDefaults() *Count

NewCountWithDefaults instantiates a new Count 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

GetChatCount

func (o *Count) GetChatCount() int32

GetChatCount returns the ChatCount field if non-nil, zero value otherwise.

GetChatCountOk

func (o *Count) GetChatCountOk() (*int32, bool)

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

SetChatCount

func (o *Count) SetChatCount(v int32)

SetChatCount sets ChatCount field to given value.

HasChatCount

func (o *Count) HasChatCount() bool

HasChatCount returns a boolean if a field has been set.

GetCurrency

func (o *Count) GetCurrency() string

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *Count) GetCurrencyOk() (*string, bool)

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

SetCurrency

func (o *Count) SetCurrency(v string)

SetCurrency sets Currency field to given value.

HasCurrency

func (o *Count) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

GetDate

func (o *Count) GetDate() string

GetDate returns the Date field if non-nil, zero value otherwise.

GetDateOk

func (o *Count) GetDateOk() (*string, bool)

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

SetDate

func (o *Count) SetDate(v string)

SetDate sets Date field to given value.

HasDate

func (o *Count) HasDate() bool

HasDate returns a boolean if a field has been set.

GetMessageCount

func (o *Count) GetMessageCount() int32

GetMessageCount returns the MessageCount field if non-nil, zero value otherwise.

GetMessageCountOk

func (o *Count) GetMessageCountOk() (*int32, bool)

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

SetMessageCount

func (o *Count) SetMessageCount(v int32)

SetMessageCount sets MessageCount field to given value.

HasMessageCount

func (o *Count) HasMessageCount() bool

HasMessageCount returns a boolean if a field has been set.

GetPrice

func (o *Count) GetPrice() float32

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *Count) GetPriceOk() (*float32, bool)

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

SetPrice

func (o *Count) SetPrice(v float32)

SetPrice sets Price field to given value.

HasPrice

func (o *Count) HasPrice() bool

HasPrice returns a boolean if a field has been set.

GetTokenCount

func (o *Count) GetTokenCount() int32

GetTokenCount returns the TokenCount field if non-nil, zero value otherwise.

GetTokenCountOk

func (o *Count) GetTokenCountOk() (*int32, bool)

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

SetTokenCount

func (o *Count) SetTokenCount(v int32)

SetTokenCount sets TokenCount field to given value.

HasTokenCount

func (o *Count) HasTokenCount() bool

HasTokenCount returns a boolean if a field has been set.

GetUserCount

func (o *Count) GetUserCount() int32

GetUserCount returns the UserCount field if non-nil, zero value otherwise.

GetUserCountOk

func (o *Count) GetUserCountOk() (*int32, bool)

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

SetUserCount

func (o *Count) SetUserCount(v int32)

SetUserCount sets UserCount field to given value.

HasUserCount

func (o *Count) HasUserCount() bool

HasUserCount returns a boolean if a field has been set.

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