Class: XTwitterScraper::Models::ComposeCreateResponse::ComposeScoreResult
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/x_twitter_scraper/models/compose_create_response.rb,
sig/x_twitter_scraper/models/compose_create_response.rbs
Defined Under Namespace
Classes: Checklist
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
225
|
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 225
def initialize: (
|
Instance Attribute Details
Deterministic editorial checks. Not a reach prediction.
259
260
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 259
required :checklist,
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::ComposeCreateResponse::ComposeScoreResult::Checklist] }
|
#intent_url ⇒ String?
Present only when every check passes.
291
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 291
optional :intent_url, String, api_name: :intentUrl
|
#next_step ⇒ String
265
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 265
required :next_step, String, api_name: :nextStep
|
#passed ⇒ Boolean
270
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 270
required :passed, XTwitterScraper::Internal::Type::Boolean
|
#passed_count ⇒ Integer
275
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 275
required :passed_count, Integer, api_name: :passedCount
|
#top_suggestion ⇒ String
280
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 280
required :top_suggestion, String, api_name: :topSuggestion
|
#total_checks ⇒ Integer, 9
285
|
# File 'lib/x_twitter_scraper/models/compose_create_response.rb', line 285
required :total_checks, const: 9, api_name: :totalChecks
|
Instance Method Details
#to_hash ⇒ {
235
|
# File 'sig/x_twitter_scraper/models/compose_create_response.rbs', line 235
def to_hash: -> {
|