Class: Azure::ARM::CustomerInsights::Models::KpiThresholds
- Inherits:
-
Object
- Object
- Azure::ARM::CustomerInsights::Models::KpiThresholds
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb
Overview
Defines the KPI Threshold limits.
Instance Attribute Summary collapse
-
#increasing_kpi ⇒ Boolean
Whether or not the KPI is an increasing KPI.
-
#lower_limit ⇒ Object
The lower threshold limit.
-
#upper_limit ⇒ Object
The upper threshold limit.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KpiThresholds class as Ruby Hash.
Instance Attribute Details
#increasing_kpi ⇒ Boolean
Returns 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_limit ⇒ Object
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_limit ⇒ Object
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
.mapper ⇒ Object
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 |