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.
4.1 KiB
InsightsEvent
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DistinctId | Pointer to string | [optional] | |
| Event | Pointer to string | [optional] | |
| Properties | Pointer to map[string]interface{} | [optional] | |
| Timestamp | Pointer to string | [optional] | |
| Uuid | Pointer to string | [optional] |
Methods
NewInsightsEvent
func NewInsightsEvent() *InsightsEvent
NewInsightsEvent instantiates a new InsightsEvent 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
NewInsightsEventWithDefaults
func NewInsightsEventWithDefaults() *InsightsEvent
NewInsightsEventWithDefaults instantiates a new InsightsEvent 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
GetDistinctId
func (o *InsightsEvent) GetDistinctId() string
GetDistinctId returns the DistinctId field if non-nil, zero value otherwise.
GetDistinctIdOk
func (o *InsightsEvent) GetDistinctIdOk() (*string, bool)
GetDistinctIdOk returns a tuple with the DistinctId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDistinctId
func (o *InsightsEvent) SetDistinctId(v string)
SetDistinctId sets DistinctId field to given value.
HasDistinctId
func (o *InsightsEvent) HasDistinctId() bool
HasDistinctId returns a boolean if a field has been set.
GetEvent
func (o *InsightsEvent) GetEvent() string
GetEvent returns the Event field if non-nil, zero value otherwise.
GetEventOk
func (o *InsightsEvent) GetEventOk() (*string, bool)
GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEvent
func (o *InsightsEvent) SetEvent(v string)
SetEvent sets Event field to given value.
HasEvent
func (o *InsightsEvent) HasEvent() bool
HasEvent returns a boolean if a field has been set.
GetProperties
func (o *InsightsEvent) GetProperties() map[string]interface{}
GetProperties returns the Properties field if non-nil, zero value otherwise.
GetPropertiesOk
func (o *InsightsEvent) GetPropertiesOk() (*map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProperties
func (o *InsightsEvent) SetProperties(v map[string]interface{})
SetProperties sets Properties field to given value.
HasProperties
func (o *InsightsEvent) HasProperties() bool
HasProperties returns a boolean if a field has been set.
GetTimestamp
func (o *InsightsEvent) GetTimestamp() string
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
GetTimestampOk
func (o *InsightsEvent) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTimestamp
func (o *InsightsEvent) SetTimestamp(v string)
SetTimestamp sets Timestamp field to given value.
HasTimestamp
func (o *InsightsEvent) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
GetUuid
func (o *InsightsEvent) GetUuid() string
GetUuid returns the Uuid field if non-nil, zero value otherwise.
GetUuidOk
func (o *InsightsEvent) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUuid
func (o *InsightsEvent) SetUuid(v string)
SetUuid sets Uuid field to given value.
HasUuid
func (o *InsightsEvent) HasUuid() bool
HasUuid returns a boolean if a field has been set.