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.
3.9 KiB
GetAiRouterJudgePanel200Response
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Data | Pointer to AiJudgePanelState | [optional] | |
| Data2 | Pointer to interface{} | [optional] | |
| Msg | string | Empty on success, the reason on failure. | |
| Status | string |
Methods
NewGetAiRouterJudgePanel200Response
func NewGetAiRouterJudgePanel200Response(msg string, status string, ) *GetAiRouterJudgePanel200Response
NewGetAiRouterJudgePanel200Response instantiates a new GetAiRouterJudgePanel200Response 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
NewGetAiRouterJudgePanel200ResponseWithDefaults
func NewGetAiRouterJudgePanel200ResponseWithDefaults() *GetAiRouterJudgePanel200Response
NewGetAiRouterJudgePanel200ResponseWithDefaults instantiates a new GetAiRouterJudgePanel200Response 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
GetData
func (o *GetAiRouterJudgePanel200Response) GetData() AiJudgePanelState
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *GetAiRouterJudgePanel200Response) GetDataOk() (*AiJudgePanelState, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData
func (o *GetAiRouterJudgePanel200Response) SetData(v AiJudgePanelState)
SetData sets Data field to given value.
HasData
func (o *GetAiRouterJudgePanel200Response) HasData() bool
HasData returns a boolean if a field has been set.
GetData2
func (o *GetAiRouterJudgePanel200Response) GetData2() interface{}
GetData2 returns the Data2 field if non-nil, zero value otherwise.
GetData2Ok
func (o *GetAiRouterJudgePanel200Response) GetData2Ok() (*interface{}, bool)
GetData2Ok returns a tuple with the Data2 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData2
func (o *GetAiRouterJudgePanel200Response) SetData2(v interface{})
SetData2 sets Data2 field to given value.
HasData2
func (o *GetAiRouterJudgePanel200Response) HasData2() bool
HasData2 returns a boolean if a field has been set.
SetData2Nil
func (o *GetAiRouterJudgePanel200Response) SetData2Nil(b bool)
SetData2Nil sets the value for Data2 to be an explicit nil
UnsetData2
func (o *GetAiRouterJudgePanel200Response) UnsetData2()
UnsetData2 ensures that no value is present for Data2, not even an explicit nil
GetMsg
func (o *GetAiRouterJudgePanel200Response) GetMsg() string
GetMsg returns the Msg field if non-nil, zero value otherwise.
GetMsgOk
func (o *GetAiRouterJudgePanel200Response) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMsg
func (o *GetAiRouterJudgePanel200Response) SetMsg(v string)
SetMsg sets Msg field to given value.
GetStatus
func (o *GetAiRouterJudgePanel200Response) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *GetAiRouterJudgePanel200Response) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *GetAiRouterJudgePanel200Response) SetStatus(v string)
SetStatus sets Status field to given value.