[f9c482b] | 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\StreetViewPublish;
|
---|
| 19 |
|
---|
| 20 | class Pose extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var float
|
---|
| 24 | */
|
---|
| 25 | public $accuracyMeters;
|
---|
| 26 | public $altitude;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $gpsRecordTimestampUnixEpoch;
|
---|
| 31 | public $heading;
|
---|
| 32 | protected $latLngPairType = LatLng::class;
|
---|
| 33 | protected $latLngPairDataType = '';
|
---|
| 34 | protected $levelType = Level::class;
|
---|
| 35 | protected $levelDataType = '';
|
---|
| 36 | public $pitch;
|
---|
| 37 | public $roll;
|
---|
| 38 |
|
---|
| 39 | /**
|
---|
| 40 | * @param float
|
---|
| 41 | */
|
---|
| 42 | public function setAccuracyMeters($accuracyMeters)
|
---|
| 43 | {
|
---|
| 44 | $this->accuracyMeters = $accuracyMeters;
|
---|
| 45 | }
|
---|
| 46 | /**
|
---|
| 47 | * @return float
|
---|
| 48 | */
|
---|
| 49 | public function getAccuracyMeters()
|
---|
| 50 | {
|
---|
| 51 | return $this->accuracyMeters;
|
---|
| 52 | }
|
---|
| 53 | public function setAltitude($altitude)
|
---|
| 54 | {
|
---|
| 55 | $this->altitude = $altitude;
|
---|
| 56 | }
|
---|
| 57 | public function getAltitude()
|
---|
| 58 | {
|
---|
| 59 | return $this->altitude;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @param string
|
---|
| 63 | */
|
---|
| 64 | public function setGpsRecordTimestampUnixEpoch($gpsRecordTimestampUnixEpoch)
|
---|
| 65 | {
|
---|
| 66 | $this->gpsRecordTimestampUnixEpoch = $gpsRecordTimestampUnixEpoch;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @return string
|
---|
| 70 | */
|
---|
| 71 | public function getGpsRecordTimestampUnixEpoch()
|
---|
| 72 | {
|
---|
| 73 | return $this->gpsRecordTimestampUnixEpoch;
|
---|
| 74 | }
|
---|
| 75 | public function setHeading($heading)
|
---|
| 76 | {
|
---|
| 77 | $this->heading = $heading;
|
---|
| 78 | }
|
---|
| 79 | public function getHeading()
|
---|
| 80 | {
|
---|
| 81 | return $this->heading;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @param LatLng
|
---|
| 85 | */
|
---|
| 86 | public function setLatLngPair(LatLng $latLngPair)
|
---|
| 87 | {
|
---|
| 88 | $this->latLngPair = $latLngPair;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @return LatLng
|
---|
| 92 | */
|
---|
| 93 | public function getLatLngPair()
|
---|
| 94 | {
|
---|
| 95 | return $this->latLngPair;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @param Level
|
---|
| 99 | */
|
---|
| 100 | public function setLevel(Level $level)
|
---|
| 101 | {
|
---|
| 102 | $this->level = $level;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return Level
|
---|
| 106 | */
|
---|
| 107 | public function getLevel()
|
---|
| 108 | {
|
---|
| 109 | return $this->level;
|
---|
| 110 | }
|
---|
| 111 | public function setPitch($pitch)
|
---|
| 112 | {
|
---|
| 113 | $this->pitch = $pitch;
|
---|
| 114 | }
|
---|
| 115 | public function getPitch()
|
---|
| 116 | {
|
---|
| 117 | return $this->pitch;
|
---|
| 118 | }
|
---|
| 119 | public function setRoll($roll)
|
---|
| 120 | {
|
---|
| 121 | $this->roll = $roll;
|
---|
| 122 | }
|
---|
| 123 | public function getRoll()
|
---|
| 124 | {
|
---|
| 125 | return $this->roll;
|
---|
| 126 | }
|
---|
| 127 | }
|
---|
| 128 |
|
---|
| 129 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 130 | class_alias(Pose::class, 'Google_Service_StreetViewPublish_Pose');
|
---|