Class: WhopSDK::Models::ForumPost::User
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::ForumPost::User
- Defined in:
- lib/whop_sdk/models/forum_post.rb
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
The unique identifier for the user.
-
#name ⇒ String?
The user’s display name shown on their public profile.
-
#username ⇒ String
The user’s unique username shown on their public profile.
Instance Method Summary collapse
-
#initialize(id:, name:, username:) ⇒ Object
constructor
The user who authored this forum post.
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(id:, name:, username:) ⇒ Object
The user who authored this forum post.
|
|
# File 'lib/whop_sdk/models/forum_post.rb', line 195
|
Instance Attribute Details
#id ⇒ String
The unique identifier for the user.
181 |
# File 'lib/whop_sdk/models/forum_post.rb', line 181 required :id, String |
#name ⇒ String?
The user’s display name shown on their public profile.
187 |
# File 'lib/whop_sdk/models/forum_post.rb', line 187 required :name, String, nil?: true |
#username ⇒ String
The user’s unique username shown on their public profile.
193 |
# File 'lib/whop_sdk/models/forum_post.rb', line 193 required :username, String |