Class: ContextDev::Models::BatchListResponse::Data::Progress
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BatchListResponse::Data::Progress
- Defined in:
- lib/context_dev/models/batch_list_response.rb,
sig/context_dev/models/batch_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#failed ⇒ Integer
Pages that could not be scraped.
-
#pending ⇒ Integer
Reserved pages not yet attempted.
-
#succeeded ⇒ Integer
Pages scraped successfully.
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/context_dev/models/batch_list_response.rbs', line 170
def initialize: (
|
Instance Attribute Details
#failed ⇒ Integer
Pages that could not be scraped.
229 |
# File 'lib/context_dev/models/batch_list_response.rb', line 229 required :failed, Integer |
#pending ⇒ Integer
Reserved pages not yet attempted. A cancelled batch keeps reporting the URLs it
never reached; a crawl whose input.reserved_is_ceiling is true reports 0 once
final, because its unspent budget was never real pages.
237 |
# File 'lib/context_dev/models/batch_list_response.rb', line 237 required :pending, Integer |
#succeeded ⇒ Integer
Pages scraped successfully.
243 |
# File 'lib/context_dev/models/batch_list_response.rb', line 243 required :succeeded, Integer |
Instance Method Details
#to_hash ⇒ {
176 |
# File 'sig/context_dev/models/batch_list_response.rbs', line 176
def to_hash: -> {
|