source: vendor/google/apiclient-services/src/CloudSearch/WidgetMarkup.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.0 KB
Line 
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\CloudSearch;
19
20class WidgetMarkup extends \Google\Collection
21{
22 protected $collection_key = 'buttons';
23 protected $buttonsType = Button::class;
24 protected $buttonsDataType = 'array';
25 protected $dateTimePickerType = DateTimePicker::class;
26 protected $dateTimePickerDataType = '';
27 protected $dividerType = Divider::class;
28 protected $dividerDataType = '';
29 protected $gridType = Grid::class;
30 protected $gridDataType = '';
31 /**
32 * @var string
33 */
34 public $horizontalAlignment;
35 protected $imageType = Image::class;
36 protected $imageDataType = '';
37 protected $imageKeyValueType = ImageKeyValue::class;
38 protected $imageKeyValueDataType = '';
39 protected $keyValueType = KeyValue::class;
40 protected $keyValueDataType = '';
41 protected $menuType = Menu::class;
42 protected $menuDataType = '';
43 protected $selectionControlType = SelectionControl::class;
44 protected $selectionControlDataType = '';
45 protected $textFieldType = TextField::class;
46 protected $textFieldDataType = '';
47 protected $textKeyValueType = TextKeyValue::class;
48 protected $textKeyValueDataType = '';
49 protected $textParagraphType = TextParagraph::class;
50 protected $textParagraphDataType = '';
51
52 /**
53 * @param Button[]
54 */
55 public function setButtons($buttons)
56 {
57 $this->buttons = $buttons;
58 }
59 /**
60 * @return Button[]
61 */
62 public function getButtons()
63 {
64 return $this->buttons;
65 }
66 /**
67 * @param DateTimePicker
68 */
69 public function setDateTimePicker(DateTimePicker $dateTimePicker)
70 {
71 $this->dateTimePicker = $dateTimePicker;
72 }
73 /**
74 * @return DateTimePicker
75 */
76 public function getDateTimePicker()
77 {
78 return $this->dateTimePicker;
79 }
80 /**
81 * @param Divider
82 */
83 public function setDivider(Divider $divider)
84 {
85 $this->divider = $divider;
86 }
87 /**
88 * @return Divider
89 */
90 public function getDivider()
91 {
92 return $this->divider;
93 }
94 /**
95 * @param Grid
96 */
97 public function setGrid(Grid $grid)
98 {
99 $this->grid = $grid;
100 }
101 /**
102 * @return Grid
103 */
104 public function getGrid()
105 {
106 return $this->grid;
107 }
108 /**
109 * @param string
110 */
111 public function setHorizontalAlignment($horizontalAlignment)
112 {
113 $this->horizontalAlignment = $horizontalAlignment;
114 }
115 /**
116 * @return string
117 */
118 public function getHorizontalAlignment()
119 {
120 return $this->horizontalAlignment;
121 }
122 /**
123 * @param Image
124 */
125 public function setImage(Image $image)
126 {
127 $this->image = $image;
128 }
129 /**
130 * @return Image
131 */
132 public function getImage()
133 {
134 return $this->image;
135 }
136 /**
137 * @param ImageKeyValue
138 */
139 public function setImageKeyValue(ImageKeyValue $imageKeyValue)
140 {
141 $this->imageKeyValue = $imageKeyValue;
142 }
143 /**
144 * @return ImageKeyValue
145 */
146 public function getImageKeyValue()
147 {
148 return $this->imageKeyValue;
149 }
150 /**
151 * @param KeyValue
152 */
153 public function setKeyValue(KeyValue $keyValue)
154 {
155 $this->keyValue = $keyValue;
156 }
157 /**
158 * @return KeyValue
159 */
160 public function getKeyValue()
161 {
162 return $this->keyValue;
163 }
164 /**
165 * @param Menu
166 */
167 public function setMenu(Menu $menu)
168 {
169 $this->menu = $menu;
170 }
171 /**
172 * @return Menu
173 */
174 public function getMenu()
175 {
176 return $this->menu;
177 }
178 /**
179 * @param SelectionControl
180 */
181 public function setSelectionControl(SelectionControl $selectionControl)
182 {
183 $this->selectionControl = $selectionControl;
184 }
185 /**
186 * @return SelectionControl
187 */
188 public function getSelectionControl()
189 {
190 return $this->selectionControl;
191 }
192 /**
193 * @param TextField
194 */
195 public function setTextField(TextField $textField)
196 {
197 $this->textField = $textField;
198 }
199 /**
200 * @return TextField
201 */
202 public function getTextField()
203 {
204 return $this->textField;
205 }
206 /**
207 * @param TextKeyValue
208 */
209 public function setTextKeyValue(TextKeyValue $textKeyValue)
210 {
211 $this->textKeyValue = $textKeyValue;
212 }
213 /**
214 * @return TextKeyValue
215 */
216 public function getTextKeyValue()
217 {
218 return $this->textKeyValue;
219 }
220 /**
221 * @param TextParagraph
222 */
223 public function setTextParagraph(TextParagraph $textParagraph)
224 {
225 $this->textParagraph = $textParagraph;
226 }
227 /**
228 * @return TextParagraph
229 */
230 public function getTextParagraph()
231 {
232 return $this->textParagraph;
233 }
234}
235
236// Adding a class alias for backwards compatibility with the previous class name.
237class_alias(WidgetMarkup::class, 'Google_Service_CloudSearch_WidgetMarkup');
Note: See TracBrowser for help on using the repository browser.