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 |
|
---|
18 | namespace Google\Service\CloudSearch;
|
---|
19 |
|
---|
20 | class AppsDynamiteSharedDecoratedText extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $bottomLabel;
|
---|
26 | protected $buttonType = AppsDynamiteSharedButton::class;
|
---|
27 | protected $buttonDataType = '';
|
---|
28 | public $button;
|
---|
29 | protected $endIconType = AppsDynamiteSharedIcon::class;
|
---|
30 | protected $endIconDataType = '';
|
---|
31 | public $endIcon;
|
---|
32 | protected $iconType = AppsDynamiteSharedIcon::class;
|
---|
33 | protected $iconDataType = '';
|
---|
34 | public $icon;
|
---|
35 | protected $onClickType = AppsDynamiteSharedOnClick::class;
|
---|
36 | protected $onClickDataType = '';
|
---|
37 | public $onClick;
|
---|
38 | protected $startIconType = AppsDynamiteSharedIcon::class;
|
---|
39 | protected $startIconDataType = '';
|
---|
40 | public $startIcon;
|
---|
41 | protected $switchControlType = AppsDynamiteSharedDecoratedTextSwitchControl::class;
|
---|
42 | protected $switchControlDataType = '';
|
---|
43 | public $switchControl;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $text;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $topLabel;
|
---|
52 | /**
|
---|
53 | * @var bool
|
---|
54 | */
|
---|
55 | public $wrapText;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * @param string
|
---|
59 | */
|
---|
60 | public function setBottomLabel($bottomLabel)
|
---|
61 | {
|
---|
62 | $this->bottomLabel = $bottomLabel;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return string
|
---|
66 | */
|
---|
67 | public function getBottomLabel()
|
---|
68 | {
|
---|
69 | return $this->bottomLabel;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param AppsDynamiteSharedButton
|
---|
73 | */
|
---|
74 | public function setButton(AppsDynamiteSharedButton $button)
|
---|
75 | {
|
---|
76 | $this->button = $button;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return AppsDynamiteSharedButton
|
---|
80 | */
|
---|
81 | public function getButton()
|
---|
82 | {
|
---|
83 | return $this->button;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param AppsDynamiteSharedIcon
|
---|
87 | */
|
---|
88 | public function setEndIcon(AppsDynamiteSharedIcon $endIcon)
|
---|
89 | {
|
---|
90 | $this->endIcon = $endIcon;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return AppsDynamiteSharedIcon
|
---|
94 | */
|
---|
95 | public function getEndIcon()
|
---|
96 | {
|
---|
97 | return $this->endIcon;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param AppsDynamiteSharedIcon
|
---|
101 | */
|
---|
102 | public function setIcon(AppsDynamiteSharedIcon $icon)
|
---|
103 | {
|
---|
104 | $this->icon = $icon;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return AppsDynamiteSharedIcon
|
---|
108 | */
|
---|
109 | public function getIcon()
|
---|
110 | {
|
---|
111 | return $this->icon;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param AppsDynamiteSharedOnClick
|
---|
115 | */
|
---|
116 | public function setOnClick(AppsDynamiteSharedOnClick $onClick)
|
---|
117 | {
|
---|
118 | $this->onClick = $onClick;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return AppsDynamiteSharedOnClick
|
---|
122 | */
|
---|
123 | public function getOnClick()
|
---|
124 | {
|
---|
125 | return $this->onClick;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param AppsDynamiteSharedIcon
|
---|
129 | */
|
---|
130 | public function setStartIcon(AppsDynamiteSharedIcon $startIcon)
|
---|
131 | {
|
---|
132 | $this->startIcon = $startIcon;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return AppsDynamiteSharedIcon
|
---|
136 | */
|
---|
137 | public function getStartIcon()
|
---|
138 | {
|
---|
139 | return $this->startIcon;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param AppsDynamiteSharedDecoratedTextSwitchControl
|
---|
143 | */
|
---|
144 | public function setSwitchControl(AppsDynamiteSharedDecoratedTextSwitchControl $switchControl)
|
---|
145 | {
|
---|
146 | $this->switchControl = $switchControl;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return AppsDynamiteSharedDecoratedTextSwitchControl
|
---|
150 | */
|
---|
151 | public function getSwitchControl()
|
---|
152 | {
|
---|
153 | return $this->switchControl;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param string
|
---|
157 | */
|
---|
158 | public function setText($text)
|
---|
159 | {
|
---|
160 | $this->text = $text;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return string
|
---|
164 | */
|
---|
165 | public function getText()
|
---|
166 | {
|
---|
167 | return $this->text;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @param string
|
---|
171 | */
|
---|
172 | public function setTopLabel($topLabel)
|
---|
173 | {
|
---|
174 | $this->topLabel = $topLabel;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @return string
|
---|
178 | */
|
---|
179 | public function getTopLabel()
|
---|
180 | {
|
---|
181 | return $this->topLabel;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @param bool
|
---|
185 | */
|
---|
186 | public function setWrapText($wrapText)
|
---|
187 | {
|
---|
188 | $this->wrapText = $wrapText;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @return bool
|
---|
192 | */
|
---|
193 | public function getWrapText()
|
---|
194 | {
|
---|
195 | return $this->wrapText;
|
---|
196 | }
|
---|
197 | }
|
---|
198 |
|
---|
199 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
200 | class_alias(AppsDynamiteSharedDecoratedText::class, 'Google_Service_CloudSearch_AppsDynamiteSharedDecoratedText');
|
---|