# 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::WebSearch::V1_0
  module Models
    #
    # Defines where on the search results page content should be placed and in
    # what order.
    #
    class RankingRankingResponse

      include MsRestAzure

      # @return [RankingRankingGroup] The search results that should be
      # afforded the most visible treatment (for example, displayed above the
      # mainline and sidebar).
      attr_accessor :pole

      # @return [RankingRankingGroup] The search results to display in the
      # mainline.
      attr_accessor :mainline

      # @return [RankingRankingGroup] The search results to display in the
      # sidebar.
      attr_accessor :sidebar


      #
      # Mapper for RankingRankingResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Ranking/RankingResponse',
          type: {
            name: 'Composite',
            class_name: 'RankingRankingResponse',
            model_properties: {
              pole: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'pole',
                type: {
                  name: 'Composite',
                  class_name: 'RankingRankingGroup'
                }
              },
              mainline: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'mainline',
                type: {
                  name: 'Composite',
                  class_name: 'RankingRankingGroup'
                }
              },
              sidebar: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'sidebar',
                type: {
                  name: 'Composite',
                  class_name: 'RankingRankingGroup'
                }
              }
            }
          }
        }
      end
    end
  end
end
