GoogleAppsCardV1TextInput.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. namespace Google\Service\HangoutsChat;
  18. class GoogleAppsCardV1TextInput extends \Google\Model
  19. {
  20. protected $autoCompleteActionType = GoogleAppsCardV1Action::class;
  21. protected $autoCompleteActionDataType = '';
  22. /**
  23. * @var string
  24. */
  25. public $hintText;
  26. protected $initialSuggestionsType = GoogleAppsCardV1Suggestions::class;
  27. protected $initialSuggestionsDataType = '';
  28. /**
  29. * @var string
  30. */
  31. public $label;
  32. /**
  33. * @var string
  34. */
  35. public $name;
  36. protected $onChangeActionType = GoogleAppsCardV1Action::class;
  37. protected $onChangeActionDataType = '';
  38. /**
  39. * @var string
  40. */
  41. public $type;
  42. /**
  43. * @var string
  44. */
  45. public $value;
  46. /**
  47. * @param GoogleAppsCardV1Action
  48. */
  49. public function setAutoCompleteAction(GoogleAppsCardV1Action $autoCompleteAction)
  50. {
  51. $this->autoCompleteAction = $autoCompleteAction;
  52. }
  53. /**
  54. * @return GoogleAppsCardV1Action
  55. */
  56. public function getAutoCompleteAction()
  57. {
  58. return $this->autoCompleteAction;
  59. }
  60. /**
  61. * @param string
  62. */
  63. public function setHintText($hintText)
  64. {
  65. $this->hintText = $hintText;
  66. }
  67. /**
  68. * @return string
  69. */
  70. public function getHintText()
  71. {
  72. return $this->hintText;
  73. }
  74. /**
  75. * @param GoogleAppsCardV1Suggestions
  76. */
  77. public function setInitialSuggestions(GoogleAppsCardV1Suggestions $initialSuggestions)
  78. {
  79. $this->initialSuggestions = $initialSuggestions;
  80. }
  81. /**
  82. * @return GoogleAppsCardV1Suggestions
  83. */
  84. public function getInitialSuggestions()
  85. {
  86. return $this->initialSuggestions;
  87. }
  88. /**
  89. * @param string
  90. */
  91. public function setLabel($label)
  92. {
  93. $this->label = $label;
  94. }
  95. /**
  96. * @return string
  97. */
  98. public function getLabel()
  99. {
  100. return $this->label;
  101. }
  102. /**
  103. * @param string
  104. */
  105. public function setName($name)
  106. {
  107. $this->name = $name;
  108. }
  109. /**
  110. * @return string
  111. */
  112. public function getName()
  113. {
  114. return $this->name;
  115. }
  116. /**
  117. * @param GoogleAppsCardV1Action
  118. */
  119. public function setOnChangeAction(GoogleAppsCardV1Action $onChangeAction)
  120. {
  121. $this->onChangeAction = $onChangeAction;
  122. }
  123. /**
  124. * @return GoogleAppsCardV1Action
  125. */
  126. public function getOnChangeAction()
  127. {
  128. return $this->onChangeAction;
  129. }
  130. /**
  131. * @param string
  132. */
  133. public function setType($type)
  134. {
  135. $this->type = $type;
  136. }
  137. /**
  138. * @return string
  139. */
  140. public function getType()
  141. {
  142. return $this->type;
  143. }
  144. /**
  145. * @param string
  146. */
  147. public function setValue($value)
  148. {
  149. $this->value = $value;
  150. }
  151. /**
  152. * @return string
  153. */
  154. public function getValue()
  155. {
  156. return $this->value;
  157. }
  158. }
  159. // Adding a class alias for backwards compatibility with the previous class name.
  160. class_alias(GoogleAppsCardV1TextInput::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1TextInput');