Class: Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb
Overview
Defines an image tile.
Instance Attribute Summary collapse
-
#image ⇒ ImageObject
The image’s thumbnail.
-
#query ⇒ Query
more images of the subject.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TrendingImagesTile class as Ruby Hash.
Instance Attribute Details
#image ⇒ ImageObject
Returns The image’s thumbnail.
23 24 25 |
# File 'lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb', line 23 def image @image end |
#query ⇒ Query
more images of the subject. For example, if the category is Popular People Searches, then the thumbnail is of a popular person. The query would return a Bing search results page with more images of that person.
20 21 22 |
# File 'lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb', line 20 def query @query end |
Class Method Details
.mapper ⇒ Object
Mapper for TrendingImagesTile class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TrendingImages/Tile', type: { name: 'Composite', class_name: 'TrendingImagesTile', model_properties: { query: { client_side_validation: true, required: true, serialized_name: 'query', type: { name: 'Composite', class_name: 'Query' } }, image: { client_side_validation: true, required: true, serialized_name: 'image', type: { name: 'Composite', class_name: 'ImageObject' } } } } } end |