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.9 KiB
TemplateConfigOption
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Default | Pointer to string | [optional] | |
| Description | Pointer to string | [optional] | |
| Options | Pointer to []string | [optional] | |
| Parameter | Pointer to string | [optional] | |
| Required | Pointer to bool | [optional] | |
| Type | Pointer to string | [optional] |
Methods
NewTemplateConfigOption
func NewTemplateConfigOption() *TemplateConfigOption
NewTemplateConfigOption instantiates a new TemplateConfigOption 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
NewTemplateConfigOptionWithDefaults
func NewTemplateConfigOptionWithDefaults() *TemplateConfigOption
NewTemplateConfigOptionWithDefaults instantiates a new TemplateConfigOption 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
GetDefault
func (o *TemplateConfigOption) GetDefault() string
GetDefault returns the Default field if non-nil, zero value otherwise.
GetDefaultOk
func (o *TemplateConfigOption) GetDefaultOk() (*string, bool)
GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefault
func (o *TemplateConfigOption) SetDefault(v string)
SetDefault sets Default field to given value.
HasDefault
func (o *TemplateConfigOption) HasDefault() bool
HasDefault returns a boolean if a field has been set.
GetDescription
func (o *TemplateConfigOption) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *TemplateConfigOption) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDescription
func (o *TemplateConfigOption) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *TemplateConfigOption) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetOptions
func (o *TemplateConfigOption) GetOptions() []string
GetOptions returns the Options field if non-nil, zero value otherwise.
GetOptionsOk
func (o *TemplateConfigOption) GetOptionsOk() (*[]string, bool)
GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOptions
func (o *TemplateConfigOption) SetOptions(v []string)
SetOptions sets Options field to given value.
HasOptions
func (o *TemplateConfigOption) HasOptions() bool
HasOptions returns a boolean if a field has been set.
GetParameter
func (o *TemplateConfigOption) GetParameter() string
GetParameter returns the Parameter field if non-nil, zero value otherwise.
GetParameterOk
func (o *TemplateConfigOption) GetParameterOk() (*string, bool)
GetParameterOk returns a tuple with the Parameter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetParameter
func (o *TemplateConfigOption) SetParameter(v string)
SetParameter sets Parameter field to given value.
HasParameter
func (o *TemplateConfigOption) HasParameter() bool
HasParameter returns a boolean if a field has been set.
GetRequired
func (o *TemplateConfigOption) GetRequired() bool
GetRequired returns the Required field if non-nil, zero value otherwise.
GetRequiredOk
func (o *TemplateConfigOption) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRequired
func (o *TemplateConfigOption) SetRequired(v bool)
SetRequired sets Required field to given value.
HasRequired
func (o *TemplateConfigOption) HasRequired() bool
HasRequired returns a boolean if a field has been set.
GetType
func (o *TemplateConfigOption) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *TemplateConfigOption) 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 *TemplateConfigOption) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *TemplateConfigOption) HasType() bool
HasType returns a boolean if a field has been set.