OpenAI::ApproximateLocation
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ApproximateLocationType = ApproximateLocationType::Approximate, country : ApproximateLocationCountry | Nil = nil, region : ApproximateLocationRegion | Nil = nil, city : ApproximateLocationCity | Nil = nil, timezone : ApproximateLocationTimezone | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
city
Sourcecity=(city : ApproximateLocationCity | Nil)
Sourcecountry
Sourcecountry=(country : ApproximateLocationCountry | Nil)
Sourceregion
Sourceregion=(region : ApproximateLocationRegion | Nil)
Sourcetimezone
Sourcetimezone=(timezone : ApproximateLocationTimezone | Nil)
Sourcetype_value=(type_value : ApproximateLocationType)
The type of location approximation. Always approximate.