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 Export extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $cloudStorageSinkType = CloudStorageSink::class;
|
---|
23 | protected $cloudStorageSinkDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $createTime;
|
---|
28 | protected $exportOptionsType = ExportOptions::class;
|
---|
29 | protected $exportOptionsDataType = '';
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $id;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $matterId;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $name;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $parentExportId;
|
---|
46 | protected $queryType = Query::class;
|
---|
47 | protected $queryDataType = '';
|
---|
48 | protected $requesterType = UserInfo::class;
|
---|
49 | protected $requesterDataType = '';
|
---|
50 | protected $statsType = ExportStats::class;
|
---|
51 | protected $statsDataType = '';
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $status;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * @param CloudStorageSink
|
---|
59 | */
|
---|
60 | public function setCloudStorageSink(CloudStorageSink $cloudStorageSink)
|
---|
61 | {
|
---|
62 | $this->cloudStorageSink = $cloudStorageSink;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return CloudStorageSink
|
---|
66 | */
|
---|
67 | public function getCloudStorageSink()
|
---|
68 | {
|
---|
69 | return $this->cloudStorageSink;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param string
|
---|
73 | */
|
---|
74 | public function setCreateTime($createTime)
|
---|
75 | {
|
---|
76 | $this->createTime = $createTime;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return string
|
---|
80 | */
|
---|
81 | public function getCreateTime()
|
---|
82 | {
|
---|
83 | return $this->createTime;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param ExportOptions
|
---|
87 | */
|
---|
88 | public function setExportOptions(ExportOptions $exportOptions)
|
---|
89 | {
|
---|
90 | $this->exportOptions = $exportOptions;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return ExportOptions
|
---|
94 | */
|
---|
95 | public function getExportOptions()
|
---|
96 | {
|
---|
97 | return $this->exportOptions;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param string
|
---|
101 | */
|
---|
102 | public function setId($id)
|
---|
103 | {
|
---|
104 | $this->id = $id;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return string
|
---|
108 | */
|
---|
109 | public function getId()
|
---|
110 | {
|
---|
111 | return $this->id;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param string
|
---|
115 | */
|
---|
116 | public function setMatterId($matterId)
|
---|
117 | {
|
---|
118 | $this->matterId = $matterId;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return string
|
---|
122 | */
|
---|
123 | public function getMatterId()
|
---|
124 | {
|
---|
125 | return $this->matterId;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param string
|
---|
129 | */
|
---|
130 | public function setName($name)
|
---|
131 | {
|
---|
132 | $this->name = $name;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return string
|
---|
136 | */
|
---|
137 | public function getName()
|
---|
138 | {
|
---|
139 | return $this->name;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param string
|
---|
143 | */
|
---|
144 | public function setParentExportId($parentExportId)
|
---|
145 | {
|
---|
146 | $this->parentExportId = $parentExportId;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return string
|
---|
150 | */
|
---|
151 | public function getParentExportId()
|
---|
152 | {
|
---|
153 | return $this->parentExportId;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param Query
|
---|
157 | */
|
---|
158 | public function setQuery(Query $query)
|
---|
159 | {
|
---|
160 | $this->query = $query;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return Query
|
---|
164 | */
|
---|
165 | public function getQuery()
|
---|
166 | {
|
---|
167 | return $this->query;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @param UserInfo
|
---|
171 | */
|
---|
172 | public function setRequester(UserInfo $requester)
|
---|
173 | {
|
---|
174 | $this->requester = $requester;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @return UserInfo
|
---|
178 | */
|
---|
179 | public function getRequester()
|
---|
180 | {
|
---|
181 | return $this->requester;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @param ExportStats
|
---|
185 | */
|
---|
186 | public function setStats(ExportStats $stats)
|
---|
187 | {
|
---|
188 | $this->stats = $stats;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @return ExportStats
|
---|
192 | */
|
---|
193 | public function getStats()
|
---|
194 | {
|
---|
195 | return $this->stats;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @param string
|
---|
199 | */
|
---|
200 | public function setStatus($status)
|
---|
201 | {
|
---|
202 | $this->status = $status;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @return string
|
---|
206 | */
|
---|
207 | public function getStatus()
|
---|
208 | {
|
---|
209 | return $this->status;
|
---|
210 | }
|
---|
211 | }
|
---|
212 |
|
---|
213 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
214 | class_alias(Export::class, 'Google_Service_Vault_Export');
|
---|