Class: ContextDev::Models::CrawlControls::Source::UnionMember0
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::CrawlControls::Source::UnionMember0
- Defined in:
- lib/context_dev/models/crawl_controls.rb,
sig/context_dev/models/crawl_controls.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #type ⇒ Symbol, ContextDev::Models::CrawlControls::Source::UnionMember0::Type
-
#url ⇒ String
Page the crawl started from.
Instance Method Summary collapse
- #initialize(type:, url:) ⇒ 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(type:, url:) ⇒ Object
|
|
# File 'lib/context_dev/models/crawl_controls.rb', line 77
|
Instance Attribute Details
#type ⇒ Symbol, ContextDev::Models::CrawlControls::Source::UnionMember0::Type
69 |
# File 'lib/context_dev/models/crawl_controls.rb', line 69 required :type, enum: -> { ContextDev::CrawlControls::Source::UnionMember0::Type } |
#url ⇒ String
Page the crawl started from.
75 |
# File 'lib/context_dev/models/crawl_controls.rb', line 75 required :url, String |
Instance Method Details
#to_hash ⇒ {
62 |
# File 'sig/context_dev/models/crawl_controls.rbs', line 62
def to_hash: -> {
|