Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionMappings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb

Overview

Definition of the link mapping of prediction.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#gradeString

Returns The grade of the link mapping.

Returns:

  • (String)

    The grade of the link mapping.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb', line 19

def grade
  @grade
end

#reasonString

Returns The reason of the link mapping.

Returns:

  • (String)

    The reason of the link mapping.



22
23
24
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb', line 22

def reason
  @reason
end

#scoreString

Returns The score of the link mapping.

Returns:

  • (String)

    The score of the link mapping.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_mappings.rb', line 16

def score
  @score
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 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