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

O11yBasicAuth

Properties

Name Type Description Notes
Password Pointer to interface{} [optional]
PasswordFile Pointer to string [optional]
PasswordRef Pointer to string PasswordRef is the name of the secret within the secret manager to use as the password. [optional]
Username Pointer to string [optional]
UsernameFile Pointer to string [optional]
UsernameRef Pointer to string UsernameRef is the name of the secret within the secret manager to use as the username. [optional]

Methods

NewO11yBasicAuth

func NewO11yBasicAuth() *O11yBasicAuth

NewO11yBasicAuth instantiates a new O11yBasicAuth 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

NewO11yBasicAuthWithDefaults

func NewO11yBasicAuthWithDefaults() *O11yBasicAuth

NewO11yBasicAuthWithDefaults instantiates a new O11yBasicAuth 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

GetPassword

func (o *O11yBasicAuth) GetPassword() interface{}

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *O11yBasicAuth) GetPasswordOk() (*interface{}, bool)

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

SetPassword

func (o *O11yBasicAuth) SetPassword(v interface{})

SetPassword sets Password field to given value.

HasPassword

func (o *O11yBasicAuth) HasPassword() bool

HasPassword returns a boolean if a field has been set.

SetPasswordNil

func (o *O11yBasicAuth) SetPasswordNil(b bool)

SetPasswordNil sets the value for Password to be an explicit nil

UnsetPassword

func (o *O11yBasicAuth) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

GetPasswordFile

func (o *O11yBasicAuth) GetPasswordFile() string

GetPasswordFile returns the PasswordFile field if non-nil, zero value otherwise.

GetPasswordFileOk

func (o *O11yBasicAuth) GetPasswordFileOk() (*string, bool)

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

SetPasswordFile

func (o *O11yBasicAuth) SetPasswordFile(v string)

SetPasswordFile sets PasswordFile field to given value.

HasPasswordFile

func (o *O11yBasicAuth) HasPasswordFile() bool

HasPasswordFile returns a boolean if a field has been set.

GetPasswordRef

func (o *O11yBasicAuth) GetPasswordRef() string

GetPasswordRef returns the PasswordRef field if non-nil, zero value otherwise.

GetPasswordRefOk

func (o *O11yBasicAuth) GetPasswordRefOk() (*string, bool)

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

SetPasswordRef

func (o *O11yBasicAuth) SetPasswordRef(v string)

SetPasswordRef sets PasswordRef field to given value.

HasPasswordRef

func (o *O11yBasicAuth) HasPasswordRef() bool

HasPasswordRef returns a boolean if a field has been set.

GetUsername

func (o *O11yBasicAuth) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *O11yBasicAuth) GetUsernameOk() (*string, bool)

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

SetUsername

func (o *O11yBasicAuth) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *O11yBasicAuth) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetUsernameFile

func (o *O11yBasicAuth) GetUsernameFile() string

GetUsernameFile returns the UsernameFile field if non-nil, zero value otherwise.

GetUsernameFileOk

func (o *O11yBasicAuth) GetUsernameFileOk() (*string, bool)

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

SetUsernameFile

func (o *O11yBasicAuth) SetUsernameFile(v string)

SetUsernameFile sets UsernameFile field to given value.

HasUsernameFile

func (o *O11yBasicAuth) HasUsernameFile() bool

HasUsernameFile returns a boolean if a field has been set.

GetUsernameRef

func (o *O11yBasicAuth) GetUsernameRef() string

GetUsernameRef returns the UsernameRef field if non-nil, zero value otherwise.

GetUsernameRefOk

func (o *O11yBasicAuth) GetUsernameRefOk() (*string, bool)

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

SetUsernameRef

func (o *O11yBasicAuth) SetUsernameRef(v string)

SetUsernameRef sets UsernameRef field to given value.

HasUsernameRef

func (o *O11yBasicAuth) HasUsernameRef() bool

HasUsernameRef returns a boolean if a field has been set.

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