DescribeBoardSnapshotRequest.php 1.3 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 DescribeBoardSnapshot
  7. *
  8. * @method string getOwnerId()
  9. * @method string getAppId()
  10. * @method string getBoardId()
  11. */
  12. class DescribeBoardSnapshotRequest 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. 'DescribeBoardSnapshot',
  27. 'live'
  28. );
  29. }
  30. /**
  31. * @param string $ownerId
  32. *
  33. * @return $this
  34. */
  35. public function setOwnerId($ownerId)
  36. {
  37. $this->requestParameters['OwnerId'] = $ownerId;
  38. $this->queryParameters['OwnerId'] = $ownerId;
  39. return $this;
  40. }
  41. /**
  42. * @param string $appId
  43. *
  44. * @return $this
  45. */
  46. public function setAppId($appId)
  47. {
  48. $this->requestParameters['AppId'] = $appId;
  49. $this->queryParameters['AppId'] = $appId;
  50. return $this;
  51. }
  52. /**
  53. * @param string $boardId
  54. *
  55. * @return $this
  56. */
  57. public function setBoardId($boardId)
  58. {
  59. $this->requestParameters['BoardId'] = $boardId;
  60. $this->queryParameters['BoardId'] = $boardId;
  61. return $this;
  62. }
  63. }