CopyCasterSceneConfigRequest.php 1.7 KB

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