using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace MoralisUnity.Web3Api.Models { [DataContract] public class ReservesCollection { /// /// reserve0 /// example: 1177323085102288091856004 /// [DataMember(Name = "reserve0", EmitDefaultValue = false)] [JsonProperty(PropertyName = "reserve0")] public string Reserve0 { get; set; } /// /// reserve1 /// example: 9424175928981149993184 /// [DataMember(Name = "reserve1", EmitDefaultValue = false)] [JsonProperty(PropertyName = "reserve1")] public string Reserve1 { get; set; } /// /// Get the string presentation of the object /// /// String presentation of the object public override string ToString() { var sb = new StringBuilder(); sb.Append("class ReservesCollection{"); sb.Append(" Reserve0 ").Append(Reserve0).Append("\n"); sb.Append(" Reserve1 ").Append(Reserve1).Append("\n"); sb.Append("}"); return sb.ToString(); } /// /// Get the JSON string presentation of the object /// /// JSON string presentation of the object public string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }