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 Sheet extends \Google\Collection 21{ 22 protected $collection_key = 'slicers'; 23 protected $bandedRangesType = BandedRange::class; 24 protected $bandedRangesDataType = 'array'; 25 protected $basicFilterType = BasicFilter::class; 26 protected $basicFilterDataType = ''; 27 protected $chartsType = EmbeddedChart::class; 28 protected $chartsDataType = 'array'; 29 protected $columnGroupsType = DimensionGroup::class; 30 protected $columnGroupsDataType = 'array'; 31 protected $conditionalFormatsType = ConditionalFormatRule::class; 32 protected $conditionalFormatsDataType = 'array'; 33 protected $dataType = GridData::class; 34 protected $dataDataType = 'array'; 35 protected $developerMetadataType = DeveloperMetadata::class; 36 protected $developerMetadataDataType = 'array'; 37 protected $filterViewsType = FilterView::class; 38 protected $filterViewsDataType = 'array'; 39 protected $mergesType = GridRange::class; 40 protected $mergesDataType = 'array'; 41 protected $propertiesType = SheetProperties::class; 42 protected $propertiesDataType = ''; 43 protected $protectedRangesType = ProtectedRange::class; 44 protected $protectedRangesDataType = 'array'; 45 protected $rowGroupsType = DimensionGroup::class; 46 protected $rowGroupsDataType = 'array'; 47 protected $slicersType = Slicer::class; 48 protected $slicersDataType = 'array'; 49 50 /** 51 * @param BandedRange[] 52 */ 53 public function setBandedRanges($bandedRanges) 54 { 55 $this->bandedRanges = $bandedRanges; 56 } 57 /** 58 * @return BandedRange[] 59 */ 60 public function getBandedRanges() 61 { 62 return $this->bandedRanges; 63 } 64 /** 65 * @param BasicFilter 66 */ 67 public function setBasicFilter(BasicFilter $basicFilter) 68 { 69 $this->basicFilter = $basicFilter; 70 } 71 /** 72 * @return BasicFilter 73 */ 74 public function getBasicFilter() 75 { 76 return $this->basicFilter; 77 } 78 /** 79 * @param EmbeddedChart[] 80 */ 81 public function setCharts($charts) 82 { 83 $this->charts = $charts; 84 } 85 /** 86 * @return EmbeddedChart[] 87 */ 88 public function getCharts() 89 { 90 return $this->charts; 91 } 92 /** 93 * @param DimensionGroup[] 94 */ 95 public function setColumnGroups($columnGroups) 96 { 97 $this->columnGroups = $columnGroups; 98 } 99 /** 100 * @return DimensionGroup[] 101 */ 102 public function getColumnGroups() 103 { 104 return $this->columnGroups; 105 } 106 /** 107 * @param ConditionalFormatRule[] 108 */ 109 public function setConditionalFormats($conditionalFormats) 110 { 111 $this->conditionalFormats = $conditionalFormats; 112 } 113 /** 114 * @return ConditionalFormatRule[] 115 */ 116 public function getConditionalFormats() 117 { 118 return $this->conditionalFormats; 119 } 120 /** 121 * @param GridData[] 122 */ 123 public function setData($data) 124 { 125 $this->data = $data; 126 } 127 /** 128 * @return GridData[] 129 */ 130 public function getData() 131 { 132 return $this->data; 133 } 134 /** 135 * @param DeveloperMetadata[] 136 */ 137 public function setDeveloperMetadata($developerMetadata) 138 { 139 $this->developerMetadata = $developerMetadata; 140 } 141 /** 142 * @return DeveloperMetadata[] 143 */ 144 public function getDeveloperMetadata() 145 { 146 return $this->developerMetadata; 147 } 148 /** 149 * @param FilterView[] 150 */ 151 public function setFilterViews($filterViews) 152 { 153 $this->filterViews = $filterViews; 154 } 155 /** 156 * @return FilterView[] 157 */ 158 public function getFilterViews() 159 { 160 return $this->filterViews; 161 } 162 /** 163 * @param GridRange[] 164 */ 165 public function setMerges($merges) 166 { 167 $this->merges = $merges; 168 } 169 /** 170 * @return GridRange[] 171 */ 172 public function getMerges() 173 { 174 return $this->merges; 175 } 176 /** 177 * @param SheetProperties 178 */ 179 public function setProperties(SheetProperties $properties) 180 { 181 $this->properties = $properties; 182 } 183 /** 184 * @return SheetProperties 185 */ 186 public function getProperties() 187 { 188 return $this->properties; 189 } 190 /** 191 * @param ProtectedRange[] 192 */ 193 public function setProtectedRanges($protectedRanges) 194 { 195 $this->protectedRanges = $protectedRanges; 196 } 197 /** 198 * @return ProtectedRange[] 199 */ 200 public function getProtectedRanges() 201 { 202 return $this->protectedRanges; 203 } 204 /** 205 * @param DimensionGroup[] 206 */ 207 public function setRowGroups($rowGroups) 208 { 209 $this->rowGroups = $rowGroups; 210 } 211 /** 212 * @return DimensionGroup[] 213 */ 214 public function getRowGroups() 215 { 216 return $this->rowGroups; 217 } 218 /** 219 * @param Slicer[] 220 */ 221 public function setSlicers($slicers) 222 { 223 $this->slicers = $slicers; 224 } 225 /** 226 * @return Slicer[] 227 */ 228 public function getSlicers() 229 { 230 return $this->slicers; 231 } 232} 233 234// Adding a class alias for backwards compatibility with the previous class name. 235class_alias(Sheet::class, 'Google_Service_Sheets_Sheet'); 236