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\Docs; 19 20class TableRow extends \Google\Collection 21{ 22 protected $collection_key = 'tableCells'; 23 /** 24 * @var int 25 */ 26 public $endIndex; 27 /** 28 * @var int 29 */ 30 public $startIndex; 31 /** 32 * @var string[] 33 */ 34 public $suggestedDeletionIds; 35 /** 36 * @var string[] 37 */ 38 public $suggestedInsertionIds; 39 protected $suggestedTableRowStyleChangesType = SuggestedTableRowStyle::class; 40 protected $suggestedTableRowStyleChangesDataType = 'map'; 41 protected $tableCellsType = TableCell::class; 42 protected $tableCellsDataType = 'array'; 43 protected $tableRowStyleType = TableRowStyle::class; 44 protected $tableRowStyleDataType = ''; 45 46 /** 47 * @param int 48 */ 49 public function setEndIndex($endIndex) 50 { 51 $this->endIndex = $endIndex; 52 } 53 /** 54 * @return int 55 */ 56 public function getEndIndex() 57 { 58 return $this->endIndex; 59 } 60 /** 61 * @param int 62 */ 63 public function setStartIndex($startIndex) 64 { 65 $this->startIndex = $startIndex; 66 } 67 /** 68 * @return int 69 */ 70 public function getStartIndex() 71 { 72 return $this->startIndex; 73 } 74 /** 75 * @param string[] 76 */ 77 public function setSuggestedDeletionIds($suggestedDeletionIds) 78 { 79 $this->suggestedDeletionIds = $suggestedDeletionIds; 80 } 81 /** 82 * @return string[] 83 */ 84 public function getSuggestedDeletionIds() 85 { 86 return $this->suggestedDeletionIds; 87 } 88 /** 89 * @param string[] 90 */ 91 public function setSuggestedInsertionIds($suggestedInsertionIds) 92 { 93 $this->suggestedInsertionIds = $suggestedInsertionIds; 94 } 95 /** 96 * @return string[] 97 */ 98 public function getSuggestedInsertionIds() 99 { 100 return $this->suggestedInsertionIds; 101 } 102 /** 103 * @param SuggestedTableRowStyle[] 104 */ 105 public function setSuggestedTableRowStyleChanges($suggestedTableRowStyleChanges) 106 { 107 $this->suggestedTableRowStyleChanges = $suggestedTableRowStyleChanges; 108 } 109 /** 110 * @return SuggestedTableRowStyle[] 111 */ 112 public function getSuggestedTableRowStyleChanges() 113 { 114 return $this->suggestedTableRowStyleChanges; 115 } 116 /** 117 * @param TableCell[] 118 */ 119 public function setTableCells($tableCells) 120 { 121 $this->tableCells = $tableCells; 122 } 123 /** 124 * @return TableCell[] 125 */ 126 public function getTableCells() 127 { 128 return $this->tableCells; 129 } 130 /** 131 * @param TableRowStyle 132 */ 133 public function setTableRowStyle(TableRowStyle $tableRowStyle) 134 { 135 $this->tableRowStyle = $tableRowStyle; 136 } 137 /** 138 * @return TableRowStyle 139 */ 140 public function getTableRowStyle() 141 { 142 return $this->tableRowStyle; 143 } 144} 145 146// Adding a class alias for backwards compatibility with the previous class name. 147class_alias(TableRow::class, 'Google_Service_Docs_TableRow'); 148