using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using UnityEngine.Scripting; namespace MoralisUnity.Web3Api.Models { [DataContract] public class NativeBalance { /// /// The balance /// example: 1234567890 /// [DataMember(Name = "balance", EmitDefaultValue = false)] [JsonProperty(PropertyName = "balance")] [Preserve] public string Balance { 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 NativeBalance{"); sb.Append(" Balance ").Append(Balance).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); } } }