Bez popisu

LicenseCode.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_LicenseCode extends Google_Collection
  18. {
  19. protected $collection_key = 'licenseAlias';
  20. public $creationTimestamp;
  21. public $description;
  22. public $id;
  23. public $kind;
  24. protected $licenseAliasType = 'Google_Service_Compute_LicenseCodeLicenseAlias';
  25. protected $licenseAliasDataType = 'array';
  26. public $name;
  27. public $selfLink;
  28. public $state;
  29. public $transferable;
  30. public function setCreationTimestamp($creationTimestamp)
  31. {
  32. $this->creationTimestamp = $creationTimestamp;
  33. }
  34. public function getCreationTimestamp()
  35. {
  36. return $this->creationTimestamp;
  37. }
  38. public function setDescription($description)
  39. {
  40. $this->description = $description;
  41. }
  42. public function getDescription()
  43. {
  44. return $this->description;
  45. }
  46. public function setId($id)
  47. {
  48. $this->id = $id;
  49. }
  50. public function getId()
  51. {
  52. return $this->id;
  53. }
  54. public function setKind($kind)
  55. {
  56. $this->kind = $kind;
  57. }
  58. public function getKind()
  59. {
  60. return $this->kind;
  61. }
  62. /**
  63. * @param Google_Service_Compute_LicenseCodeLicenseAlias
  64. */
  65. public function setLicenseAlias($licenseAlias)
  66. {
  67. $this->licenseAlias = $licenseAlias;
  68. }
  69. /**
  70. * @return Google_Service_Compute_LicenseCodeLicenseAlias
  71. */
  72. public function getLicenseAlias()
  73. {
  74. return $this->licenseAlias;
  75. }
  76. public function setName($name)
  77. {
  78. $this->name = $name;
  79. }
  80. public function getName()
  81. {
  82. return $this->name;
  83. }
  84. public function setSelfLink($selfLink)
  85. {
  86. $this->selfLink = $selfLink;
  87. }
  88. public function getSelfLink()
  89. {
  90. return $this->selfLink;
  91. }
  92. public function setState($state)
  93. {
  94. $this->state = $state;
  95. }
  96. public function getState()
  97. {
  98. return $this->state;
  99. }
  100. public function setTransferable($transferable)
  101. {
  102. $this->transferable = $transferable;
  103. }
  104. public function getTransferable()
  105. {
  106. return $this->transferable;
  107. }
  108. }