SetLiveStreamDelayConfigRequest.php 2.9 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 SetLiveStreamDelayConfig
  7. *
  8. * @method string getFlvLevel()
  9. * @method string getHlsLevel()
  10. * @method string getRtmpDelay()
  11. * @method string getDomainName()
  12. * @method string getOwnerId()
  13. * @method string getFlvDelay()
  14. * @method string getRtmpLevel()
  15. * @method string getHlsDelay()
  16. */
  17. class SetLiveStreamDelayConfigRequest 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. 'SetLiveStreamDelayConfig',
  32. 'live'
  33. );
  34. }
  35. /**
  36. * @param string $flvLevel
  37. *
  38. * @return $this
  39. */
  40. public function setFlvLevel($flvLevel)
  41. {
  42. $this->requestParameters['FlvLevel'] = $flvLevel;
  43. $this->queryParameters['FlvLevel'] = $flvLevel;
  44. return $this;
  45. }
  46. /**
  47. * @param string $hlsLevel
  48. *
  49. * @return $this
  50. */
  51. public function setHlsLevel($hlsLevel)
  52. {
  53. $this->requestParameters['HlsLevel'] = $hlsLevel;
  54. $this->queryParameters['HlsLevel'] = $hlsLevel;
  55. return $this;
  56. }
  57. /**
  58. * @param string $rtmpDelay
  59. *
  60. * @return $this
  61. */
  62. public function setRtmpDelay($rtmpDelay)
  63. {
  64. $this->requestParameters['RtmpDelay'] = $rtmpDelay;
  65. $this->queryParameters['RtmpDelay'] = $rtmpDelay;
  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 $ownerId
  81. *
  82. * @return $this
  83. */
  84. public function setOwnerId($ownerId)
  85. {
  86. $this->requestParameters['OwnerId'] = $ownerId;
  87. $this->queryParameters['OwnerId'] = $ownerId;
  88. return $this;
  89. }
  90. /**
  91. * @param string $flvDelay
  92. *
  93. * @return $this
  94. */
  95. public function setFlvDelay($flvDelay)
  96. {
  97. $this->requestParameters['FlvDelay'] = $flvDelay;
  98. $this->queryParameters['FlvDelay'] = $flvDelay;
  99. return $this;
  100. }
  101. /**
  102. * @param string $rtmpLevel
  103. *
  104. * @return $this
  105. */
  106. public function setRtmpLevel($rtmpLevel)
  107. {
  108. $this->requestParameters['RtmpLevel'] = $rtmpLevel;
  109. $this->queryParameters['RtmpLevel'] = $rtmpLevel;
  110. return $this;
  111. }
  112. /**
  113. * @param string $hlsDelay
  114. *
  115. * @return $this
  116. */
  117. public function setHlsDelay($hlsDelay)
  118. {
  119. $this->requestParameters['HlsDelay'] = $hlsDelay;
  120. $this->queryParameters['HlsDelay'] = $hlsDelay;
  121. return $this;
  122. }
  123. }