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 |
|
---|
18 | namespace Google\Service\Vault;
|
---|
19 |
|
---|
20 | class CorpusQuery extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $calendarQueryType = HeldCalendarQuery::class;
|
---|
23 | protected $calendarQueryDataType = '';
|
---|
24 | protected $driveQueryType = HeldDriveQuery::class;
|
---|
25 | protected $driveQueryDataType = '';
|
---|
26 | protected $groupsQueryType = HeldGroupsQuery::class;
|
---|
27 | protected $groupsQueryDataType = '';
|
---|
28 | protected $hangoutsChatQueryType = HeldHangoutsChatQuery::class;
|
---|
29 | protected $hangoutsChatQueryDataType = '';
|
---|
30 | protected $mailQueryType = HeldMailQuery::class;
|
---|
31 | protected $mailQueryDataType = '';
|
---|
32 | protected $voiceQueryType = HeldVoiceQuery::class;
|
---|
33 | protected $voiceQueryDataType = '';
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * @param HeldCalendarQuery
|
---|
37 | */
|
---|
38 | public function setCalendarQuery(HeldCalendarQuery $calendarQuery)
|
---|
39 | {
|
---|
40 | $this->calendarQuery = $calendarQuery;
|
---|
41 | }
|
---|
42 | /**
|
---|
43 | * @return HeldCalendarQuery
|
---|
44 | */
|
---|
45 | public function getCalendarQuery()
|
---|
46 | {
|
---|
47 | return $this->calendarQuery;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @param HeldDriveQuery
|
---|
51 | */
|
---|
52 | public function setDriveQuery(HeldDriveQuery $driveQuery)
|
---|
53 | {
|
---|
54 | $this->driveQuery = $driveQuery;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return HeldDriveQuery
|
---|
58 | */
|
---|
59 | public function getDriveQuery()
|
---|
60 | {
|
---|
61 | return $this->driveQuery;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param HeldGroupsQuery
|
---|
65 | */
|
---|
66 | public function setGroupsQuery(HeldGroupsQuery $groupsQuery)
|
---|
67 | {
|
---|
68 | $this->groupsQuery = $groupsQuery;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return HeldGroupsQuery
|
---|
72 | */
|
---|
73 | public function getGroupsQuery()
|
---|
74 | {
|
---|
75 | return $this->groupsQuery;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param HeldHangoutsChatQuery
|
---|
79 | */
|
---|
80 | public function setHangoutsChatQuery(HeldHangoutsChatQuery $hangoutsChatQuery)
|
---|
81 | {
|
---|
82 | $this->hangoutsChatQuery = $hangoutsChatQuery;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return HeldHangoutsChatQuery
|
---|
86 | */
|
---|
87 | public function getHangoutsChatQuery()
|
---|
88 | {
|
---|
89 | return $this->hangoutsChatQuery;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param HeldMailQuery
|
---|
93 | */
|
---|
94 | public function setMailQuery(HeldMailQuery $mailQuery)
|
---|
95 | {
|
---|
96 | $this->mailQuery = $mailQuery;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return HeldMailQuery
|
---|
100 | */
|
---|
101 | public function getMailQuery()
|
---|
102 | {
|
---|
103 | return $this->mailQuery;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param HeldVoiceQuery
|
---|
107 | */
|
---|
108 | public function setVoiceQuery(HeldVoiceQuery $voiceQuery)
|
---|
109 | {
|
---|
110 | $this->voiceQuery = $voiceQuery;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return HeldVoiceQuery
|
---|
114 | */
|
---|
115 | public function getVoiceQuery()
|
---|
116 | {
|
---|
117 | return $this->voiceQuery;
|
---|
118 | }
|
---|
119 | }
|
---|
120 |
|
---|
121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
122 | class_alias(CorpusQuery::class, 'Google_Service_Vault_CorpusQuery');
|
---|