DescribeRegionsRequest.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. private $ownerId;
  28. private $resourceOwnerAccount;
  29. private $resourceOwnerId;
  30. private $ownerAccount;
  31. public function getOwnerId()
  32. {
  33. return $this->ownerId;
  34. }
  35. public function setOwnerId($ownerId)
  36. {
  37. $this->ownerId = $ownerId;
  38. $this->queryParameters["OwnerId"]=$ownerId;
  39. }
  40. public function getResourceOwnerAccount()
  41. {
  42. return $this->resourceOwnerAccount;
  43. }
  44. public function setResourceOwnerAccount($resourceOwnerAccount)
  45. {
  46. $this->resourceOwnerAccount = $resourceOwnerAccount;
  47. $this->queryParameters["ResourceOwnerAccount"]=$resourceOwnerAccount;
  48. }
  49. public function getResourceOwnerId()
  50. {
  51. return $this->resourceOwnerId;
  52. }
  53. public function setResourceOwnerId($resourceOwnerId)
  54. {
  55. $this->resourceOwnerId = $resourceOwnerId;
  56. $this->queryParameters["ResourceOwnerId"]=$resourceOwnerId;
  57. }
  58. public function getOwnerAccount()
  59. {
  60. return $this->ownerAccount;
  61. }
  62. public function setOwnerAccount($ownerAccount)
  63. {
  64. $this->ownerAccount = $ownerAccount;
  65. $this->queryParameters["OwnerAccount"]=$ownerAccount;
  66. }
  67. }