UpdateCoverPipelineRequest.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of UpdateCoverPipeline
  5. *
  6. * @method string getResourceOwnerId()
  7. * @method string getRole()
  8. * @method string getResourceOwnerAccount()
  9. * @method string getOwnerAccount()
  10. * @method string getName()
  11. * @method string getState()
  12. * @method string getNotifyConfig()
  13. * @method string getOwnerId()
  14. * @method string getPriority()
  15. * @method string getPipelineId()
  16. */
  17. class UpdateCoverPipelineRequest 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. 'Mts',
  30. '2014-06-18',
  31. 'UpdateCoverPipeline',
  32. 'mts'
  33. );
  34. }
  35. /**
  36. * @param string $resourceOwnerId
  37. *
  38. * @return $this
  39. */
  40. public function setResourceOwnerId($resourceOwnerId)
  41. {
  42. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  43. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  44. return $this;
  45. }
  46. /**
  47. * @param string $role
  48. *
  49. * @return $this
  50. */
  51. public function setRole($role)
  52. {
  53. $this->requestParameters['Role'] = $role;
  54. $this->queryParameters['Role'] = $role;
  55. return $this;
  56. }
  57. /**
  58. * @param string $resourceOwnerAccount
  59. *
  60. * @return $this
  61. */
  62. public function setResourceOwnerAccount($resourceOwnerAccount)
  63. {
  64. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  65. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  66. return $this;
  67. }
  68. /**
  69. * @param string $ownerAccount
  70. *
  71. * @return $this
  72. */
  73. public function setOwnerAccount($ownerAccount)
  74. {
  75. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  76. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  77. return $this;
  78. }
  79. /**
  80. * @param string $name
  81. *
  82. * @return $this
  83. */
  84. public function setName($name)
  85. {
  86. $this->requestParameters['Name'] = $name;
  87. $this->queryParameters['Name'] = $name;
  88. return $this;
  89. }
  90. /**
  91. * @param string $state
  92. *
  93. * @return $this
  94. */
  95. public function setState($state)
  96. {
  97. $this->requestParameters['State'] = $state;
  98. $this->queryParameters['State'] = $state;
  99. return $this;
  100. }
  101. /**
  102. * @param string $notifyConfig
  103. *
  104. * @return $this
  105. */
  106. public function setNotifyConfig($notifyConfig)
  107. {
  108. $this->requestParameters['NotifyConfig'] = $notifyConfig;
  109. $this->queryParameters['NotifyConfig'] = $notifyConfig;
  110. return $this;
  111. }
  112. /**
  113. * @param string $ownerId
  114. *
  115. * @return $this
  116. */
  117. public function setOwnerId($ownerId)
  118. {
  119. $this->requestParameters['OwnerId'] = $ownerId;
  120. $this->queryParameters['OwnerId'] = $ownerId;
  121. return $this;
  122. }
  123. /**
  124. * @param string $priority
  125. *
  126. * @return $this
  127. */
  128. public function setPriority($priority)
  129. {
  130. $this->requestParameters['Priority'] = $priority;
  131. $this->queryParameters['Priority'] = $priority;
  132. return $this;
  133. }
  134. /**
  135. * @param string $pipelineId
  136. *
  137. * @return $this
  138. */
  139. public function setPipelineId($pipelineId)
  140. {
  141. $this->requestParameters['PipelineId'] = $pipelineId;
  142. $this->queryParameters['PipelineId'] = $pipelineId;
  143. return $this;
  144. }
  145. }