DeleteCasterProgramRequest.php 1.1 KB

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