struct JosieHealth::Utils::TimezoneCity::Entry

Overview

City entry from tz_map.json

Included Modules

Defined in:

timezone_city.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def city : String #

def city=(city : String) #

def city_ascii : String | Nil #

def city_ascii=(city_ascii : String | Nil) #

def country : String #

def country=(country : String) #

def display_city : String #

def iso2 : String | Nil #

def iso2=(iso2 : String | Nil) #

def iso3 : String | Nil #

def iso3=(iso3 : String | Nil) #

def lat : Float64 | Nil #

def lat=(lat : Float64 | Nil) #

def lng : Float64 | Nil #

def lng=(lng : Float64 | Nil) #

def pop : Int64 | Float64 | Nil #

def pop=(pop : Int64 | Float64 | Nil) #

def population : Int64 #

def province : String | Nil #

def province=(province : String | Nil) #

def timezone : String | Nil #

def timezone=(timezone : String | Nil) #

def valid? : Bool #