SetLiveLazyPullStreamInfoConfigRequest.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of SetLiveLazyPullStreamInfoConfig
  7. *
  8. * @method string getPullArgs()
  9. * @method string getAppName()
  10. * @method string getPullAuthKey()
  11. * @method string getPullAuthType()
  12. * @method string getDomainName()
  13. * @method string getPullDomainName()
  14. * @method string getOwnerId()
  15. * @method string getPullAppName()
  16. * @method string getPullProtocol()
  17. */
  18. class SetLiveLazyPullStreamInfoConfigRequest extends \RpcAcsRequest
  19. {
  20. /**
  21. * @var string
  22. */
  23. protected $method = 'POST';
  24. /**
  25. * Class constructor.
  26. */
  27. public function __construct()
  28. {
  29. parent::__construct(
  30. 'live',
  31. '2016-11-01',
  32. 'SetLiveLazyPullStreamInfoConfig',
  33. 'live'
  34. );
  35. }
  36. /**
  37. * @param string $pullArgs
  38. *
  39. * @return $this
  40. */
  41. public function setPullArgs($pullArgs)
  42. {
  43. $this->requestParameters['PullArgs'] = $pullArgs;
  44. $this->queryParameters['PullArgs'] = $pullArgs;
  45. return $this;
  46. }
  47. /**
  48. * @param string $appName
  49. *
  50. * @return $this
  51. */
  52. public function setAppName($appName)
  53. {
  54. $this->requestParameters['AppName'] = $appName;
  55. $this->queryParameters['AppName'] = $appName;
  56. return $this;
  57. }
  58. /**
  59. * @param string $pullAuthKey
  60. *
  61. * @return $this
  62. */
  63. public function setPullAuthKey($pullAuthKey)
  64. {
  65. $this->requestParameters['PullAuthKey'] = $pullAuthKey;
  66. $this->queryParameters['PullAuthKey'] = $pullAuthKey;
  67. return $this;
  68. }
  69. /**
  70. * @param string $pullAuthType
  71. *
  72. * @return $this
  73. */
  74. public function setPullAuthType($pullAuthType)
  75. {
  76. $this->requestParameters['PullAuthType'] = $pullAuthType;
  77. $this->queryParameters['PullAuthType'] = $pullAuthType;
  78. return $this;
  79. }
  80. /**
  81. * @param string $domainName
  82. *
  83. * @return $this
  84. */
  85. public function setDomainName($domainName)
  86. {
  87. $this->requestParameters['DomainName'] = $domainName;
  88. $this->queryParameters['DomainName'] = $domainName;
  89. return $this;
  90. }
  91. /**
  92. * @param string $pullDomainName
  93. *
  94. * @return $this
  95. */
  96. public function setPullDomainName($pullDomainName)
  97. {
  98. $this->requestParameters['PullDomainName'] = $pullDomainName;
  99. $this->queryParameters['PullDomainName'] = $pullDomainName;
  100. return $this;
  101. }
  102. /**
  103. * @param string $ownerId
  104. *
  105. * @return $this
  106. */
  107. public function setOwnerId($ownerId)
  108. {
  109. $this->requestParameters['OwnerId'] = $ownerId;
  110. $this->queryParameters['OwnerId'] = $ownerId;
  111. return $this;
  112. }
  113. /**
  114. * @param string $pullAppName
  115. *
  116. * @return $this
  117. */
  118. public function setPullAppName($pullAppName)
  119. {
  120. $this->requestParameters['PullAppName'] = $pullAppName;
  121. $this->queryParameters['PullAppName'] = $pullAppName;
  122. return $this;
  123. }
  124. /**
  125. * @param string $pullProtocol
  126. *
  127. * @return $this
  128. */
  129. public function setPullProtocol($pullProtocol)
  130. {
  131. $this->requestParameters['PullProtocol'] = $pullProtocol;
  132. $this->queryParameters['PullProtocol'] = $pullProtocol;
  133. return $this;
  134. }
  135. }