using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] public class usersMsgList { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("totalRow")] public string totalRow { get; set; } [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("listMesage")] public usersMsgObj[] listMesage { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }