comparison Simoleon/Models/CurrencyLatestRateModel.swift @ 186:1ebd1c5dd302

finish ConversionView
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 23 Dec 2021 11:30:38 +0100
parents Simoleon/Models/CurrencyConversionModel.swift@2fc95efcb1ee
children
comparison
equal deleted inserted replaced
185:2fc95efcb1ee 186:1ebd1c5dd302
1 //
2 // CurrencyConversionModel.swift
3 // Simoleon
4 //
5 // Created by Dennis Concepción Martín on 21/12/21.
6 //
7
8 import Foundation
9
10 struct CurrencyLatestRateResponse: Codable {
11 var message: [CurrencyLatestRateResult]
12 }
13
14 struct CurrencyLatestRateResult: Codable {
15 var rate: Double
16 var timestamp: Int
17 }