Class: XTwitterScraper::Models::X::Tweets::RetweetDeleteResponse::Billing
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::Tweets::RetweetDeleteResponse::Billing
- Defined in:
- lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb,
sig/x_twitter_scraper/models/x/tweets/retweet_delete_response.rbs
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
- #charged ⇒ Boolean
- #charged_credits ⇒ String
- #planned_credits ⇒ String
- #status ⇒ Symbol, XTwitterScraper::Models::X::Tweets::RetweetDeleteResponse::Billing::Status
Instance Method Summary collapse
-
#initialize(charged:, charged_credits:, planned_credits:, status:) ⇒ Object
constructor
plannedCredits is the approved maximum.
- #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(charged:, charged_credits:, planned_credits:, status:) ⇒ Object
plannedCredits is the approved maximum. chargedCredits comes from the settled credit ledger. Pending or failed writes are not charged.
|
|
# File 'lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb', line 414
|
Instance Attribute Details
#charged ⇒ Boolean
397 |
# File 'lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb', line 397 required :charged, XTwitterScraper::Internal::Type::Boolean |
#charged_credits ⇒ String
402 |
# File 'lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb', line 402 required :charged_credits, String, api_name: :chargedCredits |
#planned_credits ⇒ String
407 |
# File 'lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb', line 407 required :planned_credits, String, api_name: :plannedCredits |
#status ⇒ Symbol, XTwitterScraper::Models::X::Tweets::RetweetDeleteResponse::Billing::Status
412 |
# File 'lib/x_twitter_scraper/models/x/tweets/retweet_delete_response.rb', line 412 required :status, enum: -> { XTwitterScraper::Models::X::Tweets::RetweetDeleteResponse::Billing::Status } |
Instance Method Details
#to_hash ⇒ {
360 |
# File 'sig/x_twitter_scraper/models/x/tweets/retweet_delete_response.rbs', line 360
def to_hash: -> {
|