Module: Anthropic::Models::Beta::Organization::WebhookUpdateParams::EnabledEvent

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/organization/webhook_update_params.rb,
sig/anthropic/models/beta/organization/webhook_update_params.rbs

Constant Summary collapse

EXTERNAL_KEY_FAILED =

Returns:

  • (:"external_key.failed")
:"external_key.failed"
EXTERNAL_KEY_RECOVERED =

Returns:

  • (:"external_key.recovered")
:"external_key.recovered"
EXTERNAL_STORAGE_FAILED =

Returns:

  • (:"external_storage.failed")
:"external_storage.failed"
EXTERNAL_STORAGE_RECOVERED =

Returns:

  • (:"external_storage.recovered")
:"external_storage.recovered"
USER_PROFILE_ENFORCEMENT_ACTION_OPENED =

Returns:

  • (:"user_profile.enforcement_action_opened")
:"user_profile.enforcement_action_opened"
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED =

Returns:

  • (:"user_profile.enforcement_action_resolved")
:"user_profile.enforcement_action_resolved"
USER_PROFILE_PROGRAM_STATUS_UPDATED =

Returns:

  • (:"user_profile.program_status_updated")
:"user_profile.program_status_updated"

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ ::Array[Anthropic::Models::Beta::Organization::WebhookUpdateParams::enabled_event]

Returns:

  • (::Array[Anthropic::Models::Beta::Organization::WebhookUpdateParams::enabled_event])


95
# File 'sig/anthropic/models/beta/organization/webhook_update_params.rbs', line 95

def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::WebhookUpdateParams::enabled_event]

Instance Method Details

#initialize(webhook_endpoint_id:, description: nil, enabled_events: nil, name: nil, state: nil, url: nil, betas: nil, request_options: {}) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::WebhookUpdateParams for more details.

Parameters:



79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/anthropic/models/beta/organization/webhook_update_params.rb', line 79

module EnabledEvent
  extend Anthropic::Internal::Type::Enum

  EXTERNAL_KEY_FAILED = :"external_key.failed"
  EXTERNAL_KEY_RECOVERED = :"external_key.recovered"
  EXTERNAL_STORAGE_FAILED = :"external_storage.failed"
  EXTERNAL_STORAGE_RECOVERED = :"external_storage.recovered"
  USER_PROFILE_ENFORCEMENT_ACTION_OPENED = :"user_profile.enforcement_action_opened"
  USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED = :"user_profile.enforcement_action_resolved"
  USER_PROFILE_PROGRAM_STATUS_UPDATED = :"user_profile.program_status_updated"

  # @!method self.values
  #   @return [Array<Symbol>]
end