| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using Newtonsoft.Json;
- namespace ResfullApi.Models
- {
- [Serializable]
- public class subObj
- {
- [JsonProperty("msisdn")]
- public string msisdn { get; set; }
- [JsonProperty("registerDate")]
- public string registerDate { get; set; }
- [JsonProperty("cancelDate")]
- public string cancelDate { get; set; }
- [JsonProperty("chargeDate")]
- public string chargeDate { get; set; }
- [JsonProperty("serviceCode")]
- public string serviceCode { get; set; }
- [JsonProperty("serviceName")]
- public string serviceName { get; set; }
- [JsonProperty("serviceId")]
- public string serviceId { get; set; }
- [JsonProperty("subserviceId")]
- public string subserviceId { get; set; }
- [JsonProperty("isactive")]
- public string isactive { get; set; }
- [JsonProperty("registerChannel")]
- public string registerChannel { get; set; }
- [JsonProperty("cancelChannel")]
- public string cancelChannel { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- public class subList
- {
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("message")]
- public string message { get; set; }
- [JsonProperty("list")]
- public subObj[] list { get; set; }
- public override string ToString()
- {
- return JsonConvert.SerializeObject(this);
- }
- }
- }
|