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.
2.7 KiB
TrafficWindow
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Minutes | Pointer to int32 | [optional] | |
| Since | Pointer to string | [optional] | |
| Until | Pointer to string | [optional] |
Methods
NewTrafficWindow
func NewTrafficWindow() *TrafficWindow
NewTrafficWindow instantiates a new TrafficWindow 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
NewTrafficWindowWithDefaults
func NewTrafficWindowWithDefaults() *TrafficWindow
NewTrafficWindowWithDefaults instantiates a new TrafficWindow 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
GetMinutes
func (o *TrafficWindow) GetMinutes() int32
GetMinutes returns the Minutes field if non-nil, zero value otherwise.
GetMinutesOk
func (o *TrafficWindow) GetMinutesOk() (*int32, bool)
GetMinutesOk returns a tuple with the Minutes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMinutes
func (o *TrafficWindow) SetMinutes(v int32)
SetMinutes sets Minutes field to given value.
HasMinutes
func (o *TrafficWindow) HasMinutes() bool
HasMinutes returns a boolean if a field has been set.
GetSince
func (o *TrafficWindow) GetSince() string
GetSince returns the Since field if non-nil, zero value otherwise.
GetSinceOk
func (o *TrafficWindow) GetSinceOk() (*string, bool)
GetSinceOk returns a tuple with the Since field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSince
func (o *TrafficWindow) SetSince(v string)
SetSince sets Since field to given value.
HasSince
func (o *TrafficWindow) HasSince() bool
HasSince returns a boolean if a field has been set.
GetUntil
func (o *TrafficWindow) GetUntil() string
GetUntil returns the Until field if non-nil, zero value otherwise.
GetUntilOk
func (o *TrafficWindow) GetUntilOk() (*string, bool)
GetUntilOk returns a tuple with the Until field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUntil
func (o *TrafficWindow) SetUntil(v string)
SetUntil sets Until field to given value.
HasUntil
func (o *TrafficWindow) HasUntil() bool
HasUntil returns a boolean if a field has been set.