Files
sdk/docs/TrafficTotals.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.9 KiB

TrafficTotals

Properties

Name Type Description Notes
Rpm60m Pointer to float32 [optional]
Rps1m Pointer to float32 [optional]
TopCountries Pointer to []TrafficCountryCount [optional]

Methods

NewTrafficTotals

func NewTrafficTotals() *TrafficTotals

NewTrafficTotals instantiates a new TrafficTotals 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

NewTrafficTotalsWithDefaults

func NewTrafficTotalsWithDefaults() *TrafficTotals

NewTrafficTotalsWithDefaults instantiates a new TrafficTotals 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

GetRpm60m

func (o *TrafficTotals) GetRpm60m() float32

GetRpm60m returns the Rpm60m field if non-nil, zero value otherwise.

GetRpm60mOk

func (o *TrafficTotals) GetRpm60mOk() (*float32, bool)

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

SetRpm60m

func (o *TrafficTotals) SetRpm60m(v float32)

SetRpm60m sets Rpm60m field to given value.

HasRpm60m

func (o *TrafficTotals) HasRpm60m() bool

HasRpm60m returns a boolean if a field has been set.

GetRps1m

func (o *TrafficTotals) GetRps1m() float32

GetRps1m returns the Rps1m field if non-nil, zero value otherwise.

GetRps1mOk

func (o *TrafficTotals) GetRps1mOk() (*float32, bool)

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

SetRps1m

func (o *TrafficTotals) SetRps1m(v float32)

SetRps1m sets Rps1m field to given value.

HasRps1m

func (o *TrafficTotals) HasRps1m() bool

HasRps1m returns a boolean if a field has been set.

GetTopCountries

func (o *TrafficTotals) GetTopCountries() []TrafficCountryCount

GetTopCountries returns the TopCountries field if non-nil, zero value otherwise.

GetTopCountriesOk

func (o *TrafficTotals) GetTopCountriesOk() (*[]TrafficCountryCount, bool)

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

SetTopCountries

func (o *TrafficTotals) SetTopCountries(v []TrafficCountryCount)

SetTopCountries sets TopCountries field to given value.

HasTopCountries

func (o *TrafficTotals) HasTopCountries() bool

HasTopCountries returns a boolean if a field has been set.

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