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.1 KiB
Activity
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| FieldCount | Pointer to map[string]int32 | [optional] | |
| Date | Pointer to string | [optional] |
Methods
NewActivity
func NewActivity() *Activity
NewActivity instantiates a new Activity 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
NewActivityWithDefaults
func NewActivityWithDefaults() *Activity
NewActivityWithDefaults instantiates a new Activity 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
GetFieldCount
func (o *Activity) GetFieldCount() map[string]int32
GetFieldCount returns the FieldCount field if non-nil, zero value otherwise.
GetFieldCountOk
func (o *Activity) GetFieldCountOk() (*map[string]int32, bool)
GetFieldCountOk returns a tuple with the FieldCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFieldCount
func (o *Activity) SetFieldCount(v map[string]int32)
SetFieldCount sets FieldCount field to given value.
HasFieldCount
func (o *Activity) HasFieldCount() bool
HasFieldCount returns a boolean if a field has been set.
GetDate
func (o *Activity) GetDate() string
GetDate returns the Date field if non-nil, zero value otherwise.
GetDateOk
func (o *Activity) 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 *Activity) SetDate(v string)
SetDate sets Date field to given value.
HasDate
func (o *Activity) HasDate() bool
HasDate returns a boolean if a field has been set.