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\Sheets; 19 20class Borders extends \Google\Model 21{ 22 protected $bottomType = Border::class; 23 protected $bottomDataType = ''; 24 protected $leftType = Border::class; 25 protected $leftDataType = ''; 26 protected $rightType = Border::class; 27 protected $rightDataType = ''; 28 protected $topType = Border::class; 29 protected $topDataType = ''; 30 31 /** 32 * @param Border 33 */ 34 public function setBottom(Border $bottom) 35 { 36 $this->bottom = $bottom; 37 } 38 /** 39 * @return Border 40 */ 41 public function getBottom() 42 { 43 return $this->bottom; 44 } 45 /** 46 * @param Border 47 */ 48 public function setLeft(Border $left) 49 { 50 $this->left = $left; 51 } 52 /** 53 * @return Border 54 */ 55 public function getLeft() 56 { 57 return $this->left; 58 } 59 /** 60 * @param Border 61 */ 62 public function setRight(Border $right) 63 { 64 $this->right = $right; 65 } 66 /** 67 * @return Border 68 */ 69 public function getRight() 70 { 71 return $this->right; 72 } 73 /** 74 * @param Border 75 */ 76 public function setTop(Border $top) 77 { 78 $this->top = $top; 79 } 80 /** 81 * @return Border 82 */ 83 public function getTop() 84 { 85 return $this->top; 86 } 87} 88 89// Adding a class alias for backwards compatibility with the previous class name. 90class_alias(Borders::class, 'Google_Service_Sheets_Borders'); 91