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.
5.8 KiB
O11yO11yAPIKey
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CreatedAt | Pointer to time.Time | CreatedAt is when the key was minted. | [optional] |
| ExpiresAt | Pointer to int32 | ExpiresAt is when the key stops working, as a unix timestamp in seconds; zero means never. | [optional] |
| Id | Pointer to string | ID is the key id. | [optional] |
| LastObservedAt | Pointer to time.Time | LastObservedAt is when the key was last seen authenticating. | [optional] |
| Name | Pointer to string | Name is the key's name. | [optional] |
| ServiceAccountId | Pointer to string | ServiceAccountID is the account the key belongs to. | [optional] |
| UpdatedAt | Pointer to time.Time | UpdatedAt is when it last changed. | [optional] |
Methods
NewO11yO11yAPIKey
func NewO11yO11yAPIKey() *O11yO11yAPIKey
NewO11yO11yAPIKey instantiates a new O11yO11yAPIKey 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
NewO11yO11yAPIKeyWithDefaults
func NewO11yO11yAPIKeyWithDefaults() *O11yO11yAPIKey
NewO11yO11yAPIKeyWithDefaults instantiates a new O11yO11yAPIKey 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
GetCreatedAt
func (o *O11yO11yAPIKey) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *O11yO11yAPIKey) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *O11yO11yAPIKey) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *O11yO11yAPIKey) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetExpiresAt
func (o *O11yO11yAPIKey) GetExpiresAt() int32
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
GetExpiresAtOk
func (o *O11yO11yAPIKey) GetExpiresAtOk() (*int32, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExpiresAt
func (o *O11yO11yAPIKey) SetExpiresAt(v int32)
SetExpiresAt sets ExpiresAt field to given value.
HasExpiresAt
func (o *O11yO11yAPIKey) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
GetId
func (o *O11yO11yAPIKey) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *O11yO11yAPIKey) 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 *O11yO11yAPIKey) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *O11yO11yAPIKey) HasId() bool
HasId returns a boolean if a field has been set.
GetLastObservedAt
func (o *O11yO11yAPIKey) GetLastObservedAt() time.Time
GetLastObservedAt returns the LastObservedAt field if non-nil, zero value otherwise.
GetLastObservedAtOk
func (o *O11yO11yAPIKey) GetLastObservedAtOk() (*time.Time, bool)
GetLastObservedAtOk returns a tuple with the LastObservedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLastObservedAt
func (o *O11yO11yAPIKey) SetLastObservedAt(v time.Time)
SetLastObservedAt sets LastObservedAt field to given value.
HasLastObservedAt
func (o *O11yO11yAPIKey) HasLastObservedAt() bool
HasLastObservedAt returns a boolean if a field has been set.
GetName
func (o *O11yO11yAPIKey) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *O11yO11yAPIKey) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *O11yO11yAPIKey) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *O11yO11yAPIKey) HasName() bool
HasName returns a boolean if a field has been set.
GetServiceAccountId
func (o *O11yO11yAPIKey) GetServiceAccountId() string
GetServiceAccountId returns the ServiceAccountId field if non-nil, zero value otherwise.
GetServiceAccountIdOk
func (o *O11yO11yAPIKey) GetServiceAccountIdOk() (*string, bool)
GetServiceAccountIdOk returns a tuple with the ServiceAccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetServiceAccountId
func (o *O11yO11yAPIKey) SetServiceAccountId(v string)
SetServiceAccountId sets ServiceAccountId field to given value.
HasServiceAccountId
func (o *O11yO11yAPIKey) HasServiceAccountId() bool
HasServiceAccountId returns a boolean if a field has been set.
GetUpdatedAt
func (o *O11yO11yAPIKey) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *O11yO11yAPIKey) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *O11yO11yAPIKey) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *O11yO11yAPIKey) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.