import Foundation

struct WeatherForecast : Codable {
    
	let forecastday : [Forecastday]?

	enum CodingKeys: String, CodingKey {
		case forecastday = "forecastday"
	}

	init(from decoder: Decoder) throws {
		let values = try decoder.container(keyedBy: CodingKeys.self)
		forecastday = try values.decodeIfPresent([Forecastday].self, forKey: .forecastday)
	}

}
