AlipaySecurityProdAfsrcVulCreateRequest.php 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.security.prod.afsrc.vul.create request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-01-07 20:51:15
  7. */
  8. class AlipaySecurityProdAfsrcVulCreateRequest
  9. {
  10. /**
  11. * 漏洞附件
  12. **/
  13. private $attachment;
  14. /**
  15. * 漏洞所属业务
  16. **/
  17. private $business;
  18. /**
  19. * 漏洞所属公司
  20. **/
  21. private $company;
  22. /**
  23. * 漏洞详情
  24. **/
  25. private $detail;
  26. /**
  27. * HavanaId(淘宝uid)
  28. **/
  29. private $hid;
  30. /**
  31. * 用户上报漏洞等级
  32. **/
  33. private $level;
  34. /**
  35. * 白帽子提交漏洞时填写的手机号
  36. **/
  37. private $mobilePhone;
  38. /**
  39. * 漏洞名称
  40. **/
  41. private $name;
  42. /**
  43. * 用户昵称
  44. **/
  45. private $nick;
  46. /**
  47. * 漏洞状态
  48. **/
  49. private $status;
  50. /**
  51. * 漏洞提交时间
  52. **/
  53. private $submitTime;
  54. /**
  55. * 子平台漏洞一级类型 ID
  56. **/
  57. private $typeSubFirstId;
  58. /**
  59. * 一级漏洞类型名称
  60. **/
  61. private $typeSubFirstName;
  62. /**
  63. * 子平台漏洞二级类型 ID
  64. **/
  65. private $typeSubSecondId;
  66. /**
  67. * 二级漏洞类型名称
  68. **/
  69. private $typeSubSecondName;
  70. /**
  71. * 统一平台漏洞一级类型 ID
  72. **/
  73. private $typeUnionFirstId;
  74. /**
  75. * 统一平台漏洞二级类型 ID
  76. **/
  77. private $typeUnionSecondId;
  78. /**
  79. * 漏洞 URL
  80. **/
  81. private $url;
  82. /**
  83. * 支付宝 ID
  84. **/
  85. private $userId;
  86. private $apiParas = array();
  87. private $terminalType;
  88. private $terminalInfo;
  89. private $prodCode;
  90. private $apiVersion="1.0";
  91. private $notifyUrl;
  92. private $returnUrl;
  93. private $needEncrypt=false;
  94. public function setAttachment($attachment)
  95. {
  96. $this->attachment = $attachment;
  97. $this->apiParas["attachment"] = $attachment;
  98. }
  99. public function getAttachment()
  100. {
  101. return $this->attachment;
  102. }
  103. public function setBusiness($business)
  104. {
  105. $this->business = $business;
  106. $this->apiParas["business"] = $business;
  107. }
  108. public function getBusiness()
  109. {
  110. return $this->business;
  111. }
  112. public function setCompany($company)
  113. {
  114. $this->company = $company;
  115. $this->apiParas["company"] = $company;
  116. }
  117. public function getCompany()
  118. {
  119. return $this->company;
  120. }
  121. public function setDetail($detail)
  122. {
  123. $this->detail = $detail;
  124. $this->apiParas["detail"] = $detail;
  125. }
  126. public function getDetail()
  127. {
  128. return $this->detail;
  129. }
  130. public function setHid($hid)
  131. {
  132. $this->hid = $hid;
  133. $this->apiParas["hid"] = $hid;
  134. }
  135. public function getHid()
  136. {
  137. return $this->hid;
  138. }
  139. public function setLevel($level)
  140. {
  141. $this->level = $level;
  142. $this->apiParas["level"] = $level;
  143. }
  144. public function getLevel()
  145. {
  146. return $this->level;
  147. }
  148. public function setMobilePhone($mobilePhone)
  149. {
  150. $this->mobilePhone = $mobilePhone;
  151. $this->apiParas["mobile_phone"] = $mobilePhone;
  152. }
  153. public function getMobilePhone()
  154. {
  155. return $this->mobilePhone;
  156. }
  157. public function setName($name)
  158. {
  159. $this->name = $name;
  160. $this->apiParas["name"] = $name;
  161. }
  162. public function getName()
  163. {
  164. return $this->name;
  165. }
  166. public function setNick($nick)
  167. {
  168. $this->nick = $nick;
  169. $this->apiParas["nick"] = $nick;
  170. }
  171. public function getNick()
  172. {
  173. return $this->nick;
  174. }
  175. public function setStatus($status)
  176. {
  177. $this->status = $status;
  178. $this->apiParas["status"] = $status;
  179. }
  180. public function getStatus()
  181. {
  182. return $this->status;
  183. }
  184. public function setSubmitTime($submitTime)
  185. {
  186. $this->submitTime = $submitTime;
  187. $this->apiParas["submit_time"] = $submitTime;
  188. }
  189. public function getSubmitTime()
  190. {
  191. return $this->submitTime;
  192. }
  193. public function setTypeSubFirstId($typeSubFirstId)
  194. {
  195. $this->typeSubFirstId = $typeSubFirstId;
  196. $this->apiParas["type_sub_first_id"] = $typeSubFirstId;
  197. }
  198. public function getTypeSubFirstId()
  199. {
  200. return $this->typeSubFirstId;
  201. }
  202. public function setTypeSubFirstName($typeSubFirstName)
  203. {
  204. $this->typeSubFirstName = $typeSubFirstName;
  205. $this->apiParas["type_sub_first_name"] = $typeSubFirstName;
  206. }
  207. public function getTypeSubFirstName()
  208. {
  209. return $this->typeSubFirstName;
  210. }
  211. public function setTypeSubSecondId($typeSubSecondId)
  212. {
  213. $this->typeSubSecondId = $typeSubSecondId;
  214. $this->apiParas["type_sub_second_id"] = $typeSubSecondId;
  215. }
  216. public function getTypeSubSecondId()
  217. {
  218. return $this->typeSubSecondId;
  219. }
  220. public function setTypeSubSecondName($typeSubSecondName)
  221. {
  222. $this->typeSubSecondName = $typeSubSecondName;
  223. $this->apiParas["type_sub_second_name"] = $typeSubSecondName;
  224. }
  225. public function getTypeSubSecondName()
  226. {
  227. return $this->typeSubSecondName;
  228. }
  229. public function setTypeUnionFirstId($typeUnionFirstId)
  230. {
  231. $this->typeUnionFirstId = $typeUnionFirstId;
  232. $this->apiParas["type_union_first_id"] = $typeUnionFirstId;
  233. }
  234. public function getTypeUnionFirstId()
  235. {
  236. return $this->typeUnionFirstId;
  237. }
  238. public function setTypeUnionSecondId($typeUnionSecondId)
  239. {
  240. $this->typeUnionSecondId = $typeUnionSecondId;
  241. $this->apiParas["type_union_second_id"] = $typeUnionSecondId;
  242. }
  243. public function getTypeUnionSecondId()
  244. {
  245. return $this->typeUnionSecondId;
  246. }
  247. public function setUrl($url)
  248. {
  249. $this->url = $url;
  250. $this->apiParas["url"] = $url;
  251. }
  252. public function getUrl()
  253. {
  254. return $this->url;
  255. }
  256. public function setUserId($userId)
  257. {
  258. $this->userId = $userId;
  259. $this->apiParas["user_id"] = $userId;
  260. }
  261. public function getUserId()
  262. {
  263. return $this->userId;
  264. }
  265. public function getApiMethodName()
  266. {
  267. return "alipay.security.prod.afsrc.vul.create";
  268. }
  269. public function setNotifyUrl($notifyUrl)
  270. {
  271. $this->notifyUrl=$notifyUrl;
  272. }
  273. public function getNotifyUrl()
  274. {
  275. return $this->notifyUrl;
  276. }
  277. public function setReturnUrl($returnUrl)
  278. {
  279. $this->returnUrl=$returnUrl;
  280. }
  281. public function getReturnUrl()
  282. {
  283. return $this->returnUrl;
  284. }
  285. public function getApiParas()
  286. {
  287. return $this->apiParas;
  288. }
  289. public function getTerminalType()
  290. {
  291. return $this->terminalType;
  292. }
  293. public function setTerminalType($terminalType)
  294. {
  295. $this->terminalType = $terminalType;
  296. }
  297. public function getTerminalInfo()
  298. {
  299. return $this->terminalInfo;
  300. }
  301. public function setTerminalInfo($terminalInfo)
  302. {
  303. $this->terminalInfo = $terminalInfo;
  304. }
  305. public function getProdCode()
  306. {
  307. return $this->prodCode;
  308. }
  309. public function setProdCode($prodCode)
  310. {
  311. $this->prodCode = $prodCode;
  312. }
  313. public function setApiVersion($apiVersion)
  314. {
  315. $this->apiVersion=$apiVersion;
  316. }
  317. public function getApiVersion()
  318. {
  319. return $this->apiVersion;
  320. }
  321. public function setNeedEncrypt($needEncrypt)
  322. {
  323. $this->needEncrypt=$needEncrypt;
  324. }
  325. public function getNeedEncrypt()
  326. {
  327. return $this->needEncrypt;
  328. }
  329. }