Mercurial > public > lazybear
view LazyBear/Views/Company/Networking/ChartResponse.swift @ 401:f843c6382529
Add Enumeration to Networks files
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Thu, 20 May 2021 21:04:49 +0200 |
parents | 5c99883c7964 |
children | b93172662988 |
line wrap: on
line source
// // ChartResponse.swift // LazyBear // // Created by Dennis Concepción Martín on 15/5/21. // import SwiftUI struct ChartResponse: Codable { var historicalPrices: [HistoricalPricesModel]? var quote: [String: QuoteModel]? var latestNews: [LatestNewsModel]? private enum CodingKeys : String, CodingKey { case historicalPrices = "historical_prices" case quote case latestNews = "latest_news" } }