comparison LazyBear/Views/Profile/Networking/ProfileResponse.swift @ 421:9b7af8e83d12

Change intraday prices model
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 12 Jun 2021 15:20:04 +0200
parents 6802c2393203
children 4effac4733b0
comparison
equal deleted inserted replaced
420:523b780ad892 421:9b7af8e83d12
6 // 6 //
7 7
8 import SwiftUI 8 import SwiftUI
9 9
10 struct ProfileResponse: Codable { 10 struct ProfileResponse: Codable {
11 var intradayPrices: [String: [IntradayPriceModel]]? 11 var intradayPrices: [String: [Double]]?
12 var quotes: [String: QuoteModel]? 12 var quotes: [String: QuoteModel]?
13 13
14 private enum CodingKeys : String, CodingKey { 14 private enum CodingKeys : String, CodingKey {
15 case intradayPrices = "intraday_prices" 15 case intradayPrices = "intraday_prices"
16 case quotes 16 case quotes