Class: Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuerPollStatus
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Federation::BetaFederationIssuerPollStatus
- Defined in:
- lib/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rb,
sig/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rbs
Instance Attribute Summary collapse
-
#consecutive_failures ⇒ Integer
Consecutive fetch failures since the last success.
-
#last_fetched_at ⇒ Time?
When the last successful fetch completed.
-
#next_poll_at ⇒ Time?
When the next fetch is scheduled.
Instance Method Summary collapse
-
#initialize(consecutive_failures:, last_fetched_at:, next_poll_at:) ⇒ Object
constructor
Status of automatic JWKS polling for a federation issuer.
- #to_hash ⇒ {
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(consecutive_failures:, last_fetched_at:, next_poll_at:) ⇒ Object
Status of automatic JWKS polling for a federation issuer.
Anthropic periodically fetches the issuer's signing keys in the background. These fields summarize the most recent fetches so the health of the JWKS endpoint can be monitored.
|
|
# File 'lib/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rb', line 27
|
Instance Attribute Details
#consecutive_failures ⇒ Integer
Consecutive fetch failures since the last success.
13 |
# File 'lib/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rb', line 13 required :consecutive_failures, Integer |
#last_fetched_at ⇒ Time?
When the last successful fetch completed.
19 |
# File 'lib/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rb', line 19 required :last_fetched_at, Time, nil?: true |
#next_poll_at ⇒ Time?
When the next fetch is scheduled. Null if paused.
25 |
# File 'lib/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rb', line 25 required :next_poll_at, Time, nil?: true |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/anthropic/models/beta/organization/federation/beta_federation_issuer_poll_status.rbs', line 26
def to_hash: -> {
|