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\SemanticTile; 19 20class TerrainTile extends \Google\Model 21{ 22 protected $coordinatesType = TileCoordinates::class; 23 protected $coordinatesDataType = ''; 24 protected $firstDerivativeType = FirstDerivativeElevationGrid::class; 25 protected $firstDerivativeDataType = ''; 26 public $name; 27 protected $secondDerivativeType = SecondDerivativeElevationGrid::class; 28 protected $secondDerivativeDataType = ''; 29 30 /** 31 * @param TileCoordinates 32 */ 33 public function setCoordinates(TileCoordinates $coordinates) 34 { 35 $this->coordinates = $coordinates; 36 } 37 /** 38 * @return TileCoordinates 39 */ 40 public function getCoordinates() 41 { 42 return $this->coordinates; 43 } 44 /** 45 * @param FirstDerivativeElevationGrid 46 */ 47 public function setFirstDerivative(FirstDerivativeElevationGrid $firstDerivative) 48 { 49 $this->firstDerivative = $firstDerivative; 50 } 51 /** 52 * @return FirstDerivativeElevationGrid 53 */ 54 public function getFirstDerivative() 55 { 56 return $this->firstDerivative; 57 } 58 public function setName($name) 59 { 60 $this->name = $name; 61 } 62 public function getName() 63 { 64 return $this->name; 65 } 66 /** 67 * @param SecondDerivativeElevationGrid 68 */ 69 public function setSecondDerivative(SecondDerivativeElevationGrid $secondDerivative) 70 { 71 $this->secondDerivative = $secondDerivative; 72 } 73 /** 74 * @return SecondDerivativeElevationGrid 75 */ 76 public function getSecondDerivative() 77 { 78 return $this->secondDerivative; 79 } 80} 81 82// Adding a class alias for backwards compatibility with the previous class name. 83class_alias(TerrainTile::class, 'Google_Service_SemanticTile_TerrainTile'); 84