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.3 KiB
Session
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CreatedTime | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| Owner | Pointer to string | [optional] | |
| SessionId | Pointer to []string | [optional] |
Methods
NewSession
func NewSession() *Session
NewSession instantiates a new Session 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
NewSessionWithDefaults
func NewSessionWithDefaults() *Session
NewSessionWithDefaults instantiates a new Session 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
GetCreatedTime
func (o *Session) GetCreatedTime() string
GetCreatedTime returns the CreatedTime field if non-nil, zero value otherwise.
GetCreatedTimeOk
func (o *Session) 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 *Session) SetCreatedTime(v string)
SetCreatedTime sets CreatedTime field to given value.
HasCreatedTime
func (o *Session) HasCreatedTime() bool
HasCreatedTime returns a boolean if a field has been set.
GetName
func (o *Session) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Session) 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 *Session) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *Session) HasName() bool
HasName returns a boolean if a field has been set.
GetOwner
func (o *Session) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
GetOwnerOk
func (o *Session) 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 *Session) SetOwner(v string)
SetOwner sets Owner field to given value.
HasOwner
func (o *Session) HasOwner() bool
HasOwner returns a boolean if a field has been set.
GetSessionId
func (o *Session) GetSessionId() []string
GetSessionId returns the SessionId field if non-nil, zero value otherwise.
GetSessionIdOk
func (o *Session) GetSessionIdOk() (*[]string, bool)
GetSessionIdOk returns a tuple with the SessionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSessionId
func (o *Session) SetSessionId(v []string)
SetSessionId sets SessionId field to given value.
HasSessionId
func (o *Session) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.