Нема описа

ConcurrentAccessRestriction.php 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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_Books_ConcurrentAccessRestriction extends Google_Model
  18. {
  19. public $deviceAllowed;
  20. public $kind;
  21. public $maxConcurrentDevices;
  22. public $message;
  23. public $nonce;
  24. public $reasonCode;
  25. public $restricted;
  26. public $signature;
  27. public $source;
  28. public $timeWindowSeconds;
  29. public $volumeId;
  30. public function setDeviceAllowed($deviceAllowed)
  31. {
  32. $this->deviceAllowed = $deviceAllowed;
  33. }
  34. public function getDeviceAllowed()
  35. {
  36. return $this->deviceAllowed;
  37. }
  38. public function setKind($kind)
  39. {
  40. $this->kind = $kind;
  41. }
  42. public function getKind()
  43. {
  44. return $this->kind;
  45. }
  46. public function setMaxConcurrentDevices($maxConcurrentDevices)
  47. {
  48. $this->maxConcurrentDevices = $maxConcurrentDevices;
  49. }
  50. public function getMaxConcurrentDevices()
  51. {
  52. return $this->maxConcurrentDevices;
  53. }
  54. public function setMessage($message)
  55. {
  56. $this->message = $message;
  57. }
  58. public function getMessage()
  59. {
  60. return $this->message;
  61. }
  62. public function setNonce($nonce)
  63. {
  64. $this->nonce = $nonce;
  65. }
  66. public function getNonce()
  67. {
  68. return $this->nonce;
  69. }
  70. public function setReasonCode($reasonCode)
  71. {
  72. $this->reasonCode = $reasonCode;
  73. }
  74. public function getReasonCode()
  75. {
  76. return $this->reasonCode;
  77. }
  78. public function setRestricted($restricted)
  79. {
  80. $this->restricted = $restricted;
  81. }
  82. public function getRestricted()
  83. {
  84. return $this->restricted;
  85. }
  86. public function setSignature($signature)
  87. {
  88. $this->signature = $signature;
  89. }
  90. public function getSignature()
  91. {
  92. return $this->signature;
  93. }
  94. public function setSource($source)
  95. {
  96. $this->source = $source;
  97. }
  98. public function getSource()
  99. {
  100. return $this->source;
  101. }
  102. public function setTimeWindowSeconds($timeWindowSeconds)
  103. {
  104. $this->timeWindowSeconds = $timeWindowSeconds;
  105. }
  106. public function getTimeWindowSeconds()
  107. {
  108. return $this->timeWindowSeconds;
  109. }
  110. public function setVolumeId($volumeId)
  111. {
  112. $this->volumeId = $volumeId;
  113. }
  114. public function getVolumeId()
  115. {
  116. return $this->volumeId;
  117. }
  118. }