Every method read CloudGetV1Tools: a cloud_ service prefix and the default version, both inside the operationId, from a document two renames ago. 2703 method names carried V1 and 3186 carried Cloud, and each one addressed an operation that no longer exists. Regenerated from hanzoai/cloud's openapi.yaml at the ref .spec-lock now names, digest re-checked. Two names survive and are correct: GetTeamTransactorApiV1Statistics keeps its second v1 because that one is a path segment, and CloudIntegrationId is a query setter named after its parameter. Four schemas cannot be generated as they stand, and the fix is a generator knob rather than an edit to the output. Three o11y schemas declare a field whose Pascal spelling is already the accessor Go emits for a sibling — the eight has<Label>Name flags on PodOnboarding, has_existing_observability_tool on PostableProfile, and the two spellings each of integration_config and removed_at that GettableAgentCheckIn publishes so older AWS agents keep working. Each maps to a Go-side name; the document's key stays as the json tag, so every one still round-trips under the name it was sent with. Every mapped value is spelled exported: the Go generator takes a mapped name verbatim where python and kotlin re-case theirs, so a camel value lands an unexported field that compiles and that encoding/json drops in both directions. The fourth is the document's `Config`, the MQ stream configuration, whose constructor NewConfig is already hanzo.go's. It maps to StreamConfig, which is also what it is — every other config in the document is qualified. The drift check asks the committed FILES manifest whether the generator ever owned a file before calling it stale. Without that it reported hanzo.go and hanzo_test.go, which the generator never wrote, and could not pass. Examples call what the client has. hello moves to get_keys, the route that refuses a bad key, since bot_authMe stopped resolving when cloud began relaying all of /v1/bot through one wildcard. chat has no example in any language: the document states POST /v1/chat/completions and not its shape, so the generated method carries no prompt. TestFlows still pins the address.
7.5 KiB
AskRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| FollowUps | Pointer to bool | [optional] | |
| Language | Pointer to string | [optional] | |
| MaxQueries | Pointer to int32 | [optional] | |
| MaxSources | Pointer to int32 | [optional] | |
| Mode | Pointer to string | [optional] | |
| Model | Pointer to string | [optional] | |
| Q | Pointer to string | [optional] | |
| Question | Pointer to string | [optional] | |
| Sources | Pointer to []string | [optional] | |
| Stream | Pointer to bool | [optional] | |
| System | Pointer to string | [optional] |
Methods
NewAskRequest
func NewAskRequest() *AskRequest
NewAskRequest instantiates a new AskRequest 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
NewAskRequestWithDefaults
func NewAskRequestWithDefaults() *AskRequest
NewAskRequestWithDefaults instantiates a new AskRequest 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
GetFollowUps
func (o *AskRequest) GetFollowUps() bool
GetFollowUps returns the FollowUps field if non-nil, zero value otherwise.
GetFollowUpsOk
func (o *AskRequest) GetFollowUpsOk() (*bool, bool)
GetFollowUpsOk returns a tuple with the FollowUps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFollowUps
func (o *AskRequest) SetFollowUps(v bool)
SetFollowUps sets FollowUps field to given value.
HasFollowUps
func (o *AskRequest) HasFollowUps() bool
HasFollowUps returns a boolean if a field has been set.
GetLanguage
func (o *AskRequest) GetLanguage() string
GetLanguage returns the Language field if non-nil, zero value otherwise.
GetLanguageOk
func (o *AskRequest) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLanguage
func (o *AskRequest) SetLanguage(v string)
SetLanguage sets Language field to given value.
HasLanguage
func (o *AskRequest) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
GetMaxQueries
func (o *AskRequest) GetMaxQueries() int32
GetMaxQueries returns the MaxQueries field if non-nil, zero value otherwise.
GetMaxQueriesOk
func (o *AskRequest) GetMaxQueriesOk() (*int32, bool)
GetMaxQueriesOk returns a tuple with the MaxQueries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMaxQueries
func (o *AskRequest) SetMaxQueries(v int32)
SetMaxQueries sets MaxQueries field to given value.
HasMaxQueries
func (o *AskRequest) HasMaxQueries() bool
HasMaxQueries returns a boolean if a field has been set.
GetMaxSources
func (o *AskRequest) GetMaxSources() int32
GetMaxSources returns the MaxSources field if non-nil, zero value otherwise.
GetMaxSourcesOk
func (o *AskRequest) GetMaxSourcesOk() (*int32, bool)
GetMaxSourcesOk returns a tuple with the MaxSources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMaxSources
func (o *AskRequest) SetMaxSources(v int32)
SetMaxSources sets MaxSources field to given value.
HasMaxSources
func (o *AskRequest) HasMaxSources() bool
HasMaxSources returns a boolean if a field has been set.
GetMode
func (o *AskRequest) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
GetModeOk
func (o *AskRequest) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMode
func (o *AskRequest) SetMode(v string)
SetMode sets Mode field to given value.
HasMode
func (o *AskRequest) HasMode() bool
HasMode returns a boolean if a field has been set.
GetModel
func (o *AskRequest) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *AskRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModel
func (o *AskRequest) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *AskRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
GetQ
func (o *AskRequest) GetQ() string
GetQ returns the Q field if non-nil, zero value otherwise.
GetQOk
func (o *AskRequest) GetQOk() (*string, bool)
GetQOk returns a tuple with the Q field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQ
func (o *AskRequest) SetQ(v string)
SetQ sets Q field to given value.
HasQ
func (o *AskRequest) HasQ() bool
HasQ returns a boolean if a field has been set.
GetQuestion
func (o *AskRequest) GetQuestion() string
GetQuestion returns the Question field if non-nil, zero value otherwise.
GetQuestionOk
func (o *AskRequest) GetQuestionOk() (*string, bool)
GetQuestionOk returns a tuple with the Question field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQuestion
func (o *AskRequest) SetQuestion(v string)
SetQuestion sets Question field to given value.
HasQuestion
func (o *AskRequest) HasQuestion() bool
HasQuestion returns a boolean if a field has been set.
GetSources
func (o *AskRequest) GetSources() []string
GetSources returns the Sources field if non-nil, zero value otherwise.
GetSourcesOk
func (o *AskRequest) GetSourcesOk() (*[]string, bool)
GetSourcesOk returns a tuple with the Sources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSources
func (o *AskRequest) SetSources(v []string)
SetSources sets Sources field to given value.
HasSources
func (o *AskRequest) HasSources() bool
HasSources returns a boolean if a field has been set.
GetStream
func (o *AskRequest) GetStream() bool
GetStream returns the Stream field if non-nil, zero value otherwise.
GetStreamOk
func (o *AskRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStream
func (o *AskRequest) SetStream(v bool)
SetStream sets Stream field to given value.
HasStream
func (o *AskRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
GetSystem
func (o *AskRequest) GetSystem() string
GetSystem returns the System field if non-nil, zero value otherwise.
GetSystemOk
func (o *AskRequest) GetSystemOk() (*string, bool)
GetSystemOk returns a tuple with the System field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSystem
func (o *AskRequest) SetSystem(v string)
SetSystem sets System field to given value.
HasSystem
func (o *AskRequest) HasSystem() bool
HasSystem returns a boolean if a field has been set.