using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] public class usersObjStatusResponse { // {"status":"1","id":"23","msisdn":"5091234","users":"23","pass":"23","serviceId":"23","dateregist":"01/01/2019 00:00:00","isactive":"1","channel":"web","best_coin":"0","cast_coin":"0"} [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("id")] public string id { get; set; } [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("users")] public string users { get; set; } [JsonProperty("pass")] public string pass { get; set; } [JsonProperty("serviceId")] public string serviceid { get; set; } [JsonProperty("dateregist")] public string dateregist { get; set; } [JsonProperty("isactive")] public string isactive { get; set; } [JsonProperty("channel")] public string channel { get; set; } [JsonProperty("bet_coin")] public string bet_coin { get; set; } [JsonProperty("cash_coin")] public string cash_coin { get; set; } [JsonProperty("role")] public string role { get; set; } [JsonProperty("ranking")] public string ranking { get; set; } [JsonProperty("language")] public string language { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }