Class: XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult
- Defined in:
- lib/x_twitter_scraper/models/compose_create_response.rb,
sig/x_twitter_scraper/models/compose_create_response.rbs
Defined Under Namespace
Classes: ExamplePattern
Instance Attribute Summary collapse
-
#composition_guidance ⇒ Array<String>
Goal, tone, media, and editorial guidance.
- #example_patterns ⇒ Array<XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult::ExamplePattern>
-
#intent_url ⇒ String
X post intent seeded with the topic.
- #next_step ⇒ String
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
170 |
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 170
def initialize: (
|
Instance Attribute Details
#composition_guidance ⇒ Array<String>
Goal, tone, media, and editorial guidance.
206 207 208 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 206 required :composition_guidance, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :compositionGuidance |
#example_patterns ⇒ Array<XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult::ExamplePattern>
213 214 215 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 213 required :example_patterns, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult::ExamplePattern] }, api_name: :examplePatterns |
#intent_url ⇒ String
X post intent seeded with the topic.
221 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 221 required :intent_url, String, api_name: :intentUrl |
#next_step ⇒ String
226 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 226 required :next_step, String, api_name: :nextStep |
Instance Method Details
#to_hash ⇒ {
177 |
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 177
def to_hash: -> {
|