using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] // {"userId":"123","coin":"23","type":"1","tranCode":"ADD"} public class usersObjProfileList { [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("listProfile")] public usersObjProfile[] listProfile { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }