Class: XTwitterScraper::Models::X::ProfileUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::ProfileUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/x/profile_update_params.rb
Overview
Instance Attribute Summary collapse
-
#account ⇒ String
X account (@username or ID) to update profile.
-
#description ⇒ String?
Bio description.
- #location ⇒ String?
-
#name ⇒ String?
Display name.
-
#url ⇒ String?
Website URL.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize(account:, description: nil, location: nil, name: nil, url: nil, request_options: {}) ⇒ Object constructor
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account:, description: nil, location: nil, name: nil, url: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 40
|
Instance Attribute Details
#account ⇒ String
X account (@username or ID) to update profile
15 |
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 15 required :account, String |
#description ⇒ String?
Bio description
21 |
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 21 optional :description, String |
#location ⇒ String?
26 |
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 26 optional :location, String |
#name ⇒ String?
Display name
32 |
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 32 optional :name, String |
#url ⇒ String?
Website URL
38 |
# File 'lib/x_twitter_scraper/models/x/profile_update_params.rb', line 38 optional :url, String |