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 DimensionProperties extends \Google\Collection
21{
22  protected $collection_key = 'developerMetadata';
23  protected $dataSourceColumnReferenceType = DataSourceColumnReference::class;
24  protected $dataSourceColumnReferenceDataType = '';
25  protected $developerMetadataType = DeveloperMetadata::class;
26  protected $developerMetadataDataType = 'array';
27  /**
28   * @var bool
29   */
30  public $hiddenByFilter;
31  /**
32   * @var bool
33   */
34  public $hiddenByUser;
35  /**
36   * @var int
37   */
38  public $pixelSize;
39
40  /**
41   * @param DataSourceColumnReference
42   */
43  public function setDataSourceColumnReference(DataSourceColumnReference $dataSourceColumnReference)
44  {
45    $this->dataSourceColumnReference = $dataSourceColumnReference;
46  }
47  /**
48   * @return DataSourceColumnReference
49   */
50  public function getDataSourceColumnReference()
51  {
52    return $this->dataSourceColumnReference;
53  }
54  /**
55   * @param DeveloperMetadata[]
56   */
57  public function setDeveloperMetadata($developerMetadata)
58  {
59    $this->developerMetadata = $developerMetadata;
60  }
61  /**
62   * @return DeveloperMetadata[]
63   */
64  public function getDeveloperMetadata()
65  {
66    return $this->developerMetadata;
67  }
68  /**
69   * @param bool
70   */
71  public function setHiddenByFilter($hiddenByFilter)
72  {
73    $this->hiddenByFilter = $hiddenByFilter;
74  }
75  /**
76   * @return bool
77   */
78  public function getHiddenByFilter()
79  {
80    return $this->hiddenByFilter;
81  }
82  /**
83   * @param bool
84   */
85  public function setHiddenByUser($hiddenByUser)
86  {
87    $this->hiddenByUser = $hiddenByUser;
88  }
89  /**
90   * @return bool
91   */
92  public function getHiddenByUser()
93  {
94    return $this->hiddenByUser;
95  }
96  /**
97   * @param int
98   */
99  public function setPixelSize($pixelSize)
100  {
101    $this->pixelSize = $pixelSize;
102  }
103  /**
104   * @return int
105   */
106  public function getPixelSize()
107  {
108    return $this->pixelSize;
109  }
110}
111
112// Adding a class alias for backwards compatibility with the previous class name.
113class_alias(DimensionProperties::class, 'Google_Service_Sheets_DimensionProperties');
114