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 FindReplaceRequest extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $allSheets;
26  /**
27   * @var string
28   */
29  public $find;
30  /**
31   * @var bool
32   */
33  public $includeFormulas;
34  /**
35   * @var bool
36   */
37  public $matchCase;
38  /**
39   * @var bool
40   */
41  public $matchEntireCell;
42  protected $rangeType = GridRange::class;
43  protected $rangeDataType = '';
44  /**
45   * @var string
46   */
47  public $replacement;
48  /**
49   * @var bool
50   */
51  public $searchByRegex;
52  /**
53   * @var int
54   */
55  public $sheetId;
56
57  /**
58   * @param bool
59   */
60  public function setAllSheets($allSheets)
61  {
62    $this->allSheets = $allSheets;
63  }
64  /**
65   * @return bool
66   */
67  public function getAllSheets()
68  {
69    return $this->allSheets;
70  }
71  /**
72   * @param string
73   */
74  public function setFind($find)
75  {
76    $this->find = $find;
77  }
78  /**
79   * @return string
80   */
81  public function getFind()
82  {
83    return $this->find;
84  }
85  /**
86   * @param bool
87   */
88  public function setIncludeFormulas($includeFormulas)
89  {
90    $this->includeFormulas = $includeFormulas;
91  }
92  /**
93   * @return bool
94   */
95  public function getIncludeFormulas()
96  {
97    return $this->includeFormulas;
98  }
99  /**
100   * @param bool
101   */
102  public function setMatchCase($matchCase)
103  {
104    $this->matchCase = $matchCase;
105  }
106  /**
107   * @return bool
108   */
109  public function getMatchCase()
110  {
111    return $this->matchCase;
112  }
113  /**
114   * @param bool
115   */
116  public function setMatchEntireCell($matchEntireCell)
117  {
118    $this->matchEntireCell = $matchEntireCell;
119  }
120  /**
121   * @return bool
122   */
123  public function getMatchEntireCell()
124  {
125    return $this->matchEntireCell;
126  }
127  /**
128   * @param GridRange
129   */
130  public function setRange(GridRange $range)
131  {
132    $this->range = $range;
133  }
134  /**
135   * @return GridRange
136   */
137  public function getRange()
138  {
139    return $this->range;
140  }
141  /**
142   * @param string
143   */
144  public function setReplacement($replacement)
145  {
146    $this->replacement = $replacement;
147  }
148  /**
149   * @return string
150   */
151  public function getReplacement()
152  {
153    return $this->replacement;
154  }
155  /**
156   * @param bool
157   */
158  public function setSearchByRegex($searchByRegex)
159  {
160    $this->searchByRegex = $searchByRegex;
161  }
162  /**
163   * @return bool
164   */
165  public function getSearchByRegex()
166  {
167    return $this->searchByRegex;
168  }
169  /**
170   * @param int
171   */
172  public function setSheetId($sheetId)
173  {
174    $this->sheetId = $sheetId;
175  }
176  /**
177   * @return int
178   */
179  public function getSheetId()
180  {
181    return $this->sheetId;
182  }
183}
184
185// Adding a class alias for backwards compatibility with the previous class name.
186class_alias(FindReplaceRequest::class, 'Google_Service_Sheets_FindReplaceRequest');
187