Class: Anthropic::Models::Beta::BetaWebSearchTool20250305::UserLocation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaWebSearchTool20250305::UserLocation
- Defined in:
- lib/anthropic/models/beta/beta_web_search_tool_20250305.rb
Overview
Instance Attribute Summary collapse
-
#city ⇒ String?
The city of the user.
-
#country ⇒ String?
The two letter ISO country code of the user.
-
#region ⇒ String?
The region of the user.
-
#timezone ⇒ String?
The IANA timezone of the user.
- #type ⇒ Symbol, :approximate
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Anthropic::Internal::Type::BaseModel
Instance Attribute Details
#city ⇒ String?
The city of the user.
82 |
# File 'lib/anthropic/models/beta/beta_web_search_tool_20250305.rb', line 82 optional :city, String, nil?: true |
#country ⇒ String?
The two letter ISO country code of the user.
90 |
# File 'lib/anthropic/models/beta/beta_web_search_tool_20250305.rb', line 90 optional :country, String, nil?: true |
#region ⇒ String?
The region of the user.
96 |
# File 'lib/anthropic/models/beta/beta_web_search_tool_20250305.rb', line 96 optional :region, String, nil?: true |
#timezone ⇒ String?
The IANA timezone of the user.
102 |
# File 'lib/anthropic/models/beta/beta_web_search_tool_20250305.rb', line 102 optional :timezone, String, nil?: true |
#type ⇒ Symbol, :approximate
76 |
# File 'lib/anthropic/models/beta/beta_web_search_tool_20250305.rb', line 76 required :type, const: :approximate |