Class: Anthropic::Models::Beta::BetaWebhookUserProfileProgramStatusUpdatedEventData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaWebhookUserProfileProgramStatusUpdatedEventData
- Defined in:
- lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb,
sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
ID of the user profile that triggered the event.
- #organization_id ⇒ String
- #type ⇒ Symbol, :"user_profile.program_status_updated"
Instance Method Summary collapse
-
#initialize ⇒ BetaWebhookUserProfileProgramStatusUpdatedEventData
constructor
A new instance of BetaWebhookUserProfileProgramStatusUpdatedEventData.
- #to_hash ⇒ { id: String, organization_id: String, type: :"user_profile.program_status_updated" }
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 ⇒ BetaWebhookUserProfileProgramStatusUpdatedEventData
Returns a new instance of BetaWebhookUserProfileProgramStatusUpdatedEventData.
20 21 22 23 24 |
# File 'sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs', line 20
def initialize: (
id: String,
organization_id: String,
?type: :"user_profile.program_status_updated"
) -> void
|
Instance Attribute Details
#id ⇒ String
ID of the user profile that triggered the event.
11 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb', line 11 required :id, String |
#organization_id ⇒ String
16 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb', line 16 required :organization_id, String |
#type ⇒ Symbol, :"user_profile.program_status_updated"
21 |
# File 'lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb', line 21 required :type, const: :"user_profile.program_status_updated" |
Instance Method Details
#to_hash ⇒ { id: String, organization_id: String, type: :"user_profile.program_status_updated" }
26 27 28 29 30 |
# File 'sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs', line 26
def to_hash: -> {
id: String,
organization_id: String,
type: :"user_profile.program_status_updated"
}
|