# 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::CustomerInsights::Mgmt::V2017_04_26
  module Models
    #
    # Definition of the link mapping of prediction.
    #
    class PredictionMappings

      include MsRestAzure

      # @return [String] The score of the link mapping.
      attr_accessor :score

      # @return [String] The grade of the link mapping.
      attr_accessor :grade

      # @return [String] The reason of the link mapping.
      attr_accessor :reason


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