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.7 KiB
Layout
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Category | Pointer to string | [optional] | |
| CreatedTime | Pointer to string | [optional] | |
| DisplayName | Pointer to string | [optional] | |
| FormItems | Pointer to []FormItem | [optional] | |
| Name | Pointer to string | [optional] | |
| Owner | Pointer to string | [optional] | |
| Position | Pointer to string | [optional] | |
| Tag | Pointer to string | [optional] | |
| Type | Pointer to string | [optional] | |
| Url | Pointer to string | [optional] |
Methods
NewLayout
func NewLayout() *Layout
NewLayout instantiates a new Layout 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
NewLayoutWithDefaults
func NewLayoutWithDefaults() *Layout
NewLayoutWithDefaults instantiates a new Layout 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
GetCategory
func (o *Layout) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
GetCategoryOk
func (o *Layout) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCategory
func (o *Layout) SetCategory(v string)
SetCategory sets Category field to given value.
HasCategory
func (o *Layout) HasCategory() bool
HasCategory returns a boolean if a field has been set.
GetCreatedTime
func (o *Layout) GetCreatedTime() string
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
GetCreatedTimeOk
func (o *Layout) 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 *Layout) SetCreatedTime(v string)
SetCreatedTime sets CreatedTime field to given value.
HasCreatedTime
func (o *Layout) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
GetDisplayName
func (o *Layout) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *Layout) 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 *Layout) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
HasDisplayName
func (o *Layout) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
GetFormItems
func (o *Layout) GetFormItems() []FormItem
GetFormItems returns the FormItems field if non-nil, zero value otherwise.
GetFormItemsOk
func (o *Layout) GetFormItemsOk() (*[]FormItem, bool)
GetFormItemsOk returns a tuple with the FormItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFormItems
func (o *Layout) SetFormItems(v []FormItem)
SetFormItems sets FormItems field to given value.
HasFormItems
func (o *Layout) HasFormItems() bool
HasFormItems returns a boolean if a field has been set.
GetName
func (o *Layout) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Layout) 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 *Layout) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *Layout) HasName() bool
HasName returns a boolean if a field has been set.
GetOwner
func (o *Layout) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
GetOwnerOk
func (o *Layout) 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 *Layout) SetOwner(v string)
SetOwner sets Owner field to given value.
HasOwner
func (o *Layout) HasOwner() bool
HasOwner returns a boolean if a field has been set.
GetPosition
func (o *Layout) GetPosition() string
GetPosition returns the Position field if non-nil, zero value otherwise.
GetPositionOk
func (o *Layout) GetPositionOk() (*string, bool)
GetPositionOk returns a tuple with the Position field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPosition
func (o *Layout) SetPosition(v string)
SetPosition sets Position field to given value.
HasPosition
func (o *Layout) HasPosition() bool
HasPosition returns a boolean if a field has been set.
GetTag
func (o *Layout) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
GetTagOk
func (o *Layout) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTag
func (o *Layout) SetTag(v string)
SetTag sets Tag field to given value.
HasTag
func (o *Layout) HasTag() bool
HasTag returns a boolean if a field has been set.
GetType
func (o *Layout) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *Layout) 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 *Layout) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *Layout) HasType() bool
HasType returns a boolean if a field has been set.
GetUrl
func (o *Layout) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
GetUrlOk
func (o *Layout) 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 *Layout) SetUrl(v string)
SetUrl sets Url field to given value.
HasUrl
func (o *Layout) HasUrl() bool
HasUrl returns a boolean if a field has been set.