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.
4.0 KiB
ModelSearchResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Icon | Pointer to string | [optional] | |
| Index | Pointer to int32 | [optional] | |
| SiteName | Pointer to string | [optional] | |
| Title | Pointer to string | [optional] | |
| Url | Pointer to string | [optional] |
Methods
NewModelSearchResult
func NewModelSearchResult() *ModelSearchResult
NewModelSearchResult instantiates a new ModelSearchResult 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
NewModelSearchResultWithDefaults
func NewModelSearchResultWithDefaults() *ModelSearchResult
NewModelSearchResultWithDefaults instantiates a new ModelSearchResult 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
GetIcon
func (o *ModelSearchResult) GetIcon() string
GetIcon returns the Icon field if non-nil, zero value otherwise.
GetIconOk
func (o *ModelSearchResult) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIcon
func (o *ModelSearchResult) SetIcon(v string)
SetIcon sets Icon field to given value.
HasIcon
func (o *ModelSearchResult) HasIcon() bool
HasIcon returns a boolean if a field has been set.
GetIndex
func (o *ModelSearchResult) GetIndex() int32
GetIndex returns the Index field if non-nil, zero value otherwise.
GetIndexOk
func (o *ModelSearchResult) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIndex
func (o *ModelSearchResult) SetIndex(v int32)
SetIndex sets Index field to given value.
HasIndex
func (o *ModelSearchResult) HasIndex() bool
HasIndex returns a boolean if a field has been set.
GetSiteName
func (o *ModelSearchResult) GetSiteName() string
GetSiteName returns the SiteName field if non-nil, zero value otherwise.
GetSiteNameOk
func (o *ModelSearchResult) GetSiteNameOk() (*string, bool)
GetSiteNameOk returns a tuple with the SiteName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSiteName
func (o *ModelSearchResult) SetSiteName(v string)
SetSiteName sets SiteName field to given value.
HasSiteName
func (o *ModelSearchResult) HasSiteName() bool
HasSiteName returns a boolean if a field has been set.
GetTitle
func (o *ModelSearchResult) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *ModelSearchResult) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *ModelSearchResult) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *ModelSearchResult) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetUrl
func (o *ModelSearchResult) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
GetUrlOk
func (o *ModelSearchResult) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUrl
func (o *ModelSearchResult) SetUrl(v string)
SetUrl sets Url field to given value.
HasUrl
func (o *ModelSearchResult) HasUrl() bool
HasUrl returns a boolean if a field has been set.