# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CognitiveServices::VisualSearch::V1_0
  module Models
    #
    # A key-value object consisting of filters that may be specified to limit
    # the results returned by the API. Current available filters: site.
    #
    class Filters

      include MsRestAzure

      # @return [String] The URL of the site to return similar images and
      # similar products from. (e.g., "www.bing.com", "bing.com").
      attr_accessor :site


      #
      # Mapper for Filters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end
