DescribeLiveDomainRealTimeBpsDataRequest.php 2.3 KB

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