Attributes
public struct Attributes : Codable
A root object that stores information about a single location, such as the location’s region, latitude, and longitude.
-
The city’s name of the location.
Declaration
Swift
public let city: String?
-
The region’s name of the location.
Declaration
Swift
public let region: String?
-
The country’s name of the location.
Declaration
Swift
public let country: String?
-
The latitude of the location.
Declaration
Swift
public let latitude: Double?
-
The longitude of the location.
Declaration
Swift
public let longitude: Double?