Class: ContextDev::Models::WebWebScrapeMdResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebWebScrapeMdResponse
- Defined in:
- lib/context_dev/models/web_web_scrape_md_response.rb
Overview
Defined Under Namespace
Modules: Success
Instance Attribute Summary collapse
-
#markdown ⇒ String
Page content converted to GitHub Flavored Markdown.
-
#success ⇒ Boolean, ContextDev::Models::WebWebScrapeMdResponse::Success
Indicates success.
-
#url ⇒ String
The URL that was scraped.
Instance Method Summary collapse
- #initialize(markdown:, success:, url:) ⇒ 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:, success:, url:) ⇒ Object
|
|
# File 'lib/context_dev/models/web_web_scrape_md_response.rb', line 25
|
Instance Attribute Details
#markdown ⇒ String
Page content converted to GitHub Flavored Markdown
11 |
# File 'lib/context_dev/models/web_web_scrape_md_response.rb', line 11 required :markdown, String |
#success ⇒ Boolean, ContextDev::Models::WebWebScrapeMdResponse::Success
Indicates success
17 |
# File 'lib/context_dev/models/web_web_scrape_md_response.rb', line 17 required :success, enum: -> { ContextDev::Models::WebWebScrapeMdResponse::Success } |
#url ⇒ String
The URL that was scraped
23 |
# File 'lib/context_dev/models/web_web_scrape_md_response.rb', line 23 required :url, String |