# 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 JSON object containing information about the request, such as filters
    # for the resulting actions.
    #
    class KnowledgeRequest

      include MsRestAzure

      # @return [Filters] A key-value object consisting of filters that may be
      # specified to limit the results returned by the API.
      attr_accessor :filters


      #
      # Mapper for KnowledgeRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'KnowledgeRequest',
          type: {
            name: 'Composite',
            class_name: 'KnowledgeRequest',
            model_properties: {
              filters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'filters',
                type: {
                  name: 'Composite',
                  class_name: 'Filters'
                }
              }
            }
          }
        }
      end
    end
  end
end
