StartCasterSceneRequest.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of StartCasterScene
  7. *
  8. * @method string getCasterId()
  9. * @method string getSceneId()
  10. * @method string getOwnerId()
  11. */
  12. class StartCasterSceneRequest extends \RpcAcsRequest
  13. {
  14. /**
  15. * @var string
  16. */
  17. protected $method = 'POST';
  18. /**
  19. * Class constructor.
  20. */
  21. public function __construct()
  22. {
  23. parent::__construct(
  24. 'live',
  25. '2016-11-01',
  26. 'StartCasterScene',
  27. 'live'
  28. );
  29. }
  30. /**
  31. * @param string $casterId
  32. *
  33. * @return $this
  34. */
  35. public function setCasterId($casterId)
  36. {
  37. $this->requestParameters['CasterId'] = $casterId;
  38. $this->queryParameters['CasterId'] = $casterId;
  39. return $this;
  40. }
  41. /**
  42. * @param string $sceneId
  43. *
  44. * @return $this
  45. */
  46. public function setSceneId($sceneId)
  47. {
  48. $this->requestParameters['SceneId'] = $sceneId;
  49. $this->queryParameters['SceneId'] = $sceneId;
  50. return $this;
  51. }
  52. /**
  53. * @param string $ownerId
  54. *
  55. * @return $this
  56. */
  57. public function setOwnerId($ownerId)
  58. {
  59. $this->requestParameters['OwnerId'] = $ownerId;
  60. $this->queryParameters['OwnerId'] = $ownerId;
  61. return $this;
  62. }
  63. }