| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- // {"id":"123","code":"23","name":"1"}
- public class usersInterests
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- [JsonProperty("picture")]
- public string picture { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class usersInterestsList
- {
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("message")]
- public string message { get; set; }
- [JsonProperty("listInterests")]
- public usersInterests[] listInterests { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|