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 RunContractDto
{
///
/// The contract abi
///
[DataMember(Name = "abi", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "abi")]
public object Abi { get; set; }
///
/// The params for the given function
///
[DataMember(Name = "params", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "params")]
public object Params { 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 RunContractDto{");
sb.Append(" Abi ").Append(Abi).Append("\n");
sb.Append(" Params ").Append(Params).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);
}
}
}