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.1 KiB
Service
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ExpectedStatus | Pointer to string | [optional] | |
| Message | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| No | Pointer to int32 | [optional] | |
| Path | Pointer to string | [optional] | |
| Port | Pointer to int32 | [optional] | |
| ProcessId | Pointer to int32 | [optional] | |
| Status | Pointer to string | [optional] | |
| SubStatus | Pointer to string | [optional] |
Methods
NewService
func NewService() *Service
NewService instantiates a new Service 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
NewServiceWithDefaults
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service 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
GetExpectedStatus
func (o *Service) GetExpectedStatus() string
GetExpectedStatus returns the ExpectedStatus field if non-nil, zero value otherwise.
GetExpectedStatusOk
func (o *Service) GetExpectedStatusOk() (*string, bool)
GetExpectedStatusOk returns a tuple with the ExpectedStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExpectedStatus
func (o *Service) SetExpectedStatus(v string)
SetExpectedStatus sets ExpectedStatus field to given value.
HasExpectedStatus
func (o *Service) HasExpectedStatus() bool
HasExpectedStatus returns a boolean if a field has been set.
GetMessage
func (o *Service) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *Service) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *Service) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *Service) HasMessage() bool
HasMessage returns a boolean if a field has been set.
GetName
func (o *Service) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Service) 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 *Service) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *Service) HasName() bool
HasName returns a boolean if a field has been set.
GetNo
func (o *Service) GetNo() int32
GetNo returns the No field if non-nil, zero value otherwise.
GetNoOk
func (o *Service) GetNoOk() (*int32, bool)
GetNoOk returns a tuple with the No field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNo
func (o *Service) SetNo(v int32)
SetNo sets No field to given value.
HasNo
func (o *Service) HasNo() bool
HasNo returns a boolean if a field has been set.
GetPath
func (o *Service) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *Service) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPath
func (o *Service) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *Service) HasPath() bool
HasPath returns a boolean if a field has been set.
GetPort
func (o *Service) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
GetPortOk
func (o *Service) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPort
func (o *Service) SetPort(v int32)
SetPort sets Port field to given value.
HasPort
func (o *Service) HasPort() bool
HasPort returns a boolean if a field has been set.
GetProcessId
func (o *Service) GetProcessId() int32
GetProcessId returns the ProcessId field if non-nil, zero value otherwise.
GetProcessIdOk
func (o *Service) GetProcessIdOk() (*int32, bool)
GetProcessIdOk returns a tuple with the ProcessId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProcessId
func (o *Service) SetProcessId(v int32)
SetProcessId sets ProcessId field to given value.
HasProcessId
func (o *Service) HasProcessId() bool
HasProcessId returns a boolean if a field has been set.
GetStatus
func (o *Service) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *Service) 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 *Service) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *Service) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetSubStatus
func (o *Service) GetSubStatus() string
GetSubStatus returns the SubStatus field if non-nil, zero value otherwise.
GetSubStatusOk
func (o *Service) GetSubStatusOk() (*string, bool)
GetSubStatusOk returns a tuple with the SubStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSubStatus
func (o *Service) SetSubStatus(v string)
SetSubStatus sets SubStatus field to given value.
HasSubStatus
func (o *Service) HasSubStatus() bool
HasSubStatus returns a boolean if a field has been set.