DescribeLiveDomainRealTimeHttpCodeDataRequest.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of DescribeLiveDomainRealTimeHttpCodeData
  7. *
  8. * @method string getLocationNameEn()
  9. * @method string getStartTime()
  10. * @method string getIspNameEn()
  11. * @method string getDomainName()
  12. * @method string getEndTime()
  13. * @method string getOwnerId()
  14. */
  15. class DescribeLiveDomainRealTimeHttpCodeDataRequest extends \RpcAcsRequest
  16. {
  17. /**
  18. * @var string
  19. */
  20. protected $method = 'POST';
  21. /**
  22. * Class constructor.
  23. */
  24. public function __construct()
  25. {
  26. parent::__construct(
  27. 'live',
  28. '2016-11-01',
  29. 'DescribeLiveDomainRealTimeHttpCodeData',
  30. 'live'
  31. );
  32. }
  33. /**
  34. * @param string $locationNameEn
  35. *
  36. * @return $this
  37. */
  38. public function setLocationNameEn($locationNameEn)
  39. {
  40. $this->requestParameters['LocationNameEn'] = $locationNameEn;
  41. $this->queryParameters['LocationNameEn'] = $locationNameEn;
  42. return $this;
  43. }
  44. /**
  45. * @param string $startTime
  46. *
  47. * @return $this
  48. */
  49. public function setStartTime($startTime)
  50. {
  51. $this->requestParameters['StartTime'] = $startTime;
  52. $this->queryParameters['StartTime'] = $startTime;
  53. return $this;
  54. }
  55. /**
  56. * @param string $ispNameEn
  57. *
  58. * @return $this
  59. */
  60. public function setIspNameEn($ispNameEn)
  61. {
  62. $this->requestParameters['IspNameEn'] = $ispNameEn;
  63. $this->queryParameters['IspNameEn'] = $ispNameEn;
  64. return $this;
  65. }
  66. /**
  67. * @param string $domainName
  68. *
  69. * @return $this
  70. */
  71. public function setDomainName($domainName)
  72. {
  73. $this->requestParameters['DomainName'] = $domainName;
  74. $this->queryParameters['DomainName'] = $domainName;
  75. return $this;
  76. }
  77. /**
  78. * @param string $endTime
  79. *
  80. * @return $this
  81. */
  82. public function setEndTime($endTime)
  83. {
  84. $this->requestParameters['EndTime'] = $endTime;
  85. $this->queryParameters['EndTime'] = $endTime;
  86. return $this;
  87. }
  88. /**
  89. * @param string $ownerId
  90. *
  91. * @return $this
  92. */
  93. public function setOwnerId($ownerId)
  94. {
  95. $this->requestParameters['OwnerId'] = $ownerId;
  96. $this->queryParameters['OwnerId'] = $ownerId;
  97. return $this;
  98. }
  99. }