Class: Anthropic::Models::Beta::BetaWebhookUserProfileEnforcementActionOpenedEventData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaWebhookUserProfileEnforcementActionOpenedEventData
- Defined in:
- lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb,
sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs
Instance Attribute Summary collapse
-
#enforcement_action_id ⇒ String
ID (
enac_...) of the enforcement action that was opened or resolved. -
#id ⇒ String
ID of the user profile the enforcement action is on.
- #organization_id ⇒ String
- #type ⇒ Symbol, :"user_profile.enforcement_action_opened"
Instance Method Summary collapse
-
#initialize ⇒ BetaWebhookUserProfileEnforcementActionOpenedEventData
constructor
A new instance of BetaWebhookUserProfileEnforcementActionOpenedEventData.
- #to_hash ⇒ { id: String, enforcement_action_id: String, organization_id: String, type: :"user_profile.enforcement_action_opened" }
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 ⇒ BetaWebhookUserProfileEnforcementActionOpenedEventData
Returns a new instance of BetaWebhookUserProfileEnforcementActionOpenedEventData.
23 24 25 26 27 28 |
# File 'sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs', line 23
def initialize: (
id: String,
enforcement_action_id: String,
organization_id: String,
?type: :"user_profile.enforcement_action_opened"
) -> void
|
Instance Attribute Details
#enforcement_action_id ⇒ String
ID (enac_...) of the enforcement action that was opened or resolved.
17 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb', line 17 required :enforcement_action_id, String |
#id ⇒ String
ID of the user profile the enforcement action is on.
11 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb', line 11 required :id, String |
#organization_id ⇒ String
22 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb', line 22 required :organization_id, String |
#type ⇒ Symbol, :"user_profile.enforcement_action_opened"
27 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb', line 27 required :type, const: :"user_profile.enforcement_action_opened" |
Instance Method Details
#to_hash ⇒ { id: String, enforcement_action_id: String, organization_id: String, type: :"user_profile.enforcement_action_opened" }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs', line 30
def to_hash: -> {
id: String,
enforcement_action_id: String,
organization_id: String,
type: :"user_profile.enforcement_action_opened"
}
|