AddTrancodeSEIRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of AddTrancodeSEI
  7. *
  8. * @method string getDelay()
  9. * @method string getAppName()
  10. * @method string getRepeat()
  11. * @method string getDomainName()
  12. * @method string getPattern()
  13. * @method string getText()
  14. * @method string getOwnerId()
  15. * @method string getStreamName()
  16. */
  17. class AddTrancodeSEIRequest extends \RpcAcsRequest
  18. {
  19. /**
  20. * @var string
  21. */
  22. protected $method = 'POST';
  23. /**
  24. * Class constructor.
  25. */
  26. public function __construct()
  27. {
  28. parent::__construct(
  29. 'live',
  30. '2016-11-01',
  31. 'AddTrancodeSEI',
  32. 'live'
  33. );
  34. }
  35. /**
  36. * @param string $delay
  37. *
  38. * @return $this
  39. */
  40. public function setDelay($delay)
  41. {
  42. $this->requestParameters['Delay'] = $delay;
  43. $this->queryParameters['Delay'] = $delay;
  44. return $this;
  45. }
  46. /**
  47. * @param string $appName
  48. *
  49. * @return $this
  50. */
  51. public function setAppName($appName)
  52. {
  53. $this->requestParameters['AppName'] = $appName;
  54. $this->queryParameters['AppName'] = $appName;
  55. return $this;
  56. }
  57. /**
  58. * @param string $repeat
  59. *
  60. * @return $this
  61. */
  62. public function setRepeat($repeat)
  63. {
  64. $this->requestParameters['Repeat'] = $repeat;
  65. $this->queryParameters['Repeat'] = $repeat;
  66. return $this;
  67. }
  68. /**
  69. * @param string $domainName
  70. *
  71. * @return $this
  72. */
  73. public function setDomainName($domainName)
  74. {
  75. $this->requestParameters['DomainName'] = $domainName;
  76. $this->queryParameters['DomainName'] = $domainName;
  77. return $this;
  78. }
  79. /**
  80. * @param string $pattern
  81. *
  82. * @return $this
  83. */
  84. public function setPattern($pattern)
  85. {
  86. $this->requestParameters['Pattern'] = $pattern;
  87. $this->queryParameters['Pattern'] = $pattern;
  88. return $this;
  89. }
  90. /**
  91. * @param string $text
  92. *
  93. * @return $this
  94. */
  95. public function setText($text)
  96. {
  97. $this->requestParameters['Text'] = $text;
  98. $this->queryParameters['Text'] = $text;
  99. return $this;
  100. }
  101. /**
  102. * @param string $ownerId
  103. *
  104. * @return $this
  105. */
  106. public function setOwnerId($ownerId)
  107. {
  108. $this->requestParameters['OwnerId'] = $ownerId;
  109. $this->queryParameters['OwnerId'] = $ownerId;
  110. return $this;
  111. }
  112. /**
  113. * @param string $streamName
  114. *
  115. * @return $this
  116. */
  117. public function setStreamName($streamName)
  118. {
  119. $this->requestParameters['StreamName'] = $streamName;
  120. $this->queryParameters['StreamName'] = $streamName;
  121. return $this;
  122. }
  123. }