class Azure::CognitiveServices::VisualSearch::V1_0::Models::VisualSearchRequest
A JSON object that contains information about the image to get insights of. Specify this object only in a knowledgeRequest form data.
Attributes
image_info[RW]
@return [ImageInfo] A JSON object that identities the image to get insights of.
knowledge_request[RW]
@return [KnowledgeRequest] A JSON object containing information about the request, such as filters, or a description.
Private Class Methods
mapper()
click to toggle source
Mapper for VisualSearchRequest
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_visualsearch/models/visual_search_request.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VisualSearchRequest', type: { name: 'Composite', class_name: 'VisualSearchRequest', model_properties: { image_info: { client_side_validation: true, required: false, serialized_name: 'imageInfo', type: { name: 'Composite', class_name: 'ImageInfo' } }, knowledge_request: { client_side_validation: true, required: false, serialized_name: 'knowledgeRequest', type: { name: 'Composite', class_name: 'KnowledgeRequest' } } } } } end