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.
5.1 KiB
TrafficPoint
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ByService | Pointer to map[string]int32 | [optional] | |
| ByTask | Pointer to map[string]int32 | [optional] | |
| Count | Pointer to int32 | [optional] | |
| Country | Pointer to string | [optional] | |
| Lat | Pointer to float32 | [optional] | |
| Lon | Pointer to float32 | [optional] | |
| Region | Pointer to string | [optional] |
Methods
NewTrafficPoint
func NewTrafficPoint() *TrafficPoint
NewTrafficPoint instantiates a new TrafficPoint 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
NewTrafficPointWithDefaults
func NewTrafficPointWithDefaults() *TrafficPoint
NewTrafficPointWithDefaults instantiates a new TrafficPoint 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
GetByService
func (o *TrafficPoint) GetByService() map[string]int32
GetByService returns the ByService field if non-nil, zero value otherwise.
GetByServiceOk
func (o *TrafficPoint) GetByServiceOk() (*map[string]int32, bool)
GetByServiceOk returns a tuple with the ByService field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetByService
func (o *TrafficPoint) SetByService(v map[string]int32)
SetByService sets ByService field to given value.
HasByService
func (o *TrafficPoint) HasByService() bool
HasByService returns a boolean if a field has been set.
GetByTask
func (o *TrafficPoint) GetByTask() map[string]int32
GetByTask returns the ByTask field if non-nil, zero value otherwise.
GetByTaskOk
func (o *TrafficPoint) GetByTaskOk() (*map[string]int32, bool)
GetByTaskOk returns a tuple with the ByTask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetByTask
func (o *TrafficPoint) SetByTask(v map[string]int32)
SetByTask sets ByTask field to given value.
HasByTask
func (o *TrafficPoint) HasByTask() bool
HasByTask returns a boolean if a field has been set.
GetCount
func (o *TrafficPoint) GetCount() int32
GetCount returns the Count field if non-nil, zero value otherwise.
GetCountOk
func (o *TrafficPoint) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCount
func (o *TrafficPoint) SetCount(v int32)
SetCount sets Count field to given value.
HasCount
func (o *TrafficPoint) HasCount() bool
HasCount returns a boolean if a field has been set.
GetCountry
func (o *TrafficPoint) GetCountry() string
GetCountry returns the Country field if non-nil, zero value otherwise.
GetCountryOk
func (o *TrafficPoint) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCountry
func (o *TrafficPoint) SetCountry(v string)
SetCountry sets Country field to given value.
HasCountry
func (o *TrafficPoint) HasCountry() bool
HasCountry returns a boolean if a field has been set.
GetLat
func (o *TrafficPoint) GetLat() float32
GetLat returns the Lat field if non-nil, zero value otherwise.
GetLatOk
func (o *TrafficPoint) GetLatOk() (*float32, bool)
GetLatOk returns a tuple with the Lat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLat
func (o *TrafficPoint) SetLat(v float32)
SetLat sets Lat field to given value.
HasLat
func (o *TrafficPoint) HasLat() bool
HasLat returns a boolean if a field has been set.
GetLon
func (o *TrafficPoint) GetLon() float32
GetLon returns the Lon field if non-nil, zero value otherwise.
GetLonOk
func (o *TrafficPoint) GetLonOk() (*float32, bool)
GetLonOk returns a tuple with the Lon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLon
func (o *TrafficPoint) SetLon(v float32)
SetLon sets Lon field to given value.
HasLon
func (o *TrafficPoint) HasLon() bool
HasLon returns a boolean if a field has been set.
GetRegion
func (o *TrafficPoint) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
GetRegionOk
func (o *TrafficPoint) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRegion
func (o *TrafficPoint) SetRegion(v string)
SetRegion sets Region field to given value.
HasRegion
func (o *TrafficPoint) HasRegion() bool
HasRegion returns a boolean if a field has been set.