Module: Anthropic::Models::Beta::Organization::BetaOrganizationWebhookEndpoint::EnabledEvent

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb,
sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.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<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb', line 102

Instance Method Details

#initialize(id:, created_at:, description:, disabled_reason:, enabled_events:, name:, state:, updated_at:, url:) ⇒ void

A webhook endpoint that belongs to the organization rather than to one of its workspaces.

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

Parameters:

  • id (String) —

    ID of the webhook endpoint.

  • created_at (Time) —

    When the endpoint was created, in RFC 3339 format.

  • description (String) —

    Notes about the endpoint. An empty string when none were given.

  • disabled_reason (String) —

    Why Anthropic disabled the endpoint automatically. An empty string when the endp

  • enabled_events (Array<Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationWebhookEndpoint::EnabledEvent>) —

    The event types delivered to the endpoint.

  • name (String) —

    A short label for the endpoint. An empty string when none was given.

  • state (Symbol, Anthropic::Models::Beta::Organization::BetaOrganizationWebhookEndpointState) —

    Whether deliveries are sent to the endpoint.

  • updated_at (Time) —

    When the endpoint was last changed, in RFC 3339 format.

  • url (String) —

    The HTTPS URL that deliveries are sent to.



91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb', line 91

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