DescribeRegionsRequest.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. /*
  3. * Licensed to the Apache Software Foundation (ASF) under one
  4. * or more contributor license agreements. See the NOTICE file
  5. * distributed with this work for additional information
  6. * regarding copyright ownership. The ASF licenses this file
  7. * to you under the Apache License, Version 2.0 (the
  8. * "License"); you may not use this file except in compliance
  9. * with the License. You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing,
  14. * software distributed under the License is distributed on an
  15. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. * KIND, either express or implied. See the License for the
  17. * specific language governing permissions and limitations
  18. * under the License.
  19. */
  20. namespace UnitTest\Ecs\Request;
  21. class DescribeRegionsRequest extends \RpcAcsRequest
  22. {
  23. public function __construct()
  24. {
  25. parent::__construct("Ecs", "2014-05-26", "DescribeRegions");
  26. }
  27. /**
  28. * @var
  29. */
  30. private $ownerId;
  31. /**
  32. * @var
  33. */
  34. private $resourceOwnerAccount;
  35. /**
  36. * @var
  37. */
  38. private $resourceOwnerId;
  39. /**
  40. * @var
  41. */
  42. private $ownerAccount;
  43. /**
  44. * @return mixed
  45. */
  46. public function getOwnerId()
  47. {
  48. return $this->ownerId;
  49. }
  50. /**
  51. * @param $ownerId
  52. */
  53. public function setOwnerId($ownerId)
  54. {
  55. $this->ownerId = $ownerId;
  56. $this->queryParameters["OwnerId"] = $ownerId;
  57. }
  58. /**
  59. * @return mixed
  60. */
  61. public function getResourceOwnerAccount()
  62. {
  63. return $this->resourceOwnerAccount;
  64. }
  65. /**
  66. * @param $resourceOwnerAccount
  67. */
  68. public function setResourceOwnerAccount($resourceOwnerAccount)
  69. {
  70. $this->resourceOwnerAccount = $resourceOwnerAccount;
  71. $this->queryParameters["ResourceOwnerAccount"] = $resourceOwnerAccount;
  72. }
  73. /**
  74. * @return mixed
  75. */
  76. public function getResourceOwnerId()
  77. {
  78. return $this->resourceOwnerId;
  79. }
  80. /**
  81. * @param $resourceOwnerId
  82. */
  83. public function setResourceOwnerId($resourceOwnerId)
  84. {
  85. $this->resourceOwnerId = $resourceOwnerId;
  86. $this->queryParameters["ResourceOwnerId"] = $resourceOwnerId;
  87. }
  88. /**
  89. * @return mixed
  90. */
  91. public function getOwnerAccount()
  92. {
  93. return $this->ownerAccount;
  94. }
  95. /**
  96. * @param $ownerAccount
  97. */
  98. public function setOwnerAccount($ownerAccount)
  99. {
  100. $this->ownerAccount = $ownerAccount;
  101. $this->queryParameters["OwnerAccount"] = $ownerAccount;
  102. }
  103. }