SetCasterConfigRequest.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of SetCasterConfig
  7. *
  8. * @method string getSideOutputUrl()
  9. * @method string getCasterId()
  10. * @method string getChannelEnable()
  11. * @method string getDomainName()
  12. * @method string getProgramEffect()
  13. * @method string getProgramName()
  14. * @method string getOwnerId()
  15. * @method string getRecordConfig()
  16. * @method string getUrgentMaterialId()
  17. * @method string getTranscodeConfig()
  18. * @method string getDelay()
  19. * @method string getCasterName()
  20. * @method string getCallbackUrl()
  21. */
  22. class SetCasterConfigRequest extends \RpcAcsRequest
  23. {
  24. /**
  25. * @var string
  26. */
  27. protected $method = 'POST';
  28. /**
  29. * Class constructor.
  30. */
  31. public function __construct()
  32. {
  33. parent::__construct(
  34. 'live',
  35. '2016-11-01',
  36. 'SetCasterConfig',
  37. 'live'
  38. );
  39. }
  40. /**
  41. * @param string $sideOutputUrl
  42. *
  43. * @return $this
  44. */
  45. public function setSideOutputUrl($sideOutputUrl)
  46. {
  47. $this->requestParameters['SideOutputUrl'] = $sideOutputUrl;
  48. $this->queryParameters['SideOutputUrl'] = $sideOutputUrl;
  49. return $this;
  50. }
  51. /**
  52. * @param string $casterId
  53. *
  54. * @return $this
  55. */
  56. public function setCasterId($casterId)
  57. {
  58. $this->requestParameters['CasterId'] = $casterId;
  59. $this->queryParameters['CasterId'] = $casterId;
  60. return $this;
  61. }
  62. /**
  63. * @param string $channelEnable
  64. *
  65. * @return $this
  66. */
  67. public function setChannelEnable($channelEnable)
  68. {
  69. $this->requestParameters['ChannelEnable'] = $channelEnable;
  70. $this->queryParameters['ChannelEnable'] = $channelEnable;
  71. return $this;
  72. }
  73. /**
  74. * @param string $domainName
  75. *
  76. * @return $this
  77. */
  78. public function setDomainName($domainName)
  79. {
  80. $this->requestParameters['DomainName'] = $domainName;
  81. $this->queryParameters['DomainName'] = $domainName;
  82. return $this;
  83. }
  84. /**
  85. * @param string $programEffect
  86. *
  87. * @return $this
  88. */
  89. public function setProgramEffect($programEffect)
  90. {
  91. $this->requestParameters['ProgramEffect'] = $programEffect;
  92. $this->queryParameters['ProgramEffect'] = $programEffect;
  93. return $this;
  94. }
  95. /**
  96. * @param string $programName
  97. *
  98. * @return $this
  99. */
  100. public function setProgramName($programName)
  101. {
  102. $this->requestParameters['ProgramName'] = $programName;
  103. $this->queryParameters['ProgramName'] = $programName;
  104. return $this;
  105. }
  106. /**
  107. * @param string $ownerId
  108. *
  109. * @return $this
  110. */
  111. public function setOwnerId($ownerId)
  112. {
  113. $this->requestParameters['OwnerId'] = $ownerId;
  114. $this->queryParameters['OwnerId'] = $ownerId;
  115. return $this;
  116. }
  117. /**
  118. * @param string $recordConfig
  119. *
  120. * @return $this
  121. */
  122. public function setRecordConfig($recordConfig)
  123. {
  124. $this->requestParameters['RecordConfig'] = $recordConfig;
  125. $this->queryParameters['RecordConfig'] = $recordConfig;
  126. return $this;
  127. }
  128. /**
  129. * @param string $urgentMaterialId
  130. *
  131. * @return $this
  132. */
  133. public function setUrgentMaterialId($urgentMaterialId)
  134. {
  135. $this->requestParameters['UrgentMaterialId'] = $urgentMaterialId;
  136. $this->queryParameters['UrgentMaterialId'] = $urgentMaterialId;
  137. return $this;
  138. }
  139. /**
  140. * @param string $transcodeConfig
  141. *
  142. * @return $this
  143. */
  144. public function setTranscodeConfig($transcodeConfig)
  145. {
  146. $this->requestParameters['TranscodeConfig'] = $transcodeConfig;
  147. $this->queryParameters['TranscodeConfig'] = $transcodeConfig;
  148. return $this;
  149. }
  150. /**
  151. * @param string $delay
  152. *
  153. * @return $this
  154. */
  155. public function setDelay($delay)
  156. {
  157. $this->requestParameters['Delay'] = $delay;
  158. $this->queryParameters['Delay'] = $delay;
  159. return $this;
  160. }
  161. /**
  162. * @param string $casterName
  163. *
  164. * @return $this
  165. */
  166. public function setCasterName($casterName)
  167. {
  168. $this->requestParameters['CasterName'] = $casterName;
  169. $this->queryParameters['CasterName'] = $casterName;
  170. return $this;
  171. }
  172. /**
  173. * @param string $callbackUrl
  174. *
  175. * @return $this
  176. */
  177. public function setCallbackUrl($callbackUrl)
  178. {
  179. $this->requestParameters['CallbackUrl'] = $callbackUrl;
  180. $this->queryParameters['CallbackUrl'] = $callbackUrl;
  181. return $this;
  182. }
  183. }