AlibabaAliqinFcIotQryPersoninfoRequest.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * TOP API: alibaba.aliqin.fc.iot.qry.personinfo request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2017.03.03
  7. */
  8. class AlibabaAliqinFcIotQryPersoninfoRequest
  9. {
  10. /**
  11. * 需要查询的iccid
  12. **/
  13. private $iccid;
  14. /**
  15. * 由系统根据业务分配
  16. **/
  17. private $midPatChannel;
  18. /**
  19. * 指定查询某userid
  20. **/
  21. private $userid;
  22. private $apiParas = array();
  23. public function setIccid($iccid)
  24. {
  25. $this->iccid = $iccid;
  26. $this->apiParas["iccid"] = $iccid;
  27. }
  28. public function getIccid()
  29. {
  30. return $this->iccid;
  31. }
  32. public function setMidPatChannel($midPatChannel)
  33. {
  34. $this->midPatChannel = $midPatChannel;
  35. $this->apiParas["mid_pat_channel"] = $midPatChannel;
  36. }
  37. public function getMidPatChannel()
  38. {
  39. return $this->midPatChannel;
  40. }
  41. public function setUserid($userid)
  42. {
  43. $this->userid = $userid;
  44. $this->apiParas["userid"] = $userid;
  45. }
  46. public function getUserid()
  47. {
  48. return $this->userid;
  49. }
  50. public function getApiMethodName()
  51. {
  52. return "alibaba.aliqin.fc.iot.qry.personinfo";
  53. }
  54. public function getApiParas()
  55. {
  56. return $this->apiParas;
  57. }
  58. public function check()
  59. {
  60. RequestCheckUtil::checkNotNull($this->iccid,"iccid");
  61. RequestCheckUtil::checkNotNull($this->midPatChannel,"midPatChannel");
  62. }
  63. public function putOtherTextParam($key, $value) {
  64. $this->apiParas[$key] = $value;
  65. $this->$key = $value;
  66. }
  67. }