class Azure::CustomerInsights::Mgmt::V2017_01_01::Models::KpiThresholds

Defines the KPI Threshold limits.

Attributes

increasing_kpi[RW]

@return [Boolean] Whether or not the KPI is an increasing KPI.

lower_limit[RW]

@return The lower threshold limit.

upper_limit[RW]

@return The upper threshold limit.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KpiThresholds',
    type: {
      name: 'Composite',
      class_name: 'KpiThresholds',
      model_properties: {
        lower_limit: {
          client_side_validation: true,
          required: true,
          serialized_name: 'lowerLimit',
          type: {
            name: 'Number'
          }
        },
        upper_limit: {
          client_side_validation: true,
          required: true,
          serialized_name: 'upperLimit',
          type: {
            name: 'Number'
          }
        },
        increasing_kpi: {
          client_side_validation: true,
          required: true,
          serialized_name: 'increasingKpi',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end