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\PlayableLocations;
19
20class GoogleMapsPlayablelocationsV3SamplePlayableLocation extends \Google\Collection
21{
22  protected $collection_key = 'types';
23  protected $centerPointType = GoogleTypeLatLng::class;
24  protected $centerPointDataType = '';
25  public $name;
26  public $placeId;
27  public $plusCode;
28  protected $snappedPointType = GoogleTypeLatLng::class;
29  protected $snappedPointDataType = '';
30  public $types;
31
32  /**
33   * @param GoogleTypeLatLng
34   */
35  public function setCenterPoint(GoogleTypeLatLng $centerPoint)
36  {
37    $this->centerPoint = $centerPoint;
38  }
39  /**
40   * @return GoogleTypeLatLng
41   */
42  public function getCenterPoint()
43  {
44    return $this->centerPoint;
45  }
46  public function setName($name)
47  {
48    $this->name = $name;
49  }
50  public function getName()
51  {
52    return $this->name;
53  }
54  public function setPlaceId($placeId)
55  {
56    $this->placeId = $placeId;
57  }
58  public function getPlaceId()
59  {
60    return $this->placeId;
61  }
62  public function setPlusCode($plusCode)
63  {
64    $this->plusCode = $plusCode;
65  }
66  public function getPlusCode()
67  {
68    return $this->plusCode;
69  }
70  /**
71   * @param GoogleTypeLatLng
72   */
73  public function setSnappedPoint(GoogleTypeLatLng $snappedPoint)
74  {
75    $this->snappedPoint = $snappedPoint;
76  }
77  /**
78   * @return GoogleTypeLatLng
79   */
80  public function getSnappedPoint()
81  {
82    return $this->snappedPoint;
83  }
84  public function setTypes($types)
85  {
86    $this->types = $types;
87  }
88  public function getTypes()
89  {
90    return $this->types;
91  }
92}
93
94// Adding a class alias for backwards compatibility with the previous class name.
95class_alias(GoogleMapsPlayablelocationsV3SamplePlayableLocation::class, 'Google_Service_PlayableLocations_GoogleMapsPlayablelocationsV3SamplePlayableLocation');
96