Class: ContextDev::Models::WebWebScrapeHTMLResponse::Metadata::Alternate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebWebScrapeHTMLResponse::Metadata::Alternate
- Defined in:
- lib/context_dev/models/web_web_scrape_html_response.rb,
sig/context_dev/models/web_web_scrape_html_response.rbs
Instance Attribute Summary collapse
-
#href ⇒ String
Resolved alternate URL.
-
#hreflang ⇒ String?
Language or locale for the alternate URL, when present.
-
#title ⇒ String?
Alternate resource title, when present.
-
#type ⇒ String?
Alternate resource MIME type, when present.
Instance Method Summary collapse
- #initialize ⇒ 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 ⇒ Object
226 |
# File 'sig/context_dev/models/web_web_scrape_html_response.rbs', line 226
def initialize: (
|
Instance Attribute Details
#href ⇒ String
Resolved alternate URL.
253 |
# File 'lib/context_dev/models/web_web_scrape_html_response.rb', line 253 required :href, String |
#hreflang ⇒ String?
Language or locale for the alternate URL, when present.
259 |
# File 'lib/context_dev/models/web_web_scrape_html_response.rb', line 259 optional :hreflang, String |
#title ⇒ String?
Alternate resource title, when present.
265 |
# File 'lib/context_dev/models/web_web_scrape_html_response.rb', line 265 optional :title, String |
#type ⇒ String?
Alternate resource MIME type, when present.
271 |
# File 'lib/context_dev/models/web_web_scrape_html_response.rb', line 271 optional :type, String |
Instance Method Details
#to_hash ⇒ {
233 |
# File 'sig/context_dev/models/web_web_scrape_html_response.rbs', line 233
def to_hash: -> {
|