Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject
- Defined in:
- lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb,
sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#http_response ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse?
The captured HTTP error response from the token endpoint.
-
#status ⇒ Symbol, Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject::Status
Outcome of the refresh attempt.
Instance Method Summary collapse
-
#initialize(http_response:, status:) ⇒ BetaManagedAgentsRefreshObject
constructor
Outcome of a refresh-token exchange attempted during credential validation.
- #to_hash ⇒ { http_response: Anthropic::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse?, status: Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject::status }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(http_response:, status:) ⇒ BetaManagedAgentsRefreshObject
Outcome of a refresh-token exchange attempted during credential validation.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject for more details.
|
|
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb', line 25
|
Instance Attribute Details
#http_response ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse?
The captured HTTP error response from the token endpoint. Populated only when
status is failed.
13 14 15 16 17 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb', line 13 required :http_response, -> { Anthropic::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse }, nil?: true |
#status ⇒ Symbol, Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject::Status
Outcome of the refresh attempt.
23 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb', line 23 required :status, enum: -> { Anthropic::Beta::Vaults::BetaManagedAgentsRefreshObject::Status } |
Instance Method Details
#to_hash ⇒ { http_response: Anthropic::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse?, status: Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject::status }
21 22 23 24 |
# File 'sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs', line 21
def to_hash: -> {
http_response: Anthropic::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse?,
status: Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshObject::status
}
|