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
FormItem
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Label | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| Type | Pointer to string | [optional] | |
| Visible | Pointer to bool | [optional] | |
| Width | Pointer to string | [optional] |
Methods
NewFormItem
func NewFormItem() *FormItem
NewFormItem instantiates a new FormItem 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
NewFormItemWithDefaults
func NewFormItemWithDefaults() *FormItem
NewFormItemWithDefaults instantiates a new FormItem 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
GetLabel
func (o *FormItem) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
GetLabelOk
func (o *FormItem) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLabel
func (o *FormItem) SetLabel(v string)
SetLabel sets Label field to given value.
HasLabel
func (o *FormItem) HasLabel() bool
HasLabel returns a boolean if a field has been set.
GetName
func (o *FormItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *FormItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *FormItem) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *FormItem) HasName() bool
HasName returns a boolean if a field has been set.
GetType
func (o *FormItem) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *FormItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *FormItem) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *FormItem) HasType() bool
HasType returns a boolean if a field has been set.
GetVisible
func (o *FormItem) GetVisible() bool
GetVisible returns the Visible field if non-nil, zero value otherwise.
GetVisibleOk
func (o *FormItem) GetVisibleOk() (*bool, bool)
GetVisibleOk returns a tuple with the Visible field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVisible
func (o *FormItem) SetVisible(v bool)
SetVisible sets Visible field to given value.
HasVisible
func (o *FormItem) HasVisible() bool
HasVisible returns a boolean if a field has been set.
GetWidth
func (o *FormItem) GetWidth() string
GetWidth returns the Width field if non-nil, zero value otherwise.
GetWidthOk
func (o *FormItem) GetWidthOk() (*string, bool)
GetWidthOk returns a tuple with the Width field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWidth
func (o *FormItem) SetWidth(v string)
SetWidth sets Width field to given value.
HasWidth
func (o *FormItem) HasWidth() bool
HasWidth returns a boolean if a field has been set.