azure_cognitiveservices_visualsearch 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch.rb +75 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/images.rb +639 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/action.rb +237 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_offer.rb +211 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_rating.rb +89 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/content_types.rb +20 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/creative_work.rb +190 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/crop_area.rb +92 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/currency.rb +175 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error.rb +116 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_code.rb +20 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_response.rb +98 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_sub_code.rb +25 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/filters.rb +48 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/identifiable.rb +62 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_action.rb +234 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_entity_action.rb +231 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_info.rb +86 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_knowledge.rb +112 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_module_action.rb +244 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_object.rb +326 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_recipes_action.rb +244 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_related_searches_action.rb +244 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_shopping_sources_action.rb +245 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag.rb +182 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag_region.rb +61 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_image_metadata.rb +80 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_module.rb +56 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/intangible.rb +133 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/item_availability.rb +22 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/knowledge_request.rb +49 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/media_object.rb +263 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/normalized_quadrilateral.rb +183 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/offer.rb +231 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/organization.rb +132 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/person.rb +156 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/point2d.rb +154 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/properties_item.rb +59 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/query.rb +101 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/rating.rb +84 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipe.rb +219 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipes_module.rb +56 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/related_searches_module.rb +56 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response.rb +86 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response_base.rb +70 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/safe_search.rb +17 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/structured_value.rb +133 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/thing.rb +151 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/visual_search_request.rb +62 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/module_definition.rb +9 -0
- data/lib/1.0/generated/azure_cognitiveservices_visualsearch/visual_search_client.rb +128 -0
- data/lib/azure_cognitiveservices_visualsearch.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/visualsearch_profile_module.rb +247 -0
- data/lib/profiles/latest/visualsearch_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/visualsearch_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +177 -0
@@ -0,0 +1,326 @@
|
|
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::VisualSearch::V1_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines an image.
|
10
|
+
#
|
11
|
+
class ImageObject < MediaObject
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@_type = "ImageObject"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :_type
|
21
|
+
|
22
|
+
# @return [ImageObject] The URL to a thumbnail of the image.
|
23
|
+
attr_accessor :thumbnail
|
24
|
+
|
25
|
+
# @return [String] The token that you use in a subsequent call to Visual
|
26
|
+
# Search API to get additional information about the image. For
|
27
|
+
# information about using this token, see the imageInsightsToken field
|
28
|
+
# inside the knowledgeRequest request parameter.
|
29
|
+
attr_accessor :image_insights_token
|
30
|
+
|
31
|
+
# @return [ImagesImageMetadata] A count of the number of websites where
|
32
|
+
# you can shop or perform other actions related to the image. For
|
33
|
+
# example, if the image is of an apple pie, this object includes a count
|
34
|
+
# of the number of websites where you can buy an apple pie. To indicate
|
35
|
+
# the number of offers in your UX, include badging such as a shopping
|
36
|
+
# cart icon that contains the count. When the user clicks on the icon,
|
37
|
+
# use imageInisghtsToken in a subsequent Visual Search API call to get
|
38
|
+
# the list of shopping websites.
|
39
|
+
attr_accessor :insights_metadata
|
40
|
+
|
41
|
+
# @return [String] Unique Id for the image.
|
42
|
+
attr_accessor :image_id
|
43
|
+
|
44
|
+
# @return [String] A three-byte hexadecimal number that represents the
|
45
|
+
# color that dominates the image. Use the color as the temporary
|
46
|
+
# background in your client until the image is loaded.
|
47
|
+
attr_accessor :accent_color
|
48
|
+
|
49
|
+
# @return [String] For interal use only.
|
50
|
+
attr_accessor :visual_words
|
51
|
+
|
52
|
+
|
53
|
+
#
|
54
|
+
# Mapper for ImageObject class as Ruby Hash.
|
55
|
+
# This will be used for serialization/deserialization.
|
56
|
+
#
|
57
|
+
def self.mapper()
|
58
|
+
{
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'ImageObject',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'ImageObject',
|
65
|
+
model_properties: {
|
66
|
+
_type: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: '_type',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
id: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'id',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
read_link: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'readLink',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
web_search_url: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'webSearchUrl',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
name: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
read_only: true,
|
105
|
+
serialized_name: 'name',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
url: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
read_only: true,
|
114
|
+
serialized_name: 'url',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
image: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'image',
|
124
|
+
type: {
|
125
|
+
name: 'Composite',
|
126
|
+
class_name: 'ImageObject'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
description: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'description',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
alternate_name: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'alternateName',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
bing_id: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
read_only: true,
|
151
|
+
serialized_name: 'bingId',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
thumbnail_url: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
read_only: true,
|
160
|
+
serialized_name: 'thumbnailUrl',
|
161
|
+
type: {
|
162
|
+
name: 'String'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
provider: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
read_only: true,
|
169
|
+
serialized_name: 'provider',
|
170
|
+
type: {
|
171
|
+
name: 'Sequence',
|
172
|
+
element: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'ThingElementType',
|
176
|
+
type: {
|
177
|
+
name: 'Composite',
|
178
|
+
class_name: 'Thing'
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
},
|
183
|
+
date_published: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
read_only: true,
|
187
|
+
serialized_name: 'datePublished',
|
188
|
+
type: {
|
189
|
+
name: 'String'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
text: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
read_only: true,
|
196
|
+
serialized_name: 'text',
|
197
|
+
type: {
|
198
|
+
name: 'String'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
content_url: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'contentUrl',
|
206
|
+
type: {
|
207
|
+
name: 'String'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
host_page_url: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
read_only: true,
|
214
|
+
serialized_name: 'hostPageUrl',
|
215
|
+
type: {
|
216
|
+
name: 'String'
|
217
|
+
}
|
218
|
+
},
|
219
|
+
content_size: {
|
220
|
+
client_side_validation: true,
|
221
|
+
required: false,
|
222
|
+
read_only: true,
|
223
|
+
serialized_name: 'contentSize',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
encoding_format: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
read_only: true,
|
232
|
+
serialized_name: 'encodingFormat',
|
233
|
+
type: {
|
234
|
+
name: 'String'
|
235
|
+
}
|
236
|
+
},
|
237
|
+
host_page_display_url: {
|
238
|
+
client_side_validation: true,
|
239
|
+
required: false,
|
240
|
+
read_only: true,
|
241
|
+
serialized_name: 'hostPageDisplayUrl',
|
242
|
+
type: {
|
243
|
+
name: 'String'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
width: {
|
247
|
+
client_side_validation: true,
|
248
|
+
required: false,
|
249
|
+
read_only: true,
|
250
|
+
serialized_name: 'width',
|
251
|
+
type: {
|
252
|
+
name: 'Number'
|
253
|
+
}
|
254
|
+
},
|
255
|
+
height: {
|
256
|
+
client_side_validation: true,
|
257
|
+
required: false,
|
258
|
+
read_only: true,
|
259
|
+
serialized_name: 'height',
|
260
|
+
type: {
|
261
|
+
name: 'Number'
|
262
|
+
}
|
263
|
+
},
|
264
|
+
thumbnail: {
|
265
|
+
client_side_validation: true,
|
266
|
+
required: false,
|
267
|
+
read_only: true,
|
268
|
+
serialized_name: 'thumbnail',
|
269
|
+
type: {
|
270
|
+
name: 'Composite',
|
271
|
+
class_name: 'ImageObject'
|
272
|
+
}
|
273
|
+
},
|
274
|
+
image_insights_token: {
|
275
|
+
client_side_validation: true,
|
276
|
+
required: false,
|
277
|
+
read_only: true,
|
278
|
+
serialized_name: 'imageInsightsToken',
|
279
|
+
type: {
|
280
|
+
name: 'String'
|
281
|
+
}
|
282
|
+
},
|
283
|
+
insights_metadata: {
|
284
|
+
client_side_validation: true,
|
285
|
+
required: false,
|
286
|
+
read_only: true,
|
287
|
+
serialized_name: 'insightsMetadata',
|
288
|
+
type: {
|
289
|
+
name: 'Composite',
|
290
|
+
class_name: 'ImagesImageMetadata'
|
291
|
+
}
|
292
|
+
},
|
293
|
+
image_id: {
|
294
|
+
client_side_validation: true,
|
295
|
+
required: false,
|
296
|
+
read_only: true,
|
297
|
+
serialized_name: 'imageId',
|
298
|
+
type: {
|
299
|
+
name: 'String'
|
300
|
+
}
|
301
|
+
},
|
302
|
+
accent_color: {
|
303
|
+
client_side_validation: true,
|
304
|
+
required: false,
|
305
|
+
read_only: true,
|
306
|
+
serialized_name: 'accentColor',
|
307
|
+
type: {
|
308
|
+
name: 'String'
|
309
|
+
}
|
310
|
+
},
|
311
|
+
visual_words: {
|
312
|
+
client_side_validation: true,
|
313
|
+
required: false,
|
314
|
+
read_only: true,
|
315
|
+
serialized_name: 'visualWords',
|
316
|
+
type: {
|
317
|
+
name: 'String'
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
321
|
+
}
|
322
|
+
}
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
@@ -0,0 +1,244 @@
|
|
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::VisualSearch::V1_0
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines an recipe action.
|
10
|
+
#
|
11
|
+
class ImageRecipesAction < ImageAction
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@_type = "ImageRecipesAction"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :_type
|
21
|
+
|
22
|
+
# @return [RecipesModule] A list of recipes related to the image.
|
23
|
+
attr_accessor :data
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ImageRecipesAction class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ImageRecipesAction',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ImageRecipesAction',
|
38
|
+
model_properties: {
|
39
|
+
_type: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: true,
|
42
|
+
serialized_name: '_type',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
read_link: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'readLink',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
web_search_url: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'webSearchUrl',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'name',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
url: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'url',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
image: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'image',
|
97
|
+
type: {
|
98
|
+
name: 'Composite',
|
99
|
+
class_name: 'ImageObject'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
description: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'description',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
alternate_name: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
read_only: true,
|
115
|
+
serialized_name: 'alternateName',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
bing_id: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'bingId',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
thumbnail_url: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'thumbnailUrl',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
provider: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'provider',
|
143
|
+
type: {
|
144
|
+
name: 'Sequence',
|
145
|
+
element: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
serialized_name: 'ThingElementType',
|
149
|
+
type: {
|
150
|
+
name: 'Composite',
|
151
|
+
class_name: 'Thing'
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
},
|
156
|
+
date_published: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
read_only: true,
|
160
|
+
serialized_name: 'datePublished',
|
161
|
+
type: {
|
162
|
+
name: 'String'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
text: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
read_only: true,
|
169
|
+
serialized_name: 'text',
|
170
|
+
type: {
|
171
|
+
name: 'String'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
result: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
read_only: true,
|
178
|
+
serialized_name: 'result',
|
179
|
+
type: {
|
180
|
+
name: 'Sequence',
|
181
|
+
element: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'ThingElementType',
|
185
|
+
type: {
|
186
|
+
name: 'Composite',
|
187
|
+
class_name: 'Thing'
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
},
|
192
|
+
display_name: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
read_only: true,
|
196
|
+
serialized_name: 'displayName',
|
197
|
+
type: {
|
198
|
+
name: 'String'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
is_top_action: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'isTopAction',
|
206
|
+
type: {
|
207
|
+
name: 'Boolean'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
service_url: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
read_only: true,
|
214
|
+
serialized_name: 'serviceUrl',
|
215
|
+
type: {
|
216
|
+
name: 'String'
|
217
|
+
}
|
218
|
+
},
|
219
|
+
action_type: {
|
220
|
+
client_side_validation: true,
|
221
|
+
required: false,
|
222
|
+
read_only: true,
|
223
|
+
serialized_name: 'actionType',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
data: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
read_only: true,
|
232
|
+
serialized_name: 'data',
|
233
|
+
type: {
|
234
|
+
name: 'Composite',
|
235
|
+
class_name: 'RecipesModule'
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|