azure_cognitiveservices_localsearch 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/1.0/generated/azure_cognitiveservices_localsearch.rb +54 -0
  4. data/lib/1.0/generated/azure_cognitiveservices_localsearch/local.rb +601 -0
  5. data/lib/1.0/generated/azure_cognitiveservices_localsearch/local_search_client.rb +128 -0
  6. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/action.rb +424 -0
  7. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/answer.rb +131 -0
  8. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/creative_work.rb +392 -0
  9. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/entities_entity_presentation_info.rb +127 -0
  10. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/entity_scenario.rb +17 -0
  11. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/entity_type.rb +18 -0
  12. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/error.rb +126 -0
  13. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/error_code.rb +20 -0
  14. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/error_response.rb +154 -0
  15. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/error_sub_code.rb +25 -0
  16. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/geo_coordinates.rb +80 -0
  17. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/identifiable.rb +62 -0
  18. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/intangible.rb +162 -0
  19. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/place.rb +217 -0
  20. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/places.rb +182 -0
  21. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/postal_address.rb +338 -0
  22. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/query_context.rb +150 -0
  23. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/response.rb +150 -0
  24. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/response_base.rb +60 -0
  25. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/response_format.rb +16 -0
  26. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/safe_search.rb +17 -0
  27. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/search_action.rb +464 -0
  28. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/search_response.rb +190 -0
  29. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/search_results_answer.rb +172 -0
  30. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/structured_value.rb +162 -0
  31. data/lib/1.0/generated/azure_cognitiveservices_localsearch/models/thing.rb +174 -0
  32. data/lib/1.0/generated/azure_cognitiveservices_localsearch/module_definition.rb +9 -0
  33. data/lib/azure_cognitiveservices_localsearch.rb +6 -0
  34. data/lib/module_definition.rb +7 -0
  35. data/lib/profiles/latest/localsearch_latest_profile_client.rb +38 -0
  36. data/lib/profiles/latest/localsearch_module_definition.rb +8 -0
  37. data/lib/profiles/latest/modules/localsearch_profile_module.rb +163 -0
  38. data/lib/version.rb +7 -0
  39. metadata +156 -0
@@ -0,0 +1,150 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Defines the query context that Bing used for the request.
10
+ #
11
+ class QueryContext
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+
17
+ def initialize
18
+ @_type = "QueryContext"
19
+ end
20
+
21
+ attr_accessor :_type
22
+
23
+ # @return [String] The query string as specified in the request.
24
+ attr_accessor :original_query
25
+
26
+ # @return [String] The query string used by Bing to perform the query.
27
+ # Bing uses the altered query string if the original query string
28
+ # contained spelling mistakes. For example, if the query string is
29
+ # "saling downwind", the altered query string will be "sailing downwind".
30
+ # This field is included only if the original query string contains a
31
+ # spelling mistake.
32
+ attr_accessor :altered_query
33
+
34
+ # @return [String] AlteredQuery that is formatted for display purpose.
35
+ # The query string in the AlterationDisplayQuery can be html-escaped and
36
+ # can contain hit-highlighting characters
37
+ attr_accessor :alteration_display_query
38
+
39
+ # @return [String] The query string to use to force Bing to use the
40
+ # original string. For example, if the query string is "saling downwind",
41
+ # the override query string will be "+saling downwind". Remember to
42
+ # encode the query string which results in "%2Bsaling+downwind". This
43
+ # field is included only if the original query string contains a spelling
44
+ # mistake.
45
+ attr_accessor :alteration_override_query
46
+
47
+ # @return [Boolean] A Boolean value that indicates whether the specified
48
+ # query has adult intent. The value is true if the query has adult
49
+ # intent; otherwise, false.
50
+ attr_accessor :adult_intent
51
+
52
+ # @return [Boolean] A Boolean value that indicates whether Bing requires
53
+ # the user's location to provide accurate results. If you specified the
54
+ # user's location by using the X-MSEdge-ClientIP and X-Search-Location
55
+ # headers, you can ignore this field. For location aware queries, such as
56
+ # "today's weather" or "restaurants near me" that need the user's
57
+ # location to provide accurate results, this field is set to true. For
58
+ # location aware queries that include the location (for example, "Seattle
59
+ # weather"), this field is set to false. This field is also set to false
60
+ # for queries that are not location aware, such as "best sellers".
61
+ attr_accessor :ask_user_for_location
62
+
63
+ # @return [Boolean]
64
+ attr_accessor :is_transactional
65
+
66
+
67
+ #
68
+ # Mapper for QueryContext class as Ruby Hash.
69
+ # This will be used for serialization/deserialization.
70
+ #
71
+ def self.mapper()
72
+ {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'QueryContext',
76
+ type: {
77
+ name: 'Composite',
78
+ polymorphic_discriminator: '_type',
79
+ uber_parent: 'QueryContext',
80
+ class_name: 'QueryContext',
81
+ model_properties: {
82
+ original_query: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'originalQuery',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ altered_query: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'alteredQuery',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ alteration_display_query: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ read_only: true,
103
+ serialized_name: 'alterationDisplayQuery',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ alteration_override_query: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'alterationOverrideQuery',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ adult_intent: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ read_only: true,
121
+ serialized_name: 'adultIntent',
122
+ type: {
123
+ name: 'Boolean'
124
+ }
125
+ },
126
+ ask_user_for_location: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ read_only: true,
130
+ serialized_name: 'askUserForLocation',
131
+ type: {
132
+ name: 'Boolean'
133
+ }
134
+ },
135
+ is_transactional: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ read_only: true,
139
+ serialized_name: 'isTransactional',
140
+ type: {
141
+ name: 'Boolean'
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,150 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Defines a response. All schemas that return at the root of the response
10
+ # must inherit from this object.
11
+ #
12
+ class Response < Identifiable
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @_type = "Response"
19
+ end
20
+
21
+ attr_accessor :_type
22
+
23
+ # @return [String] The URL that returns this resource.
24
+ attr_accessor :read_link
25
+
26
+ # @return [String] The URL to Bing's search result for this item.
27
+ attr_accessor :web_search_url
28
+
29
+ # @return [Array<Action>]
30
+ attr_accessor :potential_action
31
+
32
+ # @return [Array<Action>]
33
+ attr_accessor :immediate_action
34
+
35
+ # @return [String]
36
+ attr_accessor :preferred_clickthrough_url
37
+
38
+ # @return [String]
39
+ attr_accessor :adaptive_card
40
+
41
+
42
+ #
43
+ # Mapper for Response class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'Response',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'Response',
54
+ model_properties: {
55
+ _type: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: '_type',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ id: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'id',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ read_link: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'readLink',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ web_search_url: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'webSearchUrl',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ potential_action: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'potentialAction',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'ActionElementType',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'Action'
104
+ }
105
+ }
106
+ }
107
+ },
108
+ immediate_action: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'immediateAction',
113
+ type: {
114
+ name: 'Sequence',
115
+ element: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'ActionElementType',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'Action'
122
+ }
123
+ }
124
+ }
125
+ },
126
+ preferred_clickthrough_url: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ read_only: true,
130
+ serialized_name: 'preferredClickthroughUrl',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ adaptive_card: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ read_only: true,
139
+ serialized_name: 'adaptiveCard',
140
+ type: {
141
+ name: 'String'
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,60 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Response base
10
+ #
11
+ class ResponseBase
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["Thing"] = "Thing"
17
+ @@discriminatorMap["Places"] = "Places"
18
+ @@discriminatorMap["SearchResultsAnswer"] = "SearchResultsAnswer"
19
+ @@discriminatorMap["SearchResponse"] = "SearchResponse"
20
+ @@discriminatorMap["PostalAddress"] = "PostalAddress"
21
+ @@discriminatorMap["Place"] = "Place"
22
+ @@discriminatorMap["Action"] = "Action"
23
+ @@discriminatorMap["Response"] = "Response"
24
+ @@discriminatorMap["Identifiable"] = "Identifiable"
25
+ @@discriminatorMap["Answer"] = "Answer"
26
+ @@discriminatorMap["ErrorResponse"] = "ErrorResponse"
27
+ @@discriminatorMap["CreativeWork"] = "CreativeWork"
28
+ @@discriminatorMap["Intangible"] = "Intangible"
29
+ @@discriminatorMap["SearchAction"] = "SearchAction"
30
+ @@discriminatorMap["StructuredValue"] = "StructuredValue"
31
+
32
+ def initialize
33
+ @_type = "ResponseBase"
34
+ end
35
+
36
+ attr_accessor :_type
37
+
38
+
39
+ #
40
+ # Mapper for ResponseBase class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'ResponseBase',
48
+ type: {
49
+ name: 'Composite',
50
+ polymorphic_discriminator: '_type',
51
+ uber_parent: 'ResponseBase',
52
+ class_name: 'ResponseBase',
53
+ model_properties: {
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Defines values for ResponseFormat
10
+ #
11
+ module ResponseFormat
12
+ Json = "Json"
13
+ JsonLd = "JsonLd"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Defines values for SafeSearch
10
+ #
11
+ module SafeSearch
12
+ Off = "Off"
13
+ Moderate = "Moderate"
14
+ Strict = "Strict"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,464 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LocalSearch::V1_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class SearchAction < Action
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @_type = "SearchAction"
19
+ end
20
+
21
+ attr_accessor :_type
22
+
23
+ # @return [String]
24
+ attr_accessor :display_text
25
+
26
+ # @return [String]
27
+ attr_accessor :query
28
+
29
+ # @return [Array<Answer>]
30
+ attr_accessor :rich_content
31
+
32
+ # @return [String]
33
+ attr_accessor :formatting_rule_id
34
+
35
+
36
+ #
37
+ # Mapper for SearchAction class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'SearchAction',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'SearchAction',
48
+ model_properties: {
49
+ _type: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: '_type',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ read_link: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'readLink',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ web_search_url: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'webSearchUrl',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ potential_action: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'potentialAction',
89
+ type: {
90
+ name: 'Sequence',
91
+ element: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'ActionElementType',
95
+ type: {
96
+ name: 'Composite',
97
+ class_name: 'Action'
98
+ }
99
+ }
100
+ }
101
+ },
102
+ immediate_action: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'immediateAction',
107
+ type: {
108
+ name: 'Sequence',
109
+ element: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'ActionElementType',
113
+ type: {
114
+ name: 'Composite',
115
+ class_name: 'Action'
116
+ }
117
+ }
118
+ }
119
+ },
120
+ preferred_clickthrough_url: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'preferredClickthroughUrl',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ adaptive_card: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'adaptiveCard',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ name: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ read_only: true,
142
+ serialized_name: 'name',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ url: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ read_only: true,
151
+ serialized_name: 'url',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ },
156
+ entity_presentation_info: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ read_only: true,
160
+ serialized_name: 'entityPresentationInfo',
161
+ type: {
162
+ name: 'Composite',
163
+ polymorphic_discriminator: '_type',
164
+ uber_parent: 'EntitiesEntityPresentationInfo',
165
+ class_name: 'EntitiesEntityPresentationInfo'
166
+ }
167
+ },
168
+ thumbnail_url: {
169
+ client_side_validation: true,
170
+ required: false,
171
+ read_only: true,
172
+ serialized_name: 'thumbnailUrl',
173
+ type: {
174
+ name: 'String'
175
+ }
176
+ },
177
+ about: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ read_only: true,
181
+ serialized_name: 'about',
182
+ type: {
183
+ name: 'Sequence',
184
+ element: {
185
+ client_side_validation: true,
186
+ required: false,
187
+ serialized_name: 'ThingElementType',
188
+ type: {
189
+ name: 'Composite',
190
+ class_name: 'Thing'
191
+ }
192
+ }
193
+ }
194
+ },
195
+ mentions: {
196
+ client_side_validation: true,
197
+ required: false,
198
+ read_only: true,
199
+ serialized_name: 'mentions',
200
+ type: {
201
+ name: 'Sequence',
202
+ element: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'ThingElementType',
206
+ type: {
207
+ name: 'Composite',
208
+ class_name: 'Thing'
209
+ }
210
+ }
211
+ }
212
+ },
213
+ provider: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ read_only: true,
217
+ serialized_name: 'provider',
218
+ type: {
219
+ name: 'Sequence',
220
+ element: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'ThingElementType',
224
+ type: {
225
+ name: 'Composite',
226
+ class_name: 'Thing'
227
+ }
228
+ }
229
+ }
230
+ },
231
+ creator: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ read_only: true,
235
+ serialized_name: 'creator',
236
+ type: {
237
+ name: 'Composite',
238
+ class_name: 'Thing'
239
+ }
240
+ },
241
+ text: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ read_only: true,
245
+ serialized_name: 'text',
246
+ type: {
247
+ name: 'String'
248
+ }
249
+ },
250
+ discussion_url: {
251
+ client_side_validation: true,
252
+ required: false,
253
+ read_only: true,
254
+ serialized_name: 'discussionUrl',
255
+ type: {
256
+ name: 'String'
257
+ }
258
+ },
259
+ comment_count: {
260
+ client_side_validation: true,
261
+ required: false,
262
+ read_only: true,
263
+ serialized_name: 'commentCount',
264
+ type: {
265
+ name: 'Number'
266
+ }
267
+ },
268
+ main_entity: {
269
+ client_side_validation: true,
270
+ required: false,
271
+ read_only: true,
272
+ serialized_name: 'mainEntity',
273
+ type: {
274
+ name: 'Composite',
275
+ class_name: 'Thing'
276
+ }
277
+ },
278
+ head_line: {
279
+ client_side_validation: true,
280
+ required: false,
281
+ read_only: true,
282
+ serialized_name: 'headLine',
283
+ type: {
284
+ name: 'String'
285
+ }
286
+ },
287
+ copyright_holder: {
288
+ client_side_validation: true,
289
+ required: false,
290
+ read_only: true,
291
+ serialized_name: 'copyrightHolder',
292
+ type: {
293
+ name: 'Composite',
294
+ class_name: 'Thing'
295
+ }
296
+ },
297
+ copyright_year: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ read_only: true,
301
+ serialized_name: 'copyrightYear',
302
+ type: {
303
+ name: 'Number'
304
+ }
305
+ },
306
+ disclaimer: {
307
+ client_side_validation: true,
308
+ required: false,
309
+ read_only: true,
310
+ serialized_name: 'disclaimer',
311
+ type: {
312
+ name: 'String'
313
+ }
314
+ },
315
+ is_accessible_for_free: {
316
+ client_side_validation: true,
317
+ required: false,
318
+ read_only: true,
319
+ serialized_name: 'isAccessibleForFree',
320
+ type: {
321
+ name: 'Boolean'
322
+ }
323
+ },
324
+ genre: {
325
+ client_side_validation: true,
326
+ required: false,
327
+ read_only: true,
328
+ serialized_name: 'genre',
329
+ type: {
330
+ name: 'Sequence',
331
+ element: {
332
+ client_side_validation: true,
333
+ required: false,
334
+ serialized_name: 'StringElementType',
335
+ type: {
336
+ name: 'String'
337
+ }
338
+ }
339
+ }
340
+ },
341
+ is_family_friendly: {
342
+ client_side_validation: true,
343
+ required: false,
344
+ read_only: true,
345
+ serialized_name: 'isFamilyFriendly',
346
+ type: {
347
+ name: 'Boolean'
348
+ }
349
+ },
350
+ location: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ read_only: true,
354
+ serialized_name: 'location',
355
+ type: {
356
+ name: 'Sequence',
357
+ element: {
358
+ client_side_validation: true,
359
+ required: false,
360
+ serialized_name: 'PlaceElementType',
361
+ type: {
362
+ name: 'Composite',
363
+ class_name: 'Place'
364
+ }
365
+ }
366
+ }
367
+ },
368
+ result: {
369
+ client_side_validation: true,
370
+ required: false,
371
+ read_only: true,
372
+ serialized_name: 'result',
373
+ type: {
374
+ name: 'Sequence',
375
+ element: {
376
+ client_side_validation: true,
377
+ required: false,
378
+ serialized_name: 'ThingElementType',
379
+ type: {
380
+ name: 'Composite',
381
+ class_name: 'Thing'
382
+ }
383
+ }
384
+ }
385
+ },
386
+ display_name: {
387
+ client_side_validation: true,
388
+ required: false,
389
+ read_only: true,
390
+ serialized_name: 'displayName',
391
+ type: {
392
+ name: 'String'
393
+ }
394
+ },
395
+ is_top_action: {
396
+ client_side_validation: true,
397
+ required: false,
398
+ read_only: true,
399
+ serialized_name: 'isTopAction',
400
+ type: {
401
+ name: 'Boolean'
402
+ }
403
+ },
404
+ service_url: {
405
+ client_side_validation: true,
406
+ required: false,
407
+ read_only: true,
408
+ serialized_name: 'serviceUrl',
409
+ type: {
410
+ name: 'String'
411
+ }
412
+ },
413
+ display_text: {
414
+ client_side_validation: true,
415
+ required: false,
416
+ read_only: true,
417
+ serialized_name: 'displayText',
418
+ type: {
419
+ name: 'String'
420
+ }
421
+ },
422
+ query: {
423
+ client_side_validation: true,
424
+ required: false,
425
+ read_only: true,
426
+ serialized_name: 'query',
427
+ type: {
428
+ name: 'String'
429
+ }
430
+ },
431
+ rich_content: {
432
+ client_side_validation: true,
433
+ required: false,
434
+ read_only: true,
435
+ serialized_name: 'richContent',
436
+ type: {
437
+ name: 'Sequence',
438
+ element: {
439
+ client_side_validation: true,
440
+ required: false,
441
+ serialized_name: 'AnswerElementType',
442
+ type: {
443
+ name: 'Composite',
444
+ class_name: 'Answer'
445
+ }
446
+ }
447
+ }
448
+ },
449
+ formatting_rule_id: {
450
+ client_side_validation: true,
451
+ required: false,
452
+ read_only: true,
453
+ serialized_name: 'formattingRuleId',
454
+ type: {
455
+ name: 'String'
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ end
462
+ end
463
+ end
464
+ end