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.3 KiB
SpanBody
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Duration | Pointer to int32 | [optional] | |
| Id | Pointer to string | [optional] | |
| Kind | Pointer to string | [optional] | |
| Parent | Pointer to string | [optional] | |
| Status | Pointer to string | [optional] | |
| Trace | Pointer to string | [optional] |
Methods
NewSpanBody
func NewSpanBody() *SpanBody
NewSpanBody instantiates a new SpanBody 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
NewSpanBodyWithDefaults
func NewSpanBodyWithDefaults() *SpanBody
NewSpanBodyWithDefaults instantiates a new SpanBody 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
GetDuration
func (o *SpanBody) GetDuration() int32
GetDuration returns the Duration field if non-nil, zero value otherwise.
GetDurationOk
func (o *SpanBody) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDuration
func (o *SpanBody) SetDuration(v int32)
SetDuration sets Duration field to given value.
HasDuration
func (o *SpanBody) HasDuration() bool
HasDuration returns a boolean if a field has been set.
GetId
func (o *SpanBody) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *SpanBody) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *SpanBody) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *SpanBody) HasId() bool
HasId returns a boolean if a field has been set.
GetKind
func (o *SpanBody) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
GetKindOk
func (o *SpanBody) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKind
func (o *SpanBody) SetKind(v string)
SetKind sets Kind field to given value.
HasKind
func (o *SpanBody) HasKind() bool
HasKind returns a boolean if a field has been set.
GetParent
func (o *SpanBody) GetParent() string
GetParent returns the Parent field if non-nil, zero value otherwise.
GetParentOk
func (o *SpanBody) GetParentOk() (*string, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetParent
func (o *SpanBody) SetParent(v string)
SetParent sets Parent field to given value.
HasParent
func (o *SpanBody) HasParent() bool
HasParent returns a boolean if a field has been set.
GetStatus
func (o *SpanBody) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *SpanBody) 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 *SpanBody) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *SpanBody) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetTrace
func (o *SpanBody) GetTrace() string
GetTrace returns the Trace field if non-nil, zero value otherwise.
GetTraceOk
func (o *SpanBody) GetTraceOk() (*string, bool)
GetTraceOk returns a tuple with the Trace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTrace
func (o *SpanBody) SetTrace(v string)
SetTrace sets Trace field to given value.
HasTrace
func (o *SpanBody) HasTrace() bool
HasTrace returns a boolean if a field has been set.