Class: Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WebSearchContentsResponse::Data::Result::Metadata
- Defined in:
- lib/telnyx/models/web_search_contents_response.rb,
sig/telnyx/models/web_search_contents_response.rbs
Overview
Instance Attribute Summary collapse
-
#favicon_url ⇒ String?
Favicon URL (if available).
-
#site_name ⇒ String?
Site name.
Instance Method Summary collapse
-
#initialize(favicon_url: nil, site_name: nil) ⇒ Metadata
constructor
Page metadata (if
metadataformat requested). - #to_hash ⇒ { favicon_url: String, site_name: String }
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(favicon_url: nil, site_name: nil) ⇒ Metadata
Page metadata (if metadata format requested).
|
|
# File 'lib/telnyx/models/web_search_contents_response.rb', line 86
|
Instance Attribute Details
#favicon_url ⇒ String?
Favicon URL (if available).
78 |
# File 'lib/telnyx/models/web_search_contents_response.rb', line 78 optional :favicon_url, String |
#site_name ⇒ String?
Site name. Often empty.
84 |
# File 'lib/telnyx/models/web_search_contents_response.rb', line 84 optional :site_name, String |
Instance Method Details
#to_hash ⇒ { favicon_url: String, site_name: String }
98 |
# File 'sig/telnyx/models/web_search_contents_response.rbs', line 98
def to_hash: -> { favicon_url: String, site_name: String }
|