comparison LazyBear/Views/Profile/Networking/ProfileResponse.swift @ 425:4effac4733b0

Changing keys from API responses
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Wed, 16 Jun 2021 13:46:01 +0200
parents 9b7af8e83d12
children
comparison
equal deleted inserted replaced
424:6dd97877f575 425:4effac4733b0
6 // 6 //
7 7
8 import SwiftUI 8 import SwiftUI
9 9
10 struct ProfileResponse: Codable { 10 struct ProfileResponse: Codable {
11 var intradayPrices: [String: [Double]]? 11 var quotes: [CompanyModel]?
12 var quotes: [String: QuoteModel]?
13
14 private enum CodingKeys : String, CodingKey {
15 case intradayPrices = "intraday_prices"
16 case quotes
17 }
18 } 12 }