Class: XTwitterScraper::Models::ExtractionEstimateCostResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb,
sig/x_twitter_scraper/models/extraction_estimate_cost_response.rbs
Overview
Defined Under Namespace
Modules: Source
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(allowed:, credits_available:, credits_required:, estimated_results:, source:, resolved_x_user_id: nil) ⇒ Object
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 37
|
Instance Attribute Details
#allowed ⇒ Boolean
10
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 10
required :allowed, XTwitterScraper::Internal::Type::Boolean
|
#credits_available ⇒ String
15
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 15
required :credits_available, String, api_name: :creditsAvailable
|
#credits_required ⇒ String
20
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 20
required :credits_required, String, api_name: :creditsRequired
|
#estimated_results ⇒ Integer
25
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 25
required :estimated_results, Integer, api_name: :estimatedResults
|
#resolved_x_user_id ⇒ String?
35
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 35
optional :resolved_x_user_id, String, api_name: :resolvedXUserId
|
30
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_response.rb', line 30
required :source, enum: -> { XTwitterScraper::Models::ExtractionEstimateCostResponse::Source }
|
Instance Method Details
#to_hash ⇒ {
37
|
# File 'sig/x_twitter_scraper/models/extraction_estimate_cost_response.rbs', line 37
def to_hash: -> {
|