Share via


KpiThresholds Class

Definition

Defines the KPI Threshold limits.

public class KpiThresholds : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CustomerInsights.Models.KpiThresholds>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CustomerInsights.Models.KpiThresholds>
type KpiThresholds = class
    interface IJsonModel<KpiThresholds>
    interface IPersistableModel<KpiThresholds>
Public Class KpiThresholds
Implements IJsonModel(Of KpiThresholds), IPersistableModel(Of KpiThresholds)
Inheritance
KpiThresholds
Implements

Constructors

KpiThresholds(Decimal, Decimal, Boolean)

Initializes a new instance of KpiThresholds.

Properties

IncreasingKpi

Whether or not the KPI is an increasing KPI.

LowerLimit

The lower threshold limit.

UpperLimit

The upper threshold limit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KpiThresholds>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KpiThresholds>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KpiThresholds>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KpiThresholds>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KpiThresholds>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to