OpenAI::WebSearchApproximateLocationWebSearchApproximateLocation
Inherits JSON::Serializable < Reference < Object
The approximate location of the user.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : WebSearchApproximateLocationWebSearchApproximateLocationType | Nil = nil, country : WebSearchApproximateLocationWebSearchApproximateLocationCountry | Nil = nil, region : WebSearchApproximateLocationWebSearchApproximateLocationRegion | Nil = nil, city : WebSearchApproximateLocationWebSearchApproximateLocationCity | Nil = nil, timezone : WebSearchApproximateLocationWebSearchApproximateLocationTimezone | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
city
Sourcecity=(city : WebSearchApproximateLocationWebSearchApproximateLocationCity | Nil)
Sourcecountry
Sourcecountry=(country : WebSearchApproximateLocationWebSearchApproximateLocationCountry | Nil)
Sourceregion
Sourceregion=(region : WebSearchApproximateLocationWebSearchApproximateLocationRegion | Nil)
Sourcetimezone
Sourcetimezone=(timezone : WebSearchApproximateLocationWebSearchApproximateLocationTimezone | Nil)
Sourcetype_value=(type_value : WebSearchApproximateLocationWebSearchApproximateLocationType | Nil)
The type of location approximation. Always approximate.