feat: Begins adding climate zone client and location clients.
This commit is contained in:
27
Sources/CoreModels/Location.swift
Normal file
27
Sources/CoreModels/Location.swift
Normal file
@@ -0,0 +1,27 @@
|
||||
import Foundation
|
||||
|
||||
public struct Location: Codable, Equatable, Sendable {
|
||||
|
||||
public let city: String
|
||||
public let state: String
|
||||
public let zipCode: String
|
||||
public let stateCode: String
|
||||
public let county: String
|
||||
public let coordinates: Coordinates
|
||||
|
||||
public init(
|
||||
city: String,
|
||||
state: String,
|
||||
stateCode: String,
|
||||
zipCode: String,
|
||||
county: String,
|
||||
coordinates: Coordinates
|
||||
) {
|
||||
self.city = city
|
||||
self.zipCode = zipCode
|
||||
self.state = state
|
||||
self.stateCode = stateCode
|
||||
self.county = county
|
||||
self.coordinates = coordinates
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user