vassago/Conversion/ExchangePairs.cs

15 lines
468 B
C#

using System;
using System.Collections.Generic;
namespace vassago.Conversion
{
public class ExchangePairs
{
public string disclaimer{ get; set; }
public string license{ get; set; }
public int timestamp{ get; set; }
public DateTime DateUpdated { get { return DateTime.UnixEpoch.AddSeconds(timestamp).ToLocalTime(); }}
public string Base{ get; set; }
public Dictionary<string, decimal> rates { get; set; }
}
}