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.2 KiB
DocSearchResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Breadcrumbs | Pointer to []string | [optional] | |
| Content | Pointer to string | [optional] | |
| FileId | Pointer to string | [optional] | |
| Id | Pointer to string | [optional] | |
| Title | Pointer to string | [optional] | |
| Type | Pointer to string | [optional] | |
| Url | Pointer to string | [optional] |
Methods
NewDocSearchResult
func NewDocSearchResult() *DocSearchResult
NewDocSearchResult instantiates a new DocSearchResult 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
NewDocSearchResultWithDefaults
func NewDocSearchResultWithDefaults() *DocSearchResult
NewDocSearchResultWithDefaults instantiates a new DocSearchResult 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
GetBreadcrumbs
func (o *DocSearchResult) GetBreadcrumbs() []string
GetBreadcrumbs returns the Breadcrumbs field if non-nil, zero value otherwise.
GetBreadcrumbsOk
func (o *DocSearchResult) GetBreadcrumbsOk() (*[]string, bool)
GetBreadcrumbsOk returns a tuple with the Breadcrumbs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBreadcrumbs
func (o *DocSearchResult) SetBreadcrumbs(v []string)
SetBreadcrumbs sets Breadcrumbs field to given value.
HasBreadcrumbs
func (o *DocSearchResult) HasBreadcrumbs() bool
HasBreadcrumbs returns a boolean if a field has been set.
GetContent
func (o *DocSearchResult) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *DocSearchResult) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *DocSearchResult) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *DocSearchResult) HasContent() bool
HasContent returns a boolean if a field has been set.
GetFileId
func (o *DocSearchResult) GetFileId() string
GetFileId returns the FileId field if non-nil, zero value otherwise.
GetFileIdOk
func (o *DocSearchResult) GetFileIdOk() (*string, bool)
GetFileIdOk returns a tuple with the FileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFileId
func (o *DocSearchResult) SetFileId(v string)
SetFileId sets FileId field to given value.
HasFileId
func (o *DocSearchResult) HasFileId() bool
HasFileId returns a boolean if a field has been set.
GetId
func (o *DocSearchResult) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *DocSearchResult) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *DocSearchResult) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *DocSearchResult) HasId() bool
HasId returns a boolean if a field has been set.
GetTitle
func (o *DocSearchResult) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *DocSearchResult) 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 *DocSearchResult) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *DocSearchResult) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetType
func (o *DocSearchResult) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *DocSearchResult) 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 *DocSearchResult) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *DocSearchResult) HasType() bool
HasType returns a boolean if a field has been set.
GetUrl
func (o *DocSearchResult) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
GetUrlOk
func (o *DocSearchResult) 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 *DocSearchResult) SetUrl(v string)
SetUrl sets Url field to given value.
HasUrl
func (o *DocSearchResult) HasUrl() bool
HasUrl returns a boolean if a field has been set.