Class: Azure::ARM::CustomerInsights::Models::KpiThresholds

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb

Overview

Defines the KPI Threshold limits.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#increasing_kpiBoolean

Returns Whether or not the KPI is an increasing KPI.

Returns:

  • (Boolean)

    Whether or not the KPI is an increasing KPI.



22
23
24
# File 'lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb', line 22

def increasing_kpi
  @increasing_kpi
end

#lower_limitObject

Returns The lower threshold limit.

Returns:

  • The lower threshold limit.



16
17
18
# File 'lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb', line 16

def lower_limit
  @lower_limit
end

#upper_limitObject

Returns The upper threshold limit.

Returns:

  • The upper threshold limit.



19
20
21
# File 'lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb', line 19

def upper_limit
  @upper_limit
end

Class Method Details

.mapperObject

Mapper for KpiThresholds 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
# File 'lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'KpiThresholds',
    type: {
      name: 'Composite',
      class_name: 'KpiThresholds',
      model_properties: {
        lower_limit: {
          required: true,
          serialized_name: 'lowerLimit',
          type: {
            name: 'Number'
          }
        },
        upper_limit: {
          required: true,
          serialized_name: 'upperLimit',
          type: {
            name: 'Number'
          }
        },
        increasing_kpi: {
          required: true,
          serialized_name: 'increasingKpi',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end