Class: ContextDev::Models::WebWebCrawlMdResponse::Result
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebWebCrawlMdResponse::Result
- Defined in:
- lib/context_dev/models/web_web_crawl_md_response.rb
Defined Under Namespace
Classes: Metadata
Instance Attribute Summary collapse
-
#markdown ⇒ String
Extracted page content as Markdown (empty string on failure).
- #metadata ⇒ ContextDev::Models::WebWebCrawlMdResponse::Result::Metadata
Instance Method Summary collapse
- #initialize(markdown:, metadata:) ⇒ Object constructor
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(markdown:, metadata:) ⇒ Object
|
|
# File 'lib/context_dev/models/web_web_crawl_md_response.rb', line 70
|
Instance Attribute Details
#markdown ⇒ String
Extracted page content as Markdown (empty string on failure)
63 |
# File 'lib/context_dev/models/web_web_crawl_md_response.rb', line 63 required :markdown, String |
#metadata ⇒ ContextDev::Models::WebWebCrawlMdResponse::Result::Metadata
68 |
# File 'lib/context_dev/models/web_web_crawl_md_response.rb', line 68 required :metadata, -> { ContextDev::Models::WebWebCrawlMdResponse::Result::Metadata } |