ModifyCasterComponentRequest.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of ModifyCasterComponent
  7. *
  8. * @method string getComponentId()
  9. * @method string getComponentType()
  10. * @method string getImageLayerContent()
  11. * @method string getCasterId()
  12. * @method string getEffect()
  13. * @method string getComponentLayer()
  14. * @method string getCaptionLayerContent()
  15. * @method string getComponentName()
  16. * @method string getOwnerId()
  17. * @method string getTextLayerContent()
  18. */
  19. class ModifyCasterComponentRequest extends \RpcAcsRequest
  20. {
  21. /**
  22. * @var string
  23. */
  24. protected $method = 'POST';
  25. /**
  26. * Class constructor.
  27. */
  28. public function __construct()
  29. {
  30. parent::__construct(
  31. 'live',
  32. '2016-11-01',
  33. 'ModifyCasterComponent',
  34. 'live'
  35. );
  36. }
  37. /**
  38. * @param string $componentId
  39. *
  40. * @return $this
  41. */
  42. public function setComponentId($componentId)
  43. {
  44. $this->requestParameters['ComponentId'] = $componentId;
  45. $this->queryParameters['ComponentId'] = $componentId;
  46. return $this;
  47. }
  48. /**
  49. * @param string $componentType
  50. *
  51. * @return $this
  52. */
  53. public function setComponentType($componentType)
  54. {
  55. $this->requestParameters['ComponentType'] = $componentType;
  56. $this->queryParameters['ComponentType'] = $componentType;
  57. return $this;
  58. }
  59. /**
  60. * @param string $imageLayerContent
  61. *
  62. * @return $this
  63. */
  64. public function setImageLayerContent($imageLayerContent)
  65. {
  66. $this->requestParameters['ImageLayerContent'] = $imageLayerContent;
  67. $this->queryParameters['ImageLayerContent'] = $imageLayerContent;
  68. return $this;
  69. }
  70. /**
  71. * @param string $casterId
  72. *
  73. * @return $this
  74. */
  75. public function setCasterId($casterId)
  76. {
  77. $this->requestParameters['CasterId'] = $casterId;
  78. $this->queryParameters['CasterId'] = $casterId;
  79. return $this;
  80. }
  81. /**
  82. * @param string $effect
  83. *
  84. * @return $this
  85. */
  86. public function setEffect($effect)
  87. {
  88. $this->requestParameters['Effect'] = $effect;
  89. $this->queryParameters['Effect'] = $effect;
  90. return $this;
  91. }
  92. /**
  93. * @param string $componentLayer
  94. *
  95. * @return $this
  96. */
  97. public function setComponentLayer($componentLayer)
  98. {
  99. $this->requestParameters['ComponentLayer'] = $componentLayer;
  100. $this->queryParameters['ComponentLayer'] = $componentLayer;
  101. return $this;
  102. }
  103. /**
  104. * @param string $captionLayerContent
  105. *
  106. * @return $this
  107. */
  108. public function setCaptionLayerContent($captionLayerContent)
  109. {
  110. $this->requestParameters['CaptionLayerContent'] = $captionLayerContent;
  111. $this->queryParameters['CaptionLayerContent'] = $captionLayerContent;
  112. return $this;
  113. }
  114. /**
  115. * @param string $componentName
  116. *
  117. * @return $this
  118. */
  119. public function setComponentName($componentName)
  120. {
  121. $this->requestParameters['ComponentName'] = $componentName;
  122. $this->queryParameters['ComponentName'] = $componentName;
  123. return $this;
  124. }
  125. /**
  126. * @param string $ownerId
  127. *
  128. * @return $this
  129. */
  130. public function setOwnerId($ownerId)
  131. {
  132. $this->requestParameters['OwnerId'] = $ownerId;
  133. $this->queryParameters['OwnerId'] = $ownerId;
  134. return $this;
  135. }
  136. /**
  137. * @param string $textLayerContent
  138. *
  139. * @return $this
  140. */
  141. public function setTextLayerContent($textLayerContent)
  142. {
  143. $this->requestParameters['TextLayerContent'] = $textLayerContent;
  144. $this->queryParameters['TextLayerContent'] = $textLayerContent;
  145. return $this;
  146. }
  147. }