class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionMappings

Definition of the link mapping of prediction.

Attributes

grade[RW]

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

reason[RW]

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

score[RW]

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

Private Class Methods

mapper() click to toggle source

Mapper for PredictionMappings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb, line 29
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