Files
sdk/docs/O11yO11yMetricMetadataSaveIn.md
zeekay 94e3965efc the client carries the names the document declares, and names the document
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.
2026-08-14 14:02:11 -07:00

5.4 KiB

O11yO11yMetricMetadataSaveIn

Properties

Name Type Description Notes
Description Pointer to string Description describes the metric. [optional]
IsMonotonic Pointer to bool IsMonotonic marks a sum that only ever increases. [optional]
MetricName string MetricName is the metric to update. Required.
Temporality Pointer to string Temporality is delta or cumulative. [optional]
Type Pointer to string Type is the metric type, e.g. gauge, sum, histogram. [optional]
Unit Pointer to string Unit is the metric's unit. [optional]

Methods

NewO11yO11yMetricMetadataSaveIn

func NewO11yO11yMetricMetadataSaveIn(metricName string, ) *O11yO11yMetricMetadataSaveIn

NewO11yO11yMetricMetadataSaveIn instantiates a new O11yO11yMetricMetadataSaveIn 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

NewO11yO11yMetricMetadataSaveInWithDefaults

func NewO11yO11yMetricMetadataSaveInWithDefaults() *O11yO11yMetricMetadataSaveIn

NewO11yO11yMetricMetadataSaveInWithDefaults instantiates a new O11yO11yMetricMetadataSaveIn 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

GetDescription

func (o *O11yO11yMetricMetadataSaveIn) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *O11yO11yMetricMetadataSaveIn) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *O11yO11yMetricMetadataSaveIn) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *O11yO11yMetricMetadataSaveIn) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetIsMonotonic

func (o *O11yO11yMetricMetadataSaveIn) GetIsMonotonic() bool

GetIsMonotonic returns the IsMonotonic field if non-nil, zero value otherwise.

GetIsMonotonicOk

func (o *O11yO11yMetricMetadataSaveIn) GetIsMonotonicOk() (*bool, bool)

GetIsMonotonicOk returns a tuple with the IsMonotonic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsMonotonic

func (o *O11yO11yMetricMetadataSaveIn) SetIsMonotonic(v bool)

SetIsMonotonic sets IsMonotonic field to given value.

HasIsMonotonic

func (o *O11yO11yMetricMetadataSaveIn) HasIsMonotonic() bool

HasIsMonotonic returns a boolean if a field has been set.

GetMetricName

func (o *O11yO11yMetricMetadataSaveIn) GetMetricName() string

GetMetricName returns the MetricName field if non-nil, zero value otherwise.

GetMetricNameOk

func (o *O11yO11yMetricMetadataSaveIn) GetMetricNameOk() (*string, bool)

GetMetricNameOk returns a tuple with the MetricName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetricName

func (o *O11yO11yMetricMetadataSaveIn) SetMetricName(v string)

SetMetricName sets MetricName field to given value.

GetTemporality

func (o *O11yO11yMetricMetadataSaveIn) GetTemporality() string

GetTemporality returns the Temporality field if non-nil, zero value otherwise.

GetTemporalityOk

func (o *O11yO11yMetricMetadataSaveIn) GetTemporalityOk() (*string, bool)

GetTemporalityOk returns a tuple with the Temporality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTemporality

func (o *O11yO11yMetricMetadataSaveIn) SetTemporality(v string)

SetTemporality sets Temporality field to given value.

HasTemporality

func (o *O11yO11yMetricMetadataSaveIn) HasTemporality() bool

HasTemporality returns a boolean if a field has been set.

GetType

func (o *O11yO11yMetricMetadataSaveIn) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *O11yO11yMetricMetadataSaveIn) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *O11yO11yMetricMetadataSaveIn) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *O11yO11yMetricMetadataSaveIn) HasType() bool

HasType returns a boolean if a field has been set.

GetUnit

func (o *O11yO11yMetricMetadataSaveIn) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

GetUnitOk

func (o *O11yO11yMetricMetadataSaveIn) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUnit

func (o *O11yO11yMetricMetadataSaveIn) SetUnit(v string)

SetUnit sets Unit field to given value.

HasUnit

func (o *O11yO11yMetricMetadataSaveIn) HasUnit() bool

HasUnit returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]