1 | <?php |
||
28 | class Navigation |
||
29 | { |
||
30 | /** |
||
31 | * @var string |
||
32 | * @JMS\Type("string") |
||
33 | * @JMS\SerializedName("_id") |
||
34 | */ |
||
35 | public $id; |
||
36 | /** |
||
37 | * @var string |
||
38 | * @JMS\Type("string") |
||
39 | */ |
||
40 | public $name; |
||
41 | /** |
||
42 | * @var string |
||
43 | * @JMS\Type("string") |
||
44 | */ |
||
45 | public $type; |
||
46 | /** |
||
47 | * @var Sort |
||
48 | * @JMS\Type("GroupByInc\API\Model\Sort") |
||
49 | */ |
||
50 | public $sort; |
||
51 | /** |
||
52 | * @var string |
||
53 | * @JMS\Type("string") |
||
54 | */ |
||
55 | public $displayName; |
||
56 | /** |
||
57 | * @var bool |
||
58 | * @JMS\Type("boolean") |
||
59 | */ |
||
60 | public $range = false; |
||
61 | /** |
||
62 | * @var bool |
||
63 | * @JMS\Type("boolean") |
||
64 | */ |
||
65 | public $or = false; |
||
66 | /** |
||
67 | * @var bool |
||
68 | * @JMS\Type("boolean") |
||
69 | */ |
||
70 | public $moreRefinements = false; |
||
71 | /** |
||
72 | * @var Refinement[] |
||
73 | * @JMS\Type("array<GroupByInc\API\Model\Refinement>") |
||
74 | */ |
||
75 | public $refinements = array(); |
||
76 | /** |
||
77 | * @var Metadata[] |
||
78 | * @JMS\Type("array<GroupByInc\API\Model\Metadata>") |
||
79 | */ |
||
80 | public $metadata = array(); |
||
81 | |||
82 | /** |
||
83 | * @var bool |
||
84 | * @JMS\Type("boolean") |
||
85 | */ |
||
86 | public $ignored = false; |
||
87 | |||
88 | /** |
||
89 | * @return string The name of the dynamic navigation attribute. |
||
90 | */ |
||
91 | public function getName() |
||
95 | |||
96 | /** |
||
97 | * @param string $name The name of the navigation. |
||
98 | * |
||
99 | * @return Navigation |
||
100 | */ |
||
101 | public function setName($name) |
||
106 | |||
107 | /** |
||
108 | * @return string The human readable label for this navigation. |
||
109 | */ |
||
110 | public function getDisplayName() |
||
114 | |||
115 | /** |
||
116 | * @param string $displayName Set the display name. |
||
117 | * |
||
118 | * @return Navigation |
||
119 | */ |
||
120 | public function setDisplayName($displayName) |
||
125 | |||
126 | /** |
||
127 | * @return Refinement[] A list of refinement values that represent the ways in which you can filter data. |
||
128 | */ |
||
129 | public function &getRefinements() |
||
133 | |||
134 | /** |
||
135 | * @param Refinement[] $refinements The refinement values. |
||
136 | * |
||
137 | * @return Navigation |
||
138 | */ |
||
139 | public function setRefinements($refinements) |
||
144 | |||
145 | /** |
||
146 | * @return string A MD5 of the name, which means that this navigation ID is unique. |
||
147 | */ |
||
148 | public function getId() |
||
152 | |||
153 | /** |
||
154 | * @param string $id Set the ID. |
||
155 | * |
||
156 | * @return Navigation |
||
157 | */ |
||
158 | public function setId($id) |
||
163 | |||
164 | /** |
||
165 | * @return bool True if this navigation is a of type range. |
||
166 | */ |
||
167 | public function isRange() |
||
171 | |||
172 | /** |
||
173 | * @param bool $range Set range. |
||
174 | * |
||
175 | * @return Navigation |
||
176 | */ |
||
177 | public function setRange($range) |
||
182 | |||
183 | /** |
||
184 | * @return bool Is this dynamic navigation going to be treated as an OR field in the bridge layer. |
||
185 | */ |
||
186 | public function isOr() |
||
190 | |||
191 | /** |
||
192 | * @param bool $or Set whether this is an OR field. |
||
193 | * |
||
194 | * @return Navigation |
||
195 | */ |
||
196 | public function setOr($or) |
||
201 | |||
202 | /** |
||
203 | * @return string The type of navigation. |
||
204 | */ |
||
205 | public function getType() |
||
209 | |||
210 | /** |
||
211 | * @param string $type Set the type of navigation. |
||
212 | * |
||
213 | * @return Navigation |
||
214 | */ |
||
215 | public function setType($type) |
||
220 | |||
221 | /** |
||
222 | * @return Sort The sort option for this navigation. |
||
223 | */ |
||
224 | public function getSort() |
||
228 | |||
229 | /** |
||
230 | * @param Sort $sort Set the sort type. |
||
231 | * |
||
232 | * @return Navigation |
||
233 | */ |
||
234 | public function setSort($sort) |
||
239 | |||
240 | /** |
||
241 | * @return Metadata[] A list of metadata elements. |
||
242 | */ |
||
243 | public function getMetadata() |
||
247 | |||
248 | /** |
||
249 | * @param Metadata[] $metadata Set the metadata. |
||
250 | * |
||
251 | * @return Navigation |
||
252 | */ |
||
253 | public function setMetadata($metadata) |
||
258 | |||
259 | /** |
||
260 | * @return bool True if this navigation has more refinement values than the ones returned, false otherwise. |
||
261 | */ |
||
262 | public function getMoreRefinements() |
||
266 | |||
267 | /** |
||
268 | * @param bool $moreRefinements True if this navigation has more refinement values than the ones returned. |
||
269 | * |
||
270 | * @return $this |
||
271 | */ |
||
272 | public function setMoreRefinements($moreRefinements) |
||
277 | |||
278 | /** |
||
279 | * @return bool |
||
280 | */ |
||
281 | public function getIgnored() |
||
285 | |||
286 | /** |
||
287 | * @param bool $ignored |
||
288 | * |
||
289 | * @return $this |
||
290 | */ |
||
291 | public function setIgnored($ignored) |
||
296 | |||
297 | } |