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
230 |
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 230
def initialize: (
|
Instance Attribute Details
#composition_guidance ⇒ Array<String>
Goal, tone, media, and editorial guidance.
267 268 269 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 267 required :composition_guidance, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :compositionGuidance |
#example_patterns ⇒ Array<XTwitterScraper::Models::ComposeCreateResponse::ComposeRefineResult::ExamplePattern>
274 275 276 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 274 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.
282 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 282 required :intent_url, String, api_name: :intentUrl |
#next_step ⇒ String
287 |
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 287 required :next_step, String, api_name: :nextStep |
Instance Method Details
#to_hash ⇒ {
237 |
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 237
def to_hash: -> {
|