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\StreetViewPublish;
19
20class Photo extends \Google\Collection
21{
22  protected $collection_key = 'places';
23  /**
24   * @var string
25   */
26  public $captureTime;
27  protected $connectionsType = Connection::class;
28  protected $connectionsDataType = 'array';
29  /**
30   * @var string
31   */
32  public $downloadUrl;
33  /**
34   * @var string
35   */
36  public $mapsPublishStatus;
37  protected $photoIdType = PhotoId::class;
38  protected $photoIdDataType = '';
39  protected $placesType = Place::class;
40  protected $placesDataType = 'array';
41  protected $poseType = Pose::class;
42  protected $poseDataType = '';
43  /**
44   * @var string
45   */
46  public $shareLink;
47  /**
48   * @var string
49   */
50  public $thumbnailUrl;
51  /**
52   * @var string
53   */
54  public $transferStatus;
55  protected $uploadReferenceType = UploadRef::class;
56  protected $uploadReferenceDataType = '';
57  /**
58   * @var string
59   */
60  public $uploadTime;
61  /**
62   * @var string
63   */
64  public $viewCount;
65
66  /**
67   * @param string
68   */
69  public function setCaptureTime($captureTime)
70  {
71    $this->captureTime = $captureTime;
72  }
73  /**
74   * @return string
75   */
76  public function getCaptureTime()
77  {
78    return $this->captureTime;
79  }
80  /**
81   * @param Connection[]
82   */
83  public function setConnections($connections)
84  {
85    $this->connections = $connections;
86  }
87  /**
88   * @return Connection[]
89   */
90  public function getConnections()
91  {
92    return $this->connections;
93  }
94  /**
95   * @param string
96   */
97  public function setDownloadUrl($downloadUrl)
98  {
99    $this->downloadUrl = $downloadUrl;
100  }
101  /**
102   * @return string
103   */
104  public function getDownloadUrl()
105  {
106    return $this->downloadUrl;
107  }
108  /**
109   * @param string
110   */
111  public function setMapsPublishStatus($mapsPublishStatus)
112  {
113    $this->mapsPublishStatus = $mapsPublishStatus;
114  }
115  /**
116   * @return string
117   */
118  public function getMapsPublishStatus()
119  {
120    return $this->mapsPublishStatus;
121  }
122  /**
123   * @param PhotoId
124   */
125  public function setPhotoId(PhotoId $photoId)
126  {
127    $this->photoId = $photoId;
128  }
129  /**
130   * @return PhotoId
131   */
132  public function getPhotoId()
133  {
134    return $this->photoId;
135  }
136  /**
137   * @param Place[]
138   */
139  public function setPlaces($places)
140  {
141    $this->places = $places;
142  }
143  /**
144   * @return Place[]
145   */
146  public function getPlaces()
147  {
148    return $this->places;
149  }
150  /**
151   * @param Pose
152   */
153  public function setPose(Pose $pose)
154  {
155    $this->pose = $pose;
156  }
157  /**
158   * @return Pose
159   */
160  public function getPose()
161  {
162    return $this->pose;
163  }
164  /**
165   * @param string
166   */
167  public function setShareLink($shareLink)
168  {
169    $this->shareLink = $shareLink;
170  }
171  /**
172   * @return string
173   */
174  public function getShareLink()
175  {
176    return $this->shareLink;
177  }
178  /**
179   * @param string
180   */
181  public function setThumbnailUrl($thumbnailUrl)
182  {
183    $this->thumbnailUrl = $thumbnailUrl;
184  }
185  /**
186   * @return string
187   */
188  public function getThumbnailUrl()
189  {
190    return $this->thumbnailUrl;
191  }
192  /**
193   * @param string
194   */
195  public function setTransferStatus($transferStatus)
196  {
197    $this->transferStatus = $transferStatus;
198  }
199  /**
200   * @return string
201   */
202  public function getTransferStatus()
203  {
204    return $this->transferStatus;
205  }
206  /**
207   * @param UploadRef
208   */
209  public function setUploadReference(UploadRef $uploadReference)
210  {
211    $this->uploadReference = $uploadReference;
212  }
213  /**
214   * @return UploadRef
215   */
216  public function getUploadReference()
217  {
218    return $this->uploadReference;
219  }
220  /**
221   * @param string
222   */
223  public function setUploadTime($uploadTime)
224  {
225    $this->uploadTime = $uploadTime;
226  }
227  /**
228   * @return string
229   */
230  public function getUploadTime()
231  {
232    return $this->uploadTime;
233  }
234  /**
235   * @param string
236   */
237  public function setViewCount($viewCount)
238  {
239    $this->viewCount = $viewCount;
240  }
241  /**
242   * @return string
243   */
244  public function getViewCount()
245  {
246    return $this->viewCount;
247  }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(Photo::class, 'Google_Service_StreetViewPublish_Photo');
252