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.
3.7 KiB
AiProviderUsageSeriesPoint
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Requests | Pointer to int32 | [optional] | |
| SpendCents | Pointer to int32 | [optional] | |
| T | Pointer to string | [optional] | |
| Tokens | Pointer to int32 | [optional] |
Methods
NewAiProviderUsageSeriesPoint
func NewAiProviderUsageSeriesPoint() *AiProviderUsageSeriesPoint
NewAiProviderUsageSeriesPoint instantiates a new AiProviderUsageSeriesPoint 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
NewAiProviderUsageSeriesPointWithDefaults
func NewAiProviderUsageSeriesPointWithDefaults() *AiProviderUsageSeriesPoint
NewAiProviderUsageSeriesPointWithDefaults instantiates a new AiProviderUsageSeriesPoint 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
GetRequests
func (o *AiProviderUsageSeriesPoint) GetRequests() int32
GetRequests returns the Requests field if non-nil, zero value otherwise.
GetRequestsOk
func (o *AiProviderUsageSeriesPoint) 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 *AiProviderUsageSeriesPoint) SetRequests(v int32)
SetRequests sets Requests field to given value.
HasRequests
func (o *AiProviderUsageSeriesPoint) HasRequests() bool
HasRequests returns a boolean if a field has been set.
GetSpendCents
func (o *AiProviderUsageSeriesPoint) GetSpendCents() int32
GetSpendCents returns the SpendCents field if non-nil, zero value otherwise.
GetSpendCentsOk
func (o *AiProviderUsageSeriesPoint) 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 *AiProviderUsageSeriesPoint) SetSpendCents(v int32)
SetSpendCents sets SpendCents field to given value.
HasSpendCents
func (o *AiProviderUsageSeriesPoint) HasSpendCents() bool
HasSpendCents returns a boolean if a field has been set.
GetT
func (o *AiProviderUsageSeriesPoint) GetT() string
GetT returns the T field if non-nil, zero value otherwise.
GetTOk
func (o *AiProviderUsageSeriesPoint) GetTOk() (*string, bool)
GetTOk returns a tuple with the T field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetT
func (o *AiProviderUsageSeriesPoint) SetT(v string)
SetT sets T field to given value.
HasT
func (o *AiProviderUsageSeriesPoint) HasT() bool
HasT returns a boolean if a field has been set.
GetTokens
func (o *AiProviderUsageSeriesPoint) GetTokens() int32
GetTokens returns the Tokens field if non-nil, zero value otherwise.
GetTokensOk
func (o *AiProviderUsageSeriesPoint) 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 *AiProviderUsageSeriesPoint) SetTokens(v int32)
SetTokens sets Tokens field to given value.
HasTokens
func (o *AiProviderUsageSeriesPoint) HasTokens() bool
HasTokens returns a boolean if a field has been set.