Class ThresholdBase
ThresholdBase
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ThresholdBase : IEquatable<ThresholdBase>
Constructors
ThresholdBase(Nullable<CheckStatusLevel>, Nullable<Boolean>)
Initializes a new instance of the ThresholdBase class.
Declaration
public ThresholdBase(CheckStatusLevel? level = null, bool? allValues = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<CheckStatusLevel> | level | level. |
System.Nullable<System.Boolean> | allValues | If true, only alert if all values meet threshold.. |
Properties
AllValues
If true, only alert if all values meet threshold.
Declaration
public bool? AllValues { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | If true, only alert if all values meet threshold. |
Level
Gets or Sets Level
Declaration
public CheckStatusLevel? Level { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<CheckStatusLevel> |
Methods
Equals(ThresholdBase)
Returns true if ThresholdBase instances are equal
Declaration
public bool Equals(ThresholdBase input)
Parameters
Type | Name | Description |
---|---|---|
ThresholdBase | input | Instance of ThresholdBase to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |