class

OpenAI::WebSearchApproximateLocationWebSearchApproximateLocation

Inherits JSON::Serializable < Reference < Object

The approximate location of the user.

Constructors

new(type_value : WebSearchApproximateLocationWebSearchApproximateLocationType | Nil = nil, country : WebSearchApproximateLocationWebSearchApproximateLocationCountry | Nil = nil, region : WebSearchApproximateLocationWebSearchApproximateLocationRegion | Nil = nil, city : WebSearchApproximateLocationWebSearchApproximateLocationCity | Nil = nil, timezone : WebSearchApproximateLocationWebSearchApproximateLocationTimezone | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city
Source
city=(city : WebSearchApproximateLocationWebSearchApproximateLocationCity | Nil)
Source
country
Source
country=(country : WebSearchApproximateLocationWebSearchApproximateLocationCountry | Nil)
Source
region
Source
region=(region : WebSearchApproximateLocationWebSearchApproximateLocationRegion | Nil)
Source
timezone
Source
timezone=(timezone : WebSearchApproximateLocationWebSearchApproximateLocationTimezone | Nil)
Source
type_value

The type of location approximation. Always approximate.

Source
type_value=(type_value : WebSearchApproximateLocationWebSearchApproximateLocationType | Nil)

The type of location approximation. Always approximate.

Source