Class: ContextDev::Models::BatchSubmitParams::Input::Crawl
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BatchSubmitParams::Input::Crawl
- Defined in:
- lib/context_dev/models/batch_submit_params.rb,
sig/context_dev/models/batch_submit_params.rbs
Defined Under Namespace
Modules: Data
Instance Attribute Summary collapse
-
#data ⇒ ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::Markdown, ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML
Crawl source and output format.
-
#mode ⇒ Symbol, :crawl
Discover and scrape pages from
data.source.
Instance Method Summary collapse
-
#initialize(data:, mode: :crawl) ⇒ Object
constructor
Crawl pages starting from a URL or from a domain's sitemap.
- #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(data:, mode: :crawl) ⇒ Object
Crawl pages starting from a URL or from a domain's sitemap.
|
|
# File 'lib/context_dev/models/batch_submit_params.rb', line 1119
|
Instance Attribute Details
#data ⇒ ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::Markdown, ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::HTML
Crawl source and output format.
1111 |
# File 'lib/context_dev/models/batch_submit_params.rb', line 1111 required :data, union: -> { ContextDev::BatchSubmitParams::Input::Crawl::Data } |
#mode ⇒ Symbol, :crawl
Discover and scrape pages from data.source.
1117 |
# File 'lib/context_dev/models/batch_submit_params.rb', line 1117 required :mode, const: :crawl |
Instance Method Details
#to_hash ⇒ {
1336 |
# File 'sig/context_dev/models/batch_submit_params.rbs', line 1336
def to_hash: -> {
|