Class: WhopSDK::Models::ChatReactionCreatedWebhookEvent::Data::Audience
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::ChatReactionCreatedWebhookEvent::Data::Audience
- Defined in:
- lib/whop_sdk/models/chat_reaction_created_webhook_event.rb,
sig/whop_sdk/models/chat_reaction_created_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #type ⇒ Symbol, WhopSDK::Models::ChatReactionCreatedWebhookEvent::Data::Audience::Type
- #user_ids ⇒ Array<String>?
Instance Method Summary collapse
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(type:, user_ids: nil) ⇒ Object
|
|
# File 'lib/whop_sdk/models/chat_reaction_created_webhook_event.rb', line 106
|
Instance Attribute Details
#type ⇒ Symbol, WhopSDK::Models::ChatReactionCreatedWebhookEvent::Data::Audience::Type
99 |
# File 'lib/whop_sdk/models/chat_reaction_created_webhook_event.rb', line 99 required :type, enum: -> { WhopSDK::ChatReactionCreatedWebhookEvent::Data::Audience::Type } |
#user_ids ⇒ Array<String>?
104 |
# File 'lib/whop_sdk/models/chat_reaction_created_webhook_event.rb', line 104 optional :user_ids, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
Instance Method Details
#to_hash ⇒ {
96 |
# File 'sig/whop_sdk/models/chat_reaction_created_webhook_event.rbs', line 96
def to_hash: -> {
|