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 18namespace Google\Service\Vault; 19 20class Query extends \Google\Model 21{ 22 protected $accountInfoType = AccountInfo::class; 23 protected $accountInfoDataType = ''; 24 /** 25 * @var string 26 */ 27 public $corpus; 28 /** 29 * @var string 30 */ 31 public $dataScope; 32 protected $driveOptionsType = DriveOptions::class; 33 protected $driveOptionsDataType = ''; 34 /** 35 * @var string 36 */ 37 public $endTime; 38 protected $hangoutsChatInfoType = HangoutsChatInfo::class; 39 protected $hangoutsChatInfoDataType = ''; 40 protected $hangoutsChatOptionsType = HangoutsChatOptions::class; 41 protected $hangoutsChatOptionsDataType = ''; 42 protected $mailOptionsType = MailOptions::class; 43 protected $mailOptionsDataType = ''; 44 /** 45 * @var string 46 */ 47 public $method; 48 protected $orgUnitInfoType = OrgUnitInfo::class; 49 protected $orgUnitInfoDataType = ''; 50 /** 51 * @var string 52 */ 53 public $searchMethod; 54 protected $sharedDriveInfoType = SharedDriveInfo::class; 55 protected $sharedDriveInfoDataType = ''; 56 /** 57 * @var string 58 */ 59 public $startTime; 60 protected $teamDriveInfoType = TeamDriveInfo::class; 61 protected $teamDriveInfoDataType = ''; 62 /** 63 * @var string 64 */ 65 public $terms; 66 /** 67 * @var string 68 */ 69 public $timeZone; 70 protected $voiceOptionsType = VoiceOptions::class; 71 protected $voiceOptionsDataType = ''; 72 73 /** 74 * @param AccountInfo 75 */ 76 public function setAccountInfo(AccountInfo $accountInfo) 77 { 78 $this->accountInfo = $accountInfo; 79 } 80 /** 81 * @return AccountInfo 82 */ 83 public function getAccountInfo() 84 { 85 return $this->accountInfo; 86 } 87 /** 88 * @param string 89 */ 90 public function setCorpus($corpus) 91 { 92 $this->corpus = $corpus; 93 } 94 /** 95 * @return string 96 */ 97 public function getCorpus() 98 { 99 return $this->corpus; 100 } 101 /** 102 * @param string 103 */ 104 public function setDataScope($dataScope) 105 { 106 $this->dataScope = $dataScope; 107 } 108 /** 109 * @return string 110 */ 111 public function getDataScope() 112 { 113 return $this->dataScope; 114 } 115 /** 116 * @param DriveOptions 117 */ 118 public function setDriveOptions(DriveOptions $driveOptions) 119 { 120 $this->driveOptions = $driveOptions; 121 } 122 /** 123 * @return DriveOptions 124 */ 125 public function getDriveOptions() 126 { 127 return $this->driveOptions; 128 } 129 /** 130 * @param string 131 */ 132 public function setEndTime($endTime) 133 { 134 $this->endTime = $endTime; 135 } 136 /** 137 * @return string 138 */ 139 public function getEndTime() 140 { 141 return $this->endTime; 142 } 143 /** 144 * @param HangoutsChatInfo 145 */ 146 public function setHangoutsChatInfo(HangoutsChatInfo $hangoutsChatInfo) 147 { 148 $this->hangoutsChatInfo = $hangoutsChatInfo; 149 } 150 /** 151 * @return HangoutsChatInfo 152 */ 153 public function getHangoutsChatInfo() 154 { 155 return $this->hangoutsChatInfo; 156 } 157 /** 158 * @param HangoutsChatOptions 159 */ 160 public function setHangoutsChatOptions(HangoutsChatOptions $hangoutsChatOptions) 161 { 162 $this->hangoutsChatOptions = $hangoutsChatOptions; 163 } 164 /** 165 * @return HangoutsChatOptions 166 */ 167 public function getHangoutsChatOptions() 168 { 169 return $this->hangoutsChatOptions; 170 } 171 /** 172 * @param MailOptions 173 */ 174 public function setMailOptions(MailOptions $mailOptions) 175 { 176 $this->mailOptions = $mailOptions; 177 } 178 /** 179 * @return MailOptions 180 */ 181 public function getMailOptions() 182 { 183 return $this->mailOptions; 184 } 185 /** 186 * @param string 187 */ 188 public function setMethod($method) 189 { 190 $this->method = $method; 191 } 192 /** 193 * @return string 194 */ 195 public function getMethod() 196 { 197 return $this->method; 198 } 199 /** 200 * @param OrgUnitInfo 201 */ 202 public function setOrgUnitInfo(OrgUnitInfo $orgUnitInfo) 203 { 204 $this->orgUnitInfo = $orgUnitInfo; 205 } 206 /** 207 * @return OrgUnitInfo 208 */ 209 public function getOrgUnitInfo() 210 { 211 return $this->orgUnitInfo; 212 } 213 /** 214 * @param string 215 */ 216 public function setSearchMethod($searchMethod) 217 { 218 $this->searchMethod = $searchMethod; 219 } 220 /** 221 * @return string 222 */ 223 public function getSearchMethod() 224 { 225 return $this->searchMethod; 226 } 227 /** 228 * @param SharedDriveInfo 229 */ 230 public function setSharedDriveInfo(SharedDriveInfo $sharedDriveInfo) 231 { 232 $this->sharedDriveInfo = $sharedDriveInfo; 233 } 234 /** 235 * @return SharedDriveInfo 236 */ 237 public function getSharedDriveInfo() 238 { 239 return $this->sharedDriveInfo; 240 } 241 /** 242 * @param string 243 */ 244 public function setStartTime($startTime) 245 { 246 $this->startTime = $startTime; 247 } 248 /** 249 * @return string 250 */ 251 public function getStartTime() 252 { 253 return $this->startTime; 254 } 255 /** 256 * @param TeamDriveInfo 257 */ 258 public function setTeamDriveInfo(TeamDriveInfo $teamDriveInfo) 259 { 260 $this->teamDriveInfo = $teamDriveInfo; 261 } 262 /** 263 * @return TeamDriveInfo 264 */ 265 public function getTeamDriveInfo() 266 { 267 return $this->teamDriveInfo; 268 } 269 /** 270 * @param string 271 */ 272 public function setTerms($terms) 273 { 274 $this->terms = $terms; 275 } 276 /** 277 * @return string 278 */ 279 public function getTerms() 280 { 281 return $this->terms; 282 } 283 /** 284 * @param string 285 */ 286 public function setTimeZone($timeZone) 287 { 288 $this->timeZone = $timeZone; 289 } 290 /** 291 * @return string 292 */ 293 public function getTimeZone() 294 { 295 return $this->timeZone; 296 } 297 /** 298 * @param VoiceOptions 299 */ 300 public function setVoiceOptions(VoiceOptions $voiceOptions) 301 { 302 $this->voiceOptions = $voiceOptions; 303 } 304 /** 305 * @return VoiceOptions 306 */ 307 public function getVoiceOptions() 308 { 309 return $this->voiceOptions; 310 } 311} 312 313// Adding a class alias for backwards compatibility with the previous class name. 314class_alias(Query::class, 'Google_Service_Vault_Query'); 315