Ei kuvausta

Commitment.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Compute_Commitment extends Google_Collection
  18. {
  19. protected $collection_key = 'resources';
  20. public $creationTimestamp;
  21. public $description;
  22. public $endTimestamp;
  23. public $id;
  24. public $kind;
  25. public $name;
  26. public $plan;
  27. public $region;
  28. protected $resourcesType = 'Google_Service_Compute_ResourceCommitment';
  29. protected $resourcesDataType = 'array';
  30. public $selfLink;
  31. public $startTimestamp;
  32. public $status;
  33. public $statusMessage;
  34. public function setCreationTimestamp($creationTimestamp)
  35. {
  36. $this->creationTimestamp = $creationTimestamp;
  37. }
  38. public function getCreationTimestamp()
  39. {
  40. return $this->creationTimestamp;
  41. }
  42. public function setDescription($description)
  43. {
  44. $this->description = $description;
  45. }
  46. public function getDescription()
  47. {
  48. return $this->description;
  49. }
  50. public function setEndTimestamp($endTimestamp)
  51. {
  52. $this->endTimestamp = $endTimestamp;
  53. }
  54. public function getEndTimestamp()
  55. {
  56. return $this->endTimestamp;
  57. }
  58. public function setId($id)
  59. {
  60. $this->id = $id;
  61. }
  62. public function getId()
  63. {
  64. return $this->id;
  65. }
  66. public function setKind($kind)
  67. {
  68. $this->kind = $kind;
  69. }
  70. public function getKind()
  71. {
  72. return $this->kind;
  73. }
  74. public function setName($name)
  75. {
  76. $this->name = $name;
  77. }
  78. public function getName()
  79. {
  80. return $this->name;
  81. }
  82. public function setPlan($plan)
  83. {
  84. $this->plan = $plan;
  85. }
  86. public function getPlan()
  87. {
  88. return $this->plan;
  89. }
  90. public function setRegion($region)
  91. {
  92. $this->region = $region;
  93. }
  94. public function getRegion()
  95. {
  96. return $this->region;
  97. }
  98. /**
  99. * @param Google_Service_Compute_ResourceCommitment
  100. */
  101. public function setResources($resources)
  102. {
  103. $this->resources = $resources;
  104. }
  105. /**
  106. * @return Google_Service_Compute_ResourceCommitment
  107. */
  108. public function getResources()
  109. {
  110. return $this->resources;
  111. }
  112. public function setSelfLink($selfLink)
  113. {
  114. $this->selfLink = $selfLink;
  115. }
  116. public function getSelfLink()
  117. {
  118. return $this->selfLink;
  119. }
  120. public function setStartTimestamp($startTimestamp)
  121. {
  122. $this->startTimestamp = $startTimestamp;
  123. }
  124. public function getStartTimestamp()
  125. {
  126. return $this->startTimestamp;
  127. }
  128. public function setStatus($status)
  129. {
  130. $this->status = $status;
  131. }
  132. public function getStatus()
  133. {
  134. return $this->status;
  135. }
  136. public function setStatusMessage($statusMessage)
  137. {
  138. $this->statusMessage = $statusMessage;
  139. }
  140. public function getStatusMessage()
  141. {
  142. return $this->statusMessage;
  143. }
  144. }