123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406 |
- <?php
- /**
- * ALIPAY API: alipay.security.prod.afsrc.vul.create request
- *
- * @author auto create
- * @since 1.0, 2019-01-07 20:51:15
- */
- class AlipaySecurityProdAfsrcVulCreateRequest
- {
- /**
- * 漏洞附件
- **/
- private $attachment;
-
- /**
- * 漏洞所属业务
- **/
- private $business;
-
- /**
- * 漏洞所属公司
- **/
- private $company;
-
- /**
- * 漏洞详情
- **/
- private $detail;
-
- /**
- * HavanaId(淘宝uid)
- **/
- private $hid;
-
- /**
- * 用户上报漏洞等级
- **/
- private $level;
-
- /**
- * 白帽子提交漏洞时填写的手机号
- **/
- private $mobilePhone;
-
- /**
- * 漏洞名称
- **/
- private $name;
-
- /**
- * 用户昵称
- **/
- private $nick;
-
- /**
- * 漏洞状态
- **/
- private $status;
-
- /**
- * 漏洞提交时间
- **/
- private $submitTime;
-
- /**
- * 子平台漏洞一级类型 ID
- **/
- private $typeSubFirstId;
-
- /**
- * 一级漏洞类型名称
- **/
- private $typeSubFirstName;
-
- /**
- * 子平台漏洞二级类型 ID
- **/
- private $typeSubSecondId;
-
- /**
- * 二级漏洞类型名称
- **/
- private $typeSubSecondName;
-
- /**
- * 统一平台漏洞一级类型 ID
- **/
- private $typeUnionFirstId;
-
- /**
- * 统一平台漏洞二级类型 ID
- **/
- private $typeUnionSecondId;
-
- /**
- * 漏洞 URL
- **/
- private $url;
-
- /**
- * 支付宝 ID
- **/
- private $userId;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setAttachment($attachment)
- {
- $this->attachment = $attachment;
- $this->apiParas["attachment"] = $attachment;
- }
- public function getAttachment()
- {
- return $this->attachment;
- }
- public function setBusiness($business)
- {
- $this->business = $business;
- $this->apiParas["business"] = $business;
- }
- public function getBusiness()
- {
- return $this->business;
- }
- public function setCompany($company)
- {
- $this->company = $company;
- $this->apiParas["company"] = $company;
- }
- public function getCompany()
- {
- return $this->company;
- }
- public function setDetail($detail)
- {
- $this->detail = $detail;
- $this->apiParas["detail"] = $detail;
- }
- public function getDetail()
- {
- return $this->detail;
- }
- public function setHid($hid)
- {
- $this->hid = $hid;
- $this->apiParas["hid"] = $hid;
- }
- public function getHid()
- {
- return $this->hid;
- }
- public function setLevel($level)
- {
- $this->level = $level;
- $this->apiParas["level"] = $level;
- }
- public function getLevel()
- {
- return $this->level;
- }
- public function setMobilePhone($mobilePhone)
- {
- $this->mobilePhone = $mobilePhone;
- $this->apiParas["mobile_phone"] = $mobilePhone;
- }
- public function getMobilePhone()
- {
- return $this->mobilePhone;
- }
- public function setName($name)
- {
- $this->name = $name;
- $this->apiParas["name"] = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setNick($nick)
- {
- $this->nick = $nick;
- $this->apiParas["nick"] = $nick;
- }
- public function getNick()
- {
- return $this->nick;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- $this->apiParas["status"] = $status;
- }
- public function getStatus()
- {
- return $this->status;
- }
- public function setSubmitTime($submitTime)
- {
- $this->submitTime = $submitTime;
- $this->apiParas["submit_time"] = $submitTime;
- }
- public function getSubmitTime()
- {
- return $this->submitTime;
- }
- public function setTypeSubFirstId($typeSubFirstId)
- {
- $this->typeSubFirstId = $typeSubFirstId;
- $this->apiParas["type_sub_first_id"] = $typeSubFirstId;
- }
- public function getTypeSubFirstId()
- {
- return $this->typeSubFirstId;
- }
- public function setTypeSubFirstName($typeSubFirstName)
- {
- $this->typeSubFirstName = $typeSubFirstName;
- $this->apiParas["type_sub_first_name"] = $typeSubFirstName;
- }
- public function getTypeSubFirstName()
- {
- return $this->typeSubFirstName;
- }
- public function setTypeSubSecondId($typeSubSecondId)
- {
- $this->typeSubSecondId = $typeSubSecondId;
- $this->apiParas["type_sub_second_id"] = $typeSubSecondId;
- }
- public function getTypeSubSecondId()
- {
- return $this->typeSubSecondId;
- }
- public function setTypeSubSecondName($typeSubSecondName)
- {
- $this->typeSubSecondName = $typeSubSecondName;
- $this->apiParas["type_sub_second_name"] = $typeSubSecondName;
- }
- public function getTypeSubSecondName()
- {
- return $this->typeSubSecondName;
- }
- public function setTypeUnionFirstId($typeUnionFirstId)
- {
- $this->typeUnionFirstId = $typeUnionFirstId;
- $this->apiParas["type_union_first_id"] = $typeUnionFirstId;
- }
- public function getTypeUnionFirstId()
- {
- return $this->typeUnionFirstId;
- }
- public function setTypeUnionSecondId($typeUnionSecondId)
- {
- $this->typeUnionSecondId = $typeUnionSecondId;
- $this->apiParas["type_union_second_id"] = $typeUnionSecondId;
- }
- public function getTypeUnionSecondId()
- {
- return $this->typeUnionSecondId;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- $this->apiParas["url"] = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setUserId($userId)
- {
- $this->userId = $userId;
- $this->apiParas["user_id"] = $userId;
- }
- public function getUserId()
- {
- return $this->userId;
- }
- public function getApiMethodName()
- {
- return "alipay.security.prod.afsrc.vul.create";
- }
- public function setNotifyUrl($notifyUrl)
- {
- $this->notifyUrl=$notifyUrl;
- }
- public function getNotifyUrl()
- {
- return $this->notifyUrl;
- }
- public function setReturnUrl($returnUrl)
- {
- $this->returnUrl=$returnUrl;
- }
- public function getReturnUrl()
- {
- return $this->returnUrl;
- }
- public function getApiParas()
- {
- return $this->apiParas;
- }
- public function getTerminalType()
- {
- return $this->terminalType;
- }
- public function setTerminalType($terminalType)
- {
- $this->terminalType = $terminalType;
- }
- public function getTerminalInfo()
- {
- return $this->terminalInfo;
- }
- public function setTerminalInfo($terminalInfo)
- {
- $this->terminalInfo = $terminalInfo;
- }
- public function getProdCode()
- {
- return $this->prodCode;
- }
- public function setProdCode($prodCode)
- {
- $this->prodCode = $prodCode;
- }
- public function setApiVersion($apiVersion)
- {
- $this->apiVersion=$apiVersion;
- }
- public function getApiVersion()
- {
- return $this->apiVersion;
- }
- public function setNeedEncrypt($needEncrypt)
- {
- $this->needEncrypt=$needEncrypt;
- }
- public function getNeedEncrypt()
- {
- return $this->needEncrypt;
- }
- }
|