using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CommonObj.model; using Newtonsoft.Json; namespace ResfullApi.Models { public class reportCountDailyObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("reportDate")] public string reportDate { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("campaignName")] public string campaignName { get; set; } [JsonProperty("priority")] public string priority { get; set; } [JsonProperty("isDefault")] public string isDefault { get; set; } [JsonProperty("isMyService")] public string isMyService { get; set; } [JsonProperty("addType")] public string addType { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } [JsonProperty("serviceName")] public string serviceName { get; set; } [JsonProperty("countSend1")] public string countSend1 { get; set; } [JsonProperty("countSuccess1")] public string countSuccess1 { get; set; } [JsonProperty("countFail1")] public string countFail1 { get; set; } [JsonProperty("countPress1")] public string countPress1 { get; set; } [JsonProperty("countSend2")] public string countSend2 { get; set; } [JsonProperty("countPress2")] public string countPress2 { get; set; } [JsonProperty("countRegSuccess")] public string countRegSuccess { get; set; } [JsonProperty("countRegFail")] public string countRegFail { get; set; } [JsonProperty("insertTime")] public string insertTime { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class reportCountDailyObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public reportCountDailyObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class reportErrorDailyObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("reportDate")] public string reportDate { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } [JsonProperty("errorCode")] public string errorCode { get; set; } [JsonProperty("countNum")] public string countNum { get; set; } [JsonProperty("insertTime")] public string insertTime { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class reportErrorDailyObjList : Response { [JsonProperty("list")] public reportErrorDailyObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class hourlyImpressionsObj { [JsonProperty("hourLabel")] public string hourLabel { get; set; } [JsonProperty("hourValue")] public string hourValue { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("campaignName")] public string campaignName { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } [JsonProperty("serviceName")] public string serviceName { get; set; } [JsonProperty("countImpressions")] public string countImpressions { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class hourlyImpressionsObjList : Response { [JsonProperty("list")] public hourlyImpressionsObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class pushUssdDetailObj { [JsonProperty("id")] public string id { get; set; } [JsonProperty("requestId")] public string requestId { get; set; } [JsonProperty("campaignId")] public string campaignId { get; set; } [JsonProperty("campaignName")] public string campaignName { get; set; } [JsonProperty("serviceId")] public string serviceId { get; set; } [JsonProperty("msisdn")] public string msisdn { get; set; } [JsonProperty("sendTime")] public string sendTime { get; set; } [JsonProperty("sendStatus")] public string sendStatus { get; set; } [JsonProperty("totalStep")] public string totalStep { get; set; } [JsonProperty("isStep1")] public string isStep1 { get; set; } [JsonProperty("step1Time")] public string step1Time { get; set; } [JsonProperty("isStep2")] public string isStep2 { get; set; } [JsonProperty("step2Time")] public string step2Time { get; set; } [JsonProperty("errorCode")] public string errorCode { get; set; } [JsonProperty("isSuccess")] public string isSuccess { get; set; } [JsonProperty("insertTime")] public string insertTime { get; set; } [JsonProperty("lastUpdate")] public string lastUpdate { get; set; } [JsonProperty("msgContent")] public string msgContent { get; set; } } public class pushUssdDetailObjList : Response { [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("list")] public pushUssdDetailObj[] list { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }