Mercurial > public > simoleon
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/Models/CurrencyLatestRateModel.swift Thu Dec 23 11:30:38 2021 +0100 @@ -0,0 +1,17 @@ +// +// CurrencyConversionModel.swift +// Simoleon +// +// Created by Dennis Concepción Martín on 21/12/21. +// + +import Foundation + +struct CurrencyLatestRateResponse: Codable { + var message: [CurrencyLatestRateResult] +} + +struct CurrencyLatestRateResult: Codable { + var rate: Double + var timestamp: Int +}