# 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
    #
    # The definition of a prediction distribution.
    #
    class PredictionDistributionDefinitionDistributionsItem

      include MsRestAzure

      # @return [Integer] Score threshold.
      attr_accessor :score_threshold

      # @return [Integer] Number of positives.
      attr_accessor :positives

      # @return [Integer] Number of negatives.
      attr_accessor :negatives

      # @return [Integer] Number of positives above threshold.
      attr_accessor :positives_above_threshold

      # @return [Integer] Number of negatives above threshold.
      attr_accessor :negatives_above_threshold


      #
      # Mapper for PredictionDistributionDefinitionDistributionsItem class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PredictionDistributionDefinition_distributionsItem',
          type: {
            name: 'Composite',
            class_name: 'PredictionDistributionDefinitionDistributionsItem',
            model_properties: {
              score_threshold: {
                client_side_validation: true,
                required: false,
                serialized_name: 'scoreThreshold',
                type: {
                  name: 'Number'
                }
              },
              positives: {
                client_side_validation: true,
                required: false,
                serialized_name: 'positives',
                type: {
                  name: 'Number'
                }
              },
              negatives: {
                client_side_validation: true,
                required: false,
                serialized_name: 'negatives',
                type: {
                  name: 'Number'
                }
              },
              positives_above_threshold: {
                client_side_validation: true,
                required: false,
                serialized_name: 'positivesAboveThreshold',
                type: {
                  name: 'Number'
                }
              },
              negatives_above_threshold: {
                client_side_validation: true,
                required: false,
                serialized_name: 'negativesAboveThreshold',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
