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