QueryPipelineListRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of QueryPipelineList
  5. *
  6. * @method string getResourceOwnerId()
  7. * @method string getResourceOwnerAccount()
  8. * @method string getPipelineIds()
  9. * @method string getOwnerAccount()
  10. * @method string getOwnerId()
  11. */
  12. class QueryPipelineListRequest extends \RpcAcsRequest
  13. {
  14. /**
  15. * @var string
  16. */
  17. protected $method = 'POST';
  18. /**
  19. * Class constructor.
  20. */
  21. public function __construct()
  22. {
  23. parent::__construct(
  24. 'Mts',
  25. '2014-06-18',
  26. 'QueryPipelineList',
  27. 'mts'
  28. );
  29. }
  30. /**
  31. * @param string $resourceOwnerId
  32. *
  33. * @return $this
  34. */
  35. public function setResourceOwnerId($resourceOwnerId)
  36. {
  37. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  38. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  39. return $this;
  40. }
  41. /**
  42. * @param string $resourceOwnerAccount
  43. *
  44. * @return $this
  45. */
  46. public function setResourceOwnerAccount($resourceOwnerAccount)
  47. {
  48. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  49. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  50. return $this;
  51. }
  52. /**
  53. * @param string $pipelineIds
  54. *
  55. * @return $this
  56. */
  57. public function setPipelineIds($pipelineIds)
  58. {
  59. $this->requestParameters['PipelineIds'] = $pipelineIds;
  60. $this->queryParameters['PipelineIds'] = $pipelineIds;
  61. return $this;
  62. }
  63. /**
  64. * @param string $ownerAccount
  65. *
  66. * @return $this
  67. */
  68. public function setOwnerAccount($ownerAccount)
  69. {
  70. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  71. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  72. return $this;
  73. }
  74. /**
  75. * @param string $ownerId
  76. *
  77. * @return $this
  78. */
  79. public function setOwnerId($ownerId)
  80. {
  81. $this->requestParameters['OwnerId'] = $ownerId;
  82. $this->queryParameters['OwnerId'] = $ownerId;
  83. return $this;
  84. }
  85. }