Class: Moonbase::Models::SocialProfileXParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Moonbase::Models::SocialProfileXParam
- Defined in:
- lib/moonbase/models/social_profile_x_param.rb
Instance Attribute Summary collapse
-
#url ⇒ String?
The full URL to the X profile, starting with ‘x.com/’.
-
#username ⇒ String?
The X username, up to 15 characters long, containing only lowercase letters (a-z), uppercase letters (A-Z), numbers (0-9), and underscores (_).
Instance Method Summary collapse
-
#initialize(url: nil, username: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SocialProfileXParam for more details.
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(url: nil, username: nil) ⇒ Object
Some parameter documentations has been truncated, see Moonbase::Models::SocialProfileXParam for more details.
Social media profile information including both the full URL and extracted username.
|
|
# File 'lib/moonbase/models/social_profile_x_param.rb', line 20
|
Instance Attribute Details
#url ⇒ String?
The full URL to the X profile, starting with ‘x.com/’
10 |
# File 'lib/moonbase/models/social_profile_x_param.rb', line 10 optional :url, String |
#username ⇒ String?
The X username, up to 15 characters long, containing only lowercase letters (a-z), uppercase letters (A-Z), numbers (0-9), and underscores (_). Does not include the ‘@’ symbol prefix.
18 |
# File 'lib/moonbase/models/social_profile_x_param.rb', line 18 optional :username, String |