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.
3.5 KiB
O11ySpanAggregationResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Aggregation | Pointer to interface{} | [optional] | |
| Field | Pointer to O11yTelemetryFieldKey | [optional] | |
| Value | Pointer to map[string]int32 | [optional] |
Methods
NewO11ySpanAggregationResult
func NewO11ySpanAggregationResult() *O11ySpanAggregationResult
NewO11ySpanAggregationResult instantiates a new O11ySpanAggregationResult 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
NewO11ySpanAggregationResultWithDefaults
func NewO11ySpanAggregationResultWithDefaults() *O11ySpanAggregationResult
NewO11ySpanAggregationResultWithDefaults instantiates a new O11ySpanAggregationResult 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
GetAggregation
func (o *O11ySpanAggregationResult) GetAggregation() interface{}
GetAggregation returns the Aggregation field if non-nil, zero value otherwise.
GetAggregationOk
func (o *O11ySpanAggregationResult) GetAggregationOk() (*interface{}, bool)
GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAggregation
func (o *O11ySpanAggregationResult) SetAggregation(v interface{})
SetAggregation sets Aggregation field to given value.
HasAggregation
func (o *O11ySpanAggregationResult) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
SetAggregationNil
func (o *O11ySpanAggregationResult) SetAggregationNil(b bool)
SetAggregationNil sets the value for Aggregation to be an explicit nil
UnsetAggregation
func (o *O11ySpanAggregationResult) UnsetAggregation()
UnsetAggregation ensures that no value is present for Aggregation, not even an explicit nil
GetField
func (o *O11ySpanAggregationResult) GetField() O11yTelemetryFieldKey
GetField returns the Field field if non-nil, zero value otherwise.
GetFieldOk
func (o *O11ySpanAggregationResult) GetFieldOk() (*O11yTelemetryFieldKey, bool)
GetFieldOk returns a tuple with the Field field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetField
func (o *O11ySpanAggregationResult) SetField(v O11yTelemetryFieldKey)
SetField sets Field field to given value.
HasField
func (o *O11ySpanAggregationResult) HasField() bool
HasField returns a boolean if a field has been set.
GetValue
func (o *O11ySpanAggregationResult) GetValue() map[string]int32
GetValue returns the Value field if non-nil, zero value otherwise.
GetValueOk
func (o *O11ySpanAggregationResult) GetValueOk() (*map[string]int32, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValue
func (o *O11ySpanAggregationResult) SetValue(v map[string]int32)
SetValue sets Value field to given value.
HasValue
func (o *O11ySpanAggregationResult) HasValue() bool
HasValue returns a boolean if a field has been set.