TracePushResponse.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing,
  13. * software distributed under the License is distributed on an
  14. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. * KIND, either express or implied. See the License for the
  16. * specific language governing permissions and limitations
  17. * under the License.
  18. */
  19. using Aliyun.Acs.Core;
  20. using System.Collections.Generic;
  21. namespace Aliyun.Acs.Push.Model.V20160801
  22. {
  23. public class TracePushResponse : AcsResponse
  24. {
  25. private PushBasicInfo_ pushBasicInfo;
  26. private PushTaskInfo_ pushTaskInfo;
  27. private PushDeviceInfo_ pushDeviceInfo;
  28. public PushBasicInfo_ PushBasicInfo
  29. {
  30. get
  31. {
  32. return pushBasicInfo;
  33. }
  34. set
  35. {
  36. pushBasicInfo = value;
  37. }
  38. }
  39. public PushTaskInfo_ PushTaskInfo
  40. {
  41. get
  42. {
  43. return pushTaskInfo;
  44. }
  45. set
  46. {
  47. pushTaskInfo = value;
  48. }
  49. }
  50. public PushDeviceInfo_ PushDeviceInfo
  51. {
  52. get
  53. {
  54. return pushDeviceInfo;
  55. }
  56. set
  57. {
  58. pushDeviceInfo = value;
  59. }
  60. }
  61. public class PushBasicInfo_{
  62. private long? appId;
  63. private string title;
  64. private string targetType;
  65. private string pushType;
  66. private string pushTime;
  67. private string expireTime;
  68. public long? AppId
  69. {
  70. get
  71. {
  72. return appId;
  73. }
  74. set
  75. {
  76. appId = value;
  77. }
  78. }
  79. public string Title
  80. {
  81. get
  82. {
  83. return title;
  84. }
  85. set
  86. {
  87. title = value;
  88. }
  89. }
  90. public string TargetType
  91. {
  92. get
  93. {
  94. return targetType;
  95. }
  96. set
  97. {
  98. targetType = value;
  99. }
  100. }
  101. public string PushType
  102. {
  103. get
  104. {
  105. return pushType;
  106. }
  107. set
  108. {
  109. pushType = value;
  110. }
  111. }
  112. public string PushTime
  113. {
  114. get
  115. {
  116. return pushTime;
  117. }
  118. set
  119. {
  120. pushTime = value;
  121. }
  122. }
  123. public string ExpireTime
  124. {
  125. get
  126. {
  127. return expireTime;
  128. }
  129. set
  130. {
  131. expireTime = value;
  132. }
  133. }
  134. }
  135. public class PushTaskInfo_{
  136. private bool? broadcast;
  137. private string acceptTime;
  138. private string androidTaskStatus;
  139. private string iOSTaskStatus;
  140. private string androidTaskErrCode;
  141. private string iOSTaskErrCode;
  142. private List<string> deviceSet;
  143. public bool? Broadcast
  144. {
  145. get
  146. {
  147. return broadcast;
  148. }
  149. set
  150. {
  151. broadcast = value;
  152. }
  153. }
  154. public string AcceptTime
  155. {
  156. get
  157. {
  158. return acceptTime;
  159. }
  160. set
  161. {
  162. acceptTime = value;
  163. }
  164. }
  165. public string AndroidTaskStatus
  166. {
  167. get
  168. {
  169. return androidTaskStatus;
  170. }
  171. set
  172. {
  173. androidTaskStatus = value;
  174. }
  175. }
  176. public string IOSTaskStatus
  177. {
  178. get
  179. {
  180. return iOSTaskStatus;
  181. }
  182. set
  183. {
  184. iOSTaskStatus = value;
  185. }
  186. }
  187. public string AndroidTaskErrCode
  188. {
  189. get
  190. {
  191. return androidTaskErrCode;
  192. }
  193. set
  194. {
  195. androidTaskErrCode = value;
  196. }
  197. }
  198. public string IOSTaskErrCode
  199. {
  200. get
  201. {
  202. return iOSTaskErrCode;
  203. }
  204. set
  205. {
  206. iOSTaskErrCode = value;
  207. }
  208. }
  209. public List<string> DeviceSet
  210. {
  211. get
  212. {
  213. return deviceSet;
  214. }
  215. set
  216. {
  217. deviceSet = value;
  218. }
  219. }
  220. }
  221. public class PushDeviceInfo_{
  222. private bool? online;
  223. private string createTime;
  224. private string sentTime;
  225. private string arriveTime;
  226. private string clickTime;
  227. private string cleanTime;
  228. private string deviceStatus;
  229. private string deviceErrCode;
  230. public bool? Online
  231. {
  232. get
  233. {
  234. return online;
  235. }
  236. set
  237. {
  238. online = value;
  239. }
  240. }
  241. public string CreateTime
  242. {
  243. get
  244. {
  245. return createTime;
  246. }
  247. set
  248. {
  249. createTime = value;
  250. }
  251. }
  252. public string SentTime
  253. {
  254. get
  255. {
  256. return sentTime;
  257. }
  258. set
  259. {
  260. sentTime = value;
  261. }
  262. }
  263. public string ArriveTime
  264. {
  265. get
  266. {
  267. return arriveTime;
  268. }
  269. set
  270. {
  271. arriveTime = value;
  272. }
  273. }
  274. public string ClickTime
  275. {
  276. get
  277. {
  278. return clickTime;
  279. }
  280. set
  281. {
  282. clickTime = value;
  283. }
  284. }
  285. public string CleanTime
  286. {
  287. get
  288. {
  289. return cleanTime;
  290. }
  291. set
  292. {
  293. cleanTime = value;
  294. }
  295. }
  296. public string DeviceStatus
  297. {
  298. get
  299. {
  300. return deviceStatus;
  301. }
  302. set
  303. {
  304. deviceStatus = value;
  305. }
  306. }
  307. public string DeviceErrCode
  308. {
  309. get
  310. {
  311. return deviceErrCode;
  312. }
  313. set
  314. {
  315. deviceErrCode = value;
  316. }
  317. }
  318. }
  319. }
  320. }