Class: ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::Markdown::Source::Sitemap::Controls
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::Markdown::Source::Sitemap::Controls
- Defined in:
- lib/context_dev/models/batch_submit_params.rb,
sig/context_dev/models/batch_submit_params.rbs
Overview
Instance Attribute Summary collapse
-
#max_urls ⇒ Integer?
Maximum pages to fetch.
-
#regex ⇒ String?
RE2 pattern; only sitemap URLs matching it are scraped.
Instance Method Summary collapse
-
#initialize ⇒ Controls
constructor
A new instance of Controls.
- #to_hash ⇒ { max_urls: Integer, regex: String }
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 ⇒ Controls
Returns a new instance of Controls.
1497 |
# File 'sig/context_dev/models/batch_submit_params.rbs', line 1497
def initialize: (?max_urls: Integer, ?regex: String) -> void
|
Instance Attribute Details
#max_urls ⇒ Integer?
Maximum pages to fetch. Unused reserved credits are refunded. Maximum 25000.
1294 |
# File 'lib/context_dev/models/batch_submit_params.rb', line 1294 optional :max_urls, Integer, api_name: :maxUrls |
#regex ⇒ String?
RE2 pattern; only sitemap URLs matching it are scraped.
1300 |
# File 'lib/context_dev/models/batch_submit_params.rb', line 1300 optional :regex, String |
Instance Method Details
#to_hash ⇒ { max_urls: Integer, regex: String }
1499 |
# File 'sig/context_dev/models/batch_submit_params.rbs', line 1499
def to_hash: -> { max_urls: Integer, regex: String }
|