PhysicalDeleteResourceRequest.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of PhysicalDeleteResource
  5. *
  6. * @method string getCountry()
  7. * @method string getHid()
  8. * @method string getSuccess()
  9. * @method string getInterrupt()
  10. * @method string getGmtWakeup()
  11. * @method string getPk()
  12. * @method string getInvoker()
  13. * @method string getBid()
  14. * @method string getMessage()
  15. * @method string getTaskExtraData()
  16. * @method string getTaskIdentifier()
  17. */
  18. class PhysicalDeleteResourceRequest extends \RpcAcsRequest
  19. {
  20. /**
  21. * @var string
  22. */
  23. protected $method = 'POST';
  24. /**
  25. * Class constructor.
  26. */
  27. public function __construct()
  28. {
  29. parent::__construct(
  30. 'Mts',
  31. '2014-06-18',
  32. 'PhysicalDeleteResource',
  33. 'mts'
  34. );
  35. }
  36. /**
  37. * @param string $country
  38. *
  39. * @return $this
  40. */
  41. public function setCountry($country)
  42. {
  43. $this->requestParameters['Country'] = $country;
  44. $this->queryParameters['Country'] = $country;
  45. return $this;
  46. }
  47. /**
  48. * @param string $hid
  49. *
  50. * @return $this
  51. */
  52. public function setHid($hid)
  53. {
  54. $this->requestParameters['Hid'] = $hid;
  55. $this->queryParameters['Hid'] = $hid;
  56. return $this;
  57. }
  58. /**
  59. * @param string $success
  60. *
  61. * @return $this
  62. */
  63. public function setSuccess($success)
  64. {
  65. $this->requestParameters['Success'] = $success;
  66. $this->queryParameters['Success'] = $success;
  67. return $this;
  68. }
  69. /**
  70. * @param string $interrupt
  71. *
  72. * @return $this
  73. */
  74. public function setInterrupt($interrupt)
  75. {
  76. $this->requestParameters['Interrupt'] = $interrupt;
  77. $this->queryParameters['Interrupt'] = $interrupt;
  78. return $this;
  79. }
  80. /**
  81. * @param string $gmtWakeup
  82. *
  83. * @return $this
  84. */
  85. public function setGmtWakeup($gmtWakeup)
  86. {
  87. $this->requestParameters['GmtWakeup'] = $gmtWakeup;
  88. $this->queryParameters['GmtWakeup'] = $gmtWakeup;
  89. return $this;
  90. }
  91. /**
  92. * @param string $pk
  93. *
  94. * @return $this
  95. */
  96. public function setPk($pk)
  97. {
  98. $this->requestParameters['Pk'] = $pk;
  99. $this->queryParameters['Pk'] = $pk;
  100. return $this;
  101. }
  102. /**
  103. * @param string $invoker
  104. *
  105. * @return $this
  106. */
  107. public function setInvoker($invoker)
  108. {
  109. $this->requestParameters['Invoker'] = $invoker;
  110. $this->queryParameters['Invoker'] = $invoker;
  111. return $this;
  112. }
  113. /**
  114. * @param string $bid
  115. *
  116. * @return $this
  117. */
  118. public function setBid($bid)
  119. {
  120. $this->requestParameters['Bid'] = $bid;
  121. $this->queryParameters['Bid'] = $bid;
  122. return $this;
  123. }
  124. /**
  125. * @param string $message
  126. *
  127. * @return $this
  128. */
  129. public function setMessage($message)
  130. {
  131. $this->requestParameters['Message'] = $message;
  132. $this->queryParameters['Message'] = $message;
  133. return $this;
  134. }
  135. /**
  136. * @param string $taskExtraData
  137. *
  138. * @return $this
  139. */
  140. public function setTaskExtraData($taskExtraData)
  141. {
  142. $this->requestParameters['TaskExtraData'] = $taskExtraData;
  143. $this->queryParameters['TaskExtraData'] = $taskExtraData;
  144. return $this;
  145. }
  146. /**
  147. * @param string $taskIdentifier
  148. *
  149. * @return $this
  150. */
  151. public function setTaskIdentifier($taskIdentifier)
  152. {
  153. $this->requestParameters['TaskIdentifier'] = $taskIdentifier;
  154. $this->queryParameters['TaskIdentifier'] = $taskIdentifier;
  155. return $this;
  156. }
  157. }