AuthorizedCertificate.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. namespace Google\Service\Appengine;
  18. class AuthorizedCertificate extends \Google\Collection
  19. {
  20. protected $collection_key = 'visibleDomainMappings';
  21. protected $certificateRawDataType = CertificateRawData::class;
  22. protected $certificateRawDataDataType = '';
  23. /**
  24. * @var string
  25. */
  26. public $displayName;
  27. /**
  28. * @var int
  29. */
  30. public $domainMappingsCount;
  31. /**
  32. * @var string[]
  33. */
  34. public $domainNames;
  35. /**
  36. * @var string
  37. */
  38. public $expireTime;
  39. /**
  40. * @var string
  41. */
  42. public $id;
  43. protected $managedCertificateType = ManagedCertificate::class;
  44. protected $managedCertificateDataType = '';
  45. /**
  46. * @var string
  47. */
  48. public $name;
  49. /**
  50. * @var string[]
  51. */
  52. public $visibleDomainMappings;
  53. /**
  54. * @param CertificateRawData
  55. */
  56. public function setCertificateRawData(CertificateRawData $certificateRawData)
  57. {
  58. $this->certificateRawData = $certificateRawData;
  59. }
  60. /**
  61. * @return CertificateRawData
  62. */
  63. public function getCertificateRawData()
  64. {
  65. return $this->certificateRawData;
  66. }
  67. /**
  68. * @param string
  69. */
  70. public function setDisplayName($displayName)
  71. {
  72. $this->displayName = $displayName;
  73. }
  74. /**
  75. * @return string
  76. */
  77. public function getDisplayName()
  78. {
  79. return $this->displayName;
  80. }
  81. /**
  82. * @param int
  83. */
  84. public function setDomainMappingsCount($domainMappingsCount)
  85. {
  86. $this->domainMappingsCount = $domainMappingsCount;
  87. }
  88. /**
  89. * @return int
  90. */
  91. public function getDomainMappingsCount()
  92. {
  93. return $this->domainMappingsCount;
  94. }
  95. /**
  96. * @param string[]
  97. */
  98. public function setDomainNames($domainNames)
  99. {
  100. $this->domainNames = $domainNames;
  101. }
  102. /**
  103. * @return string[]
  104. */
  105. public function getDomainNames()
  106. {
  107. return $this->domainNames;
  108. }
  109. /**
  110. * @param string
  111. */
  112. public function setExpireTime($expireTime)
  113. {
  114. $this->expireTime = $expireTime;
  115. }
  116. /**
  117. * @return string
  118. */
  119. public function getExpireTime()
  120. {
  121. return $this->expireTime;
  122. }
  123. /**
  124. * @param string
  125. */
  126. public function setId($id)
  127. {
  128. $this->id = $id;
  129. }
  130. /**
  131. * @return string
  132. */
  133. public function getId()
  134. {
  135. return $this->id;
  136. }
  137. /**
  138. * @param ManagedCertificate
  139. */
  140. public function setManagedCertificate(ManagedCertificate $managedCertificate)
  141. {
  142. $this->managedCertificate = $managedCertificate;
  143. }
  144. /**
  145. * @return ManagedCertificate
  146. */
  147. public function getManagedCertificate()
  148. {
  149. return $this->managedCertificate;
  150. }
  151. /**
  152. * @param string
  153. */
  154. public function setName($name)
  155. {
  156. $this->name = $name;
  157. }
  158. /**
  159. * @return string
  160. */
  161. public function getName()
  162. {
  163. return $this->name;
  164. }
  165. /**
  166. * @param string[]
  167. */
  168. public function setVisibleDomainMappings($visibleDomainMappings)
  169. {
  170. $this->visibleDomainMappings = $visibleDomainMappings;
  171. }
  172. /**
  173. * @return string[]
  174. */
  175. public function getVisibleDomainMappings()
  176. {
  177. return $this->visibleDomainMappings;
  178. }
  179. }
  180. // Adding a class alias for backwards compatibility with the previous class name.
  181. class_alias(AuthorizedCertificate::class, 'Google_Service_Appengine_AuthorizedCertificate');