class

OpenAI::ApproximateLocation

Inherits JSON::Serializable < Reference < Object

Constructors

new(type_value : ApproximateLocationType = ApproximateLocationType::Approximate, country : ApproximateLocationCountry | Nil = nil, region : ApproximateLocationRegion | Nil = nil, city : ApproximateLocationCity | Nil = nil, timezone : ApproximateLocationTimezone | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city
Source
city=(city : ApproximateLocationCity | Nil)
Source
country
Source
country=(country : ApproximateLocationCountry | Nil)
Source
region
Source
region=(region : ApproximateLocationRegion | Nil)
Source
timezone
Source
timezone=(timezone : ApproximateLocationTimezone | Nil)
Source
type_value

The type of location approximation. Always approximate.

Source
type_value=(type_value : ApproximateLocationType)

The type of location approximation. Always approximate.

Source