Sin descripción

FindReplaceRequest.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. class Google_Service_Sheets_FindReplaceRequest extends Google_Model
  18. {
  19. public $allSheets;
  20. public $find;
  21. public $includeFormulas;
  22. public $matchCase;
  23. public $matchEntireCell;
  24. protected $rangeType = 'Google_Service_Sheets_GridRange';
  25. protected $rangeDataType = '';
  26. public $replacement;
  27. public $searchByRegex;
  28. public $sheetId;
  29. public function setAllSheets($allSheets)
  30. {
  31. $this->allSheets = $allSheets;
  32. }
  33. public function getAllSheets()
  34. {
  35. return $this->allSheets;
  36. }
  37. public function setFind($find)
  38. {
  39. $this->find = $find;
  40. }
  41. public function getFind()
  42. {
  43. return $this->find;
  44. }
  45. public function setIncludeFormulas($includeFormulas)
  46. {
  47. $this->includeFormulas = $includeFormulas;
  48. }
  49. public function getIncludeFormulas()
  50. {
  51. return $this->includeFormulas;
  52. }
  53. public function setMatchCase($matchCase)
  54. {
  55. $this->matchCase = $matchCase;
  56. }
  57. public function getMatchCase()
  58. {
  59. return $this->matchCase;
  60. }
  61. public function setMatchEntireCell($matchEntireCell)
  62. {
  63. $this->matchEntireCell = $matchEntireCell;
  64. }
  65. public function getMatchEntireCell()
  66. {
  67. return $this->matchEntireCell;
  68. }
  69. /**
  70. * @param Google_Service_Sheets_GridRange
  71. */
  72. public function setRange(Google_Service_Sheets_GridRange $range)
  73. {
  74. $this->range = $range;
  75. }
  76. /**
  77. * @return Google_Service_Sheets_GridRange
  78. */
  79. public function getRange()
  80. {
  81. return $this->range;
  82. }
  83. public function setReplacement($replacement)
  84. {
  85. $this->replacement = $replacement;
  86. }
  87. public function getReplacement()
  88. {
  89. return $this->replacement;
  90. }
  91. public function setSearchByRegex($searchByRegex)
  92. {
  93. $this->searchByRegex = $searchByRegex;
  94. }
  95. public function getSearchByRegex()
  96. {
  97. return $this->searchByRegex;
  98. }
  99. public function setSheetId($sheetId)
  100. {
  101. $this->sheetId = $sheetId;
  102. }
  103. public function getSheetId()
  104. {
  105. return $this->sheetId;
  106. }
  107. }