Files
sdk/docs/O11yO11yLLMUpdatablePricingRule.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

7.9 KiB

O11yO11yLLMUpdatablePricingRule

Properties

Name Type Description Notes
Enabled Pointer to bool Enabled turns the rule on. [optional]
Id Pointer to string ID matches an existing rule by its id. [optional]
IsOverride Pointer to bool IsOverride pins the rule so the sync job skips it. Omit to leave a matched override untouched. [optional]
ModelName Pointer to string Model is the model the rule prices. Required. [optional]
ModelPattern Pointer to []string ModelPattern are the model-name globs the rule matches. Required. [optional]
Pricing Pointer to O11yO11yLLMRulePricing Pricing is the per-unit cost. Required. [optional]
Provider Pointer to string Provider is the model's provider. Required. [optional]
SourceId Pointer to string SourceID matches an existing rule by its upstream source id. [optional]
Unit Pointer to string Unit is the pricing unit, e.g. per_million_tokens. Required. [optional]

Methods

NewO11yO11yLLMUpdatablePricingRule

func NewO11yO11yLLMUpdatablePricingRule() *O11yO11yLLMUpdatablePricingRule

NewO11yO11yLLMUpdatablePricingRule instantiates a new O11yO11yLLMUpdatablePricingRule 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

NewO11yO11yLLMUpdatablePricingRuleWithDefaults

func NewO11yO11yLLMUpdatablePricingRuleWithDefaults() *O11yO11yLLMUpdatablePricingRule

NewO11yO11yLLMUpdatablePricingRuleWithDefaults instantiates a new O11yO11yLLMUpdatablePricingRule 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

GetEnabled

func (o *O11yO11yLLMUpdatablePricingRule) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *O11yO11yLLMUpdatablePricingRule) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *O11yO11yLLMUpdatablePricingRule) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *O11yO11yLLMUpdatablePricingRule) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetId

func (o *O11yO11yLLMUpdatablePricingRule) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *O11yO11yLLMUpdatablePricingRule) 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 *O11yO11yLLMUpdatablePricingRule) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *O11yO11yLLMUpdatablePricingRule) HasId() bool

HasId returns a boolean if a field has been set.

GetIsOverride

func (o *O11yO11yLLMUpdatablePricingRule) GetIsOverride() bool

GetIsOverride returns the IsOverride field if non-nil, zero value otherwise.

GetIsOverrideOk

func (o *O11yO11yLLMUpdatablePricingRule) GetIsOverrideOk() (*bool, bool)

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

SetIsOverride

func (o *O11yO11yLLMUpdatablePricingRule) SetIsOverride(v bool)

SetIsOverride sets IsOverride field to given value.

HasIsOverride

func (o *O11yO11yLLMUpdatablePricingRule) HasIsOverride() bool

HasIsOverride returns a boolean if a field has been set.

GetModelName

func (o *O11yO11yLLMUpdatablePricingRule) GetModelName() string

GetModelName returns the ModelName field if non-nil, zero value otherwise.

GetModelNameOk

func (o *O11yO11yLLMUpdatablePricingRule) GetModelNameOk() (*string, bool)

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

SetModelName

func (o *O11yO11yLLMUpdatablePricingRule) SetModelName(v string)

SetModelName sets ModelName field to given value.

HasModelName

func (o *O11yO11yLLMUpdatablePricingRule) HasModelName() bool

HasModelName returns a boolean if a field has been set.

GetModelPattern

func (o *O11yO11yLLMUpdatablePricingRule) GetModelPattern() []string

GetModelPattern returns the ModelPattern field if non-nil, zero value otherwise.

GetModelPatternOk

func (o *O11yO11yLLMUpdatablePricingRule) GetModelPatternOk() (*[]string, bool)

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

SetModelPattern

func (o *O11yO11yLLMUpdatablePricingRule) SetModelPattern(v []string)

SetModelPattern sets ModelPattern field to given value.

HasModelPattern

func (o *O11yO11yLLMUpdatablePricingRule) HasModelPattern() bool

HasModelPattern returns a boolean if a field has been set.

GetPricing

func (o *O11yO11yLLMUpdatablePricingRule) GetPricing() O11yO11yLLMRulePricing

GetPricing returns the Pricing field if non-nil, zero value otherwise.

GetPricingOk

func (o *O11yO11yLLMUpdatablePricingRule) GetPricingOk() (*O11yO11yLLMRulePricing, bool)

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

SetPricing

func (o *O11yO11yLLMUpdatablePricingRule) SetPricing(v O11yO11yLLMRulePricing)

SetPricing sets Pricing field to given value.

HasPricing

func (o *O11yO11yLLMUpdatablePricingRule) HasPricing() bool

HasPricing returns a boolean if a field has been set.

GetProvider

func (o *O11yO11yLLMUpdatablePricingRule) GetProvider() string

GetProvider returns the Provider field if non-nil, zero value otherwise.

GetProviderOk

func (o *O11yO11yLLMUpdatablePricingRule) GetProviderOk() (*string, bool)

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

SetProvider

func (o *O11yO11yLLMUpdatablePricingRule) SetProvider(v string)

SetProvider sets Provider field to given value.

HasProvider

func (o *O11yO11yLLMUpdatablePricingRule) HasProvider() bool

HasProvider returns a boolean if a field has been set.

GetSourceId

func (o *O11yO11yLLMUpdatablePricingRule) GetSourceId() string

GetSourceId returns the SourceId field if non-nil, zero value otherwise.

GetSourceIdOk

func (o *O11yO11yLLMUpdatablePricingRule) GetSourceIdOk() (*string, bool)

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

SetSourceId

func (o *O11yO11yLLMUpdatablePricingRule) SetSourceId(v string)

SetSourceId sets SourceId field to given value.

HasSourceId

func (o *O11yO11yLLMUpdatablePricingRule) HasSourceId() bool

HasSourceId returns a boolean if a field has been set.

GetUnit

func (o *O11yO11yLLMUpdatablePricingRule) GetUnit() string

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

GetUnitOk

func (o *O11yO11yLLMUpdatablePricingRule) 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 *O11yO11yLLMUpdatablePricingRule) SetUnit(v string)

SetUnit sets Unit field to given value.

HasUnit

func (o *O11yO11yLLMUpdatablePricingRule) HasUnit() bool

HasUnit returns a boolean if a field has been set.

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