Нема описа

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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_Vault_Hold extends Google_Collection
  18. {
  19. protected $collection_key = 'accounts';
  20. protected $accountsType = 'Google_Service_Vault_HeldAccount';
  21. protected $accountsDataType = 'array';
  22. public $corpus;
  23. public $holdId;
  24. public $name;
  25. protected $orgUnitType = 'Google_Service_Vault_HeldOrgUnit';
  26. protected $orgUnitDataType = '';
  27. protected $queryType = 'Google_Service_Vault_CorpusQuery';
  28. protected $queryDataType = '';
  29. public $updateTime;
  30. /**
  31. * @param Google_Service_Vault_HeldAccount
  32. */
  33. public function setAccounts($accounts)
  34. {
  35. $this->accounts = $accounts;
  36. }
  37. /**
  38. * @return Google_Service_Vault_HeldAccount
  39. */
  40. public function getAccounts()
  41. {
  42. return $this->accounts;
  43. }
  44. public function setCorpus($corpus)
  45. {
  46. $this->corpus = $corpus;
  47. }
  48. public function getCorpus()
  49. {
  50. return $this->corpus;
  51. }
  52. public function setHoldId($holdId)
  53. {
  54. $this->holdId = $holdId;
  55. }
  56. public function getHoldId()
  57. {
  58. return $this->holdId;
  59. }
  60. public function setName($name)
  61. {
  62. $this->name = $name;
  63. }
  64. public function getName()
  65. {
  66. return $this->name;
  67. }
  68. /**
  69. * @param Google_Service_Vault_HeldOrgUnit
  70. */
  71. public function setOrgUnit(Google_Service_Vault_HeldOrgUnit $orgUnit)
  72. {
  73. $this->orgUnit = $orgUnit;
  74. }
  75. /**
  76. * @return Google_Service_Vault_HeldOrgUnit
  77. */
  78. public function getOrgUnit()
  79. {
  80. return $this->orgUnit;
  81. }
  82. /**
  83. * @param Google_Service_Vault_CorpusQuery
  84. */
  85. public function setQuery(Google_Service_Vault_CorpusQuery $query)
  86. {
  87. $this->query = $query;
  88. }
  89. /**
  90. * @return Google_Service_Vault_CorpusQuery
  91. */
  92. public function getQuery()
  93. {
  94. return $this->query;
  95. }
  96. public function setUpdateTime($updateTime)
  97. {
  98. $this->updateTime = $updateTime;
  99. }
  100. public function getUpdateTime()
  101. {
  102. return $this->updateTime;
  103. }
  104. }