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.
6.2 KiB
Article
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Content | Pointer to []Block | [optional] | |
| CreatedTime | Pointer to string | [optional] | |
| DisplayName | Pointer to string | [optional] | |
| Glossary | Pointer to []string | [optional] | |
| Name | Pointer to string | [optional] | |
| Owner | Pointer to string | [optional] | |
| Text | Pointer to string | [optional] | |
| Type | Pointer to string | [optional] | |
| Workflow | Pointer to string | [optional] |
Methods
NewArticle
func NewArticle() *Article
NewArticle instantiates a new Article 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
NewArticleWithDefaults
func NewArticleWithDefaults() *Article
NewArticleWithDefaults instantiates a new Article 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
GetContent
func (o *Article) GetContent() []Block
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *Article) GetContentOk() (*[]Block, 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 *Article) SetContent(v []Block)
SetContent sets Content field to given value.
HasContent
func (o *Article) HasContent() bool
HasContent returns a boolean if a field has been set.
GetCreatedTime
func (o *Article) GetCreatedTime() string
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
GetCreatedTimeOk
func (o *Article) GetCreatedTimeOk() (*string, bool)
GetCreatedTimeOk returns a tuple with the CreatedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedTime
func (o *Article) SetCreatedTime(v string)
SetCreatedTime sets CreatedTime field to given value.
HasCreatedTime
func (o *Article) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
GetDisplayName
func (o *Article) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *Article) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDisplayName
func (o *Article) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
HasDisplayName
func (o *Article) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
GetGlossary
func (o *Article) GetGlossary() []string
GetGlossary returns the Glossary field if non-nil, zero value otherwise.
GetGlossaryOk
func (o *Article) GetGlossaryOk() (*[]string, bool)
GetGlossaryOk returns a tuple with the Glossary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGlossary
func (o *Article) SetGlossary(v []string)
SetGlossary sets Glossary field to given value.
HasGlossary
func (o *Article) HasGlossary() bool
HasGlossary returns a boolean if a field has been set.
GetName
func (o *Article) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Article) 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 *Article) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *Article) HasName() bool
HasName returns a boolean if a field has been set.
GetOwner
func (o *Article) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
GetOwnerOk
func (o *Article) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOwner
func (o *Article) SetOwner(v string)
SetOwner sets Owner field to given value.
HasOwner
func (o *Article) HasOwner() bool
HasOwner returns a boolean if a field has been set.
GetText
func (o *Article) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *Article) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetText
func (o *Article) SetText(v string)
SetText sets Text field to given value.
HasText
func (o *Article) HasText() bool
HasText returns a boolean if a field has been set.
GetType
func (o *Article) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *Article) 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 *Article) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *Article) HasType() bool
HasType returns a boolean if a field has been set.
GetWorkflow
func (o *Article) GetWorkflow() string
GetWorkflow returns the Workflow field if non-nil, zero value otherwise.
GetWorkflowOk
func (o *Article) GetWorkflowOk() (*string, bool)
GetWorkflowOk returns a tuple with the Workflow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWorkflow
func (o *Article) SetWorkflow(v string)
SetWorkflow sets Workflow field to given value.
HasWorkflow
func (o *Article) HasWorkflow() bool
HasWorkflow returns a boolean if a field has been set.