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\Books;
19
20class GeolayerdataGeo extends \Google\Collection
21{
22  protected $collection_key = 'boundary';
23  /**
24   * @var string[]
25   */
26  public $boundary;
27  /**
28   * @var string
29   */
30  public $cachePolicy;
31  /**
32   * @var string
33   */
34  public $countryCode;
35  public $latitude;
36  public $longitude;
37  /**
38   * @var string
39   */
40  public $mapType;
41  protected $viewportType = GeolayerdataGeoViewport::class;
42  protected $viewportDataType = '';
43  /**
44   * @var int
45   */
46  public $zoom;
47
48  /**
49   * @param string[]
50   */
51  public function setBoundary($boundary)
52  {
53    $this->boundary = $boundary;
54  }
55  /**
56   * @return string[]
57   */
58  public function getBoundary()
59  {
60    return $this->boundary;
61  }
62  /**
63   * @param string
64   */
65  public function setCachePolicy($cachePolicy)
66  {
67    $this->cachePolicy = $cachePolicy;
68  }
69  /**
70   * @return string
71   */
72  public function getCachePolicy()
73  {
74    return $this->cachePolicy;
75  }
76  /**
77   * @param string
78   */
79  public function setCountryCode($countryCode)
80  {
81    $this->countryCode = $countryCode;
82  }
83  /**
84   * @return string
85   */
86  public function getCountryCode()
87  {
88    return $this->countryCode;
89  }
90  public function setLatitude($latitude)
91  {
92    $this->latitude = $latitude;
93  }
94  public function getLatitude()
95  {
96    return $this->latitude;
97  }
98  public function setLongitude($longitude)
99  {
100    $this->longitude = $longitude;
101  }
102  public function getLongitude()
103  {
104    return $this->longitude;
105  }
106  /**
107   * @param string
108   */
109  public function setMapType($mapType)
110  {
111    $this->mapType = $mapType;
112  }
113  /**
114   * @return string
115   */
116  public function getMapType()
117  {
118    return $this->mapType;
119  }
120  /**
121   * @param GeolayerdataGeoViewport
122   */
123  public function setViewport(GeolayerdataGeoViewport $viewport)
124  {
125    $this->viewport = $viewport;
126  }
127  /**
128   * @return GeolayerdataGeoViewport
129   */
130  public function getViewport()
131  {
132    return $this->viewport;
133  }
134  /**
135   * @param int
136   */
137  public function setZoom($zoom)
138  {
139    $this->zoom = $zoom;
140  }
141  /**
142   * @return int
143   */
144  public function getZoom()
145  {
146    return $this->zoom;
147  }
148}
149
150// Adding a class alias for backwards compatibility with the previous class name.
151class_alias(GeolayerdataGeo::class, 'Google_Service_Books_GeolayerdataGeo');
152