class Azure::CognitiveServices::VisualSearch::V1_0::Models::Filters
A key-value object consisting of filters that may be specified to limit the results returned by the API. Current available filters: site.
Attributes
site[RW]
@return [String] The URL of the site to return similar images and similar products from. (e.g., “www.bing.com”, “bing.com”).
Private Class Methods
mapper()
click to toggle source
Mapper for Filters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_visualsearch/models/filters.rb, line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Filters', type: { name: 'Composite', class_name: 'Filters', model_properties: { site: { client_side_validation: true, required: false, serialized_name: 'site', type: { name: 'String' } } } } } end