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 FilterCriteria extends \Google\Collection
21{
22  protected $collection_key = 'hiddenValues';
23  protected $conditionType = BooleanCondition::class;
24  protected $conditionDataType = '';
25  /**
26   * @var string[]
27   */
28  public $hiddenValues;
29  protected $visibleBackgroundColorType = Color::class;
30  protected $visibleBackgroundColorDataType = '';
31  protected $visibleBackgroundColorStyleType = ColorStyle::class;
32  protected $visibleBackgroundColorStyleDataType = '';
33  protected $visibleForegroundColorType = Color::class;
34  protected $visibleForegroundColorDataType = '';
35  protected $visibleForegroundColorStyleType = ColorStyle::class;
36  protected $visibleForegroundColorStyleDataType = '';
37
38  /**
39   * @param BooleanCondition
40   */
41  public function setCondition(BooleanCondition $condition)
42  {
43    $this->condition = $condition;
44  }
45  /**
46   * @return BooleanCondition
47   */
48  public function getCondition()
49  {
50    return $this->condition;
51  }
52  /**
53   * @param string[]
54   */
55  public function setHiddenValues($hiddenValues)
56  {
57    $this->hiddenValues = $hiddenValues;
58  }
59  /**
60   * @return string[]
61   */
62  public function getHiddenValues()
63  {
64    return $this->hiddenValues;
65  }
66  /**
67   * @param Color
68   */
69  public function setVisibleBackgroundColor(Color $visibleBackgroundColor)
70  {
71    $this->visibleBackgroundColor = $visibleBackgroundColor;
72  }
73  /**
74   * @return Color
75   */
76  public function getVisibleBackgroundColor()
77  {
78    return $this->visibleBackgroundColor;
79  }
80  /**
81   * @param ColorStyle
82   */
83  public function setVisibleBackgroundColorStyle(ColorStyle $visibleBackgroundColorStyle)
84  {
85    $this->visibleBackgroundColorStyle = $visibleBackgroundColorStyle;
86  }
87  /**
88   * @return ColorStyle
89   */
90  public function getVisibleBackgroundColorStyle()
91  {
92    return $this->visibleBackgroundColorStyle;
93  }
94  /**
95   * @param Color
96   */
97  public function setVisibleForegroundColor(Color $visibleForegroundColor)
98  {
99    $this->visibleForegroundColor = $visibleForegroundColor;
100  }
101  /**
102   * @return Color
103   */
104  public function getVisibleForegroundColor()
105  {
106    return $this->visibleForegroundColor;
107  }
108  /**
109   * @param ColorStyle
110   */
111  public function setVisibleForegroundColorStyle(ColorStyle $visibleForegroundColorStyle)
112  {
113    $this->visibleForegroundColorStyle = $visibleForegroundColorStyle;
114  }
115  /**
116   * @return ColorStyle
117   */
118  public function getVisibleForegroundColorStyle()
119  {
120    return $this->visibleForegroundColorStyle;
121  }
122}
123
124// Adding a class alias for backwards compatibility with the previous class name.
125class_alias(FilterCriteria::class, 'Google_Service_Sheets_FilterCriteria');
126