No Description

DnsKey.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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_Dns_DnsKey extends Google_Collection
  18. {
  19. protected $collection_key = 'digests';
  20. public $algorithm;
  21. public $creationTime;
  22. public $description;
  23. protected $digestsType = 'Google_Service_Dns_DnsKeyDigest';
  24. protected $digestsDataType = 'array';
  25. public $id;
  26. public $isActive;
  27. public $keyLength;
  28. public $keyTag;
  29. public $kind;
  30. public $publicKey;
  31. public $type;
  32. public function setAlgorithm($algorithm)
  33. {
  34. $this->algorithm = $algorithm;
  35. }
  36. public function getAlgorithm()
  37. {
  38. return $this->algorithm;
  39. }
  40. public function setCreationTime($creationTime)
  41. {
  42. $this->creationTime = $creationTime;
  43. }
  44. public function getCreationTime()
  45. {
  46. return $this->creationTime;
  47. }
  48. public function setDescription($description)
  49. {
  50. $this->description = $description;
  51. }
  52. public function getDescription()
  53. {
  54. return $this->description;
  55. }
  56. /**
  57. * @param Google_Service_Dns_DnsKeyDigest
  58. */
  59. public function setDigests($digests)
  60. {
  61. $this->digests = $digests;
  62. }
  63. /**
  64. * @return Google_Service_Dns_DnsKeyDigest
  65. */
  66. public function getDigests()
  67. {
  68. return $this->digests;
  69. }
  70. public function setId($id)
  71. {
  72. $this->id = $id;
  73. }
  74. public function getId()
  75. {
  76. return $this->id;
  77. }
  78. public function setIsActive($isActive)
  79. {
  80. $this->isActive = $isActive;
  81. }
  82. public function getIsActive()
  83. {
  84. return $this->isActive;
  85. }
  86. public function setKeyLength($keyLength)
  87. {
  88. $this->keyLength = $keyLength;
  89. }
  90. public function getKeyLength()
  91. {
  92. return $this->keyLength;
  93. }
  94. public function setKeyTag($keyTag)
  95. {
  96. $this->keyTag = $keyTag;
  97. }
  98. public function getKeyTag()
  99. {
  100. return $this->keyTag;
  101. }
  102. public function setKind($kind)
  103. {
  104. $this->kind = $kind;
  105. }
  106. public function getKind()
  107. {
  108. return $this->kind;
  109. }
  110. public function setPublicKey($publicKey)
  111. {
  112. $this->publicKey = $publicKey;
  113. }
  114. public function getPublicKey()
  115. {
  116. return $this->publicKey;
  117. }
  118. public function setType($type)
  119. {
  120. $this->type = $type;
  121. }
  122. public function getType()
  123. {
  124. return $this->type;
  125. }
  126. }