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