Class RangeThreshold
RangeThreshold
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class RangeThreshold : Threshold, IEquatable<Threshold>, IEquatable<RangeThreshold>
Constructors
RangeThreshold()
Initializes a new instance of the RangeThreshold class.
Declaration
protected RangeThreshold()
RangeThreshold(RangeThreshold.TypeEnum, Nullable<Single>, Nullable<Single>, Nullable<Boolean>, Nullable<CheckStatusLevel>, Nullable<Boolean>)
Initializes a new instance of the RangeThreshold class.
Declaration
public RangeThreshold(RangeThreshold.TypeEnum type = default(RangeThreshold.TypeEnum), float? min = null, float? max = null, bool? within = null, CheckStatusLevel? level = null, bool? allValues = null)
Parameters
Type | Name | Description |
---|---|---|
RangeThreshold.TypeEnum | type | type (required) (default to TypeEnum.Range). |
System.Nullable<System.Single> | min | min (required). |
System.Nullable<System.Single> | max | max (required). |
System.Nullable<System.Boolean> | within | within (required). |
System.Nullable<CheckStatusLevel> | level | |
System.Nullable<System.Boolean> | allValues |
Properties
Max
Gets or Sets Max
Declaration
public float? Max { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
Min
Gets or Sets Min
Declaration
public float? Min { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
Type
Gets or Sets Type
Declaration
public RangeThreshold.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
RangeThreshold.TypeEnum |
Within
Gets or Sets Within
Declaration
public bool? Within { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Methods
Equals(RangeThreshold)
Returns true if RangeThreshold instances are equal
Declaration
public bool Equals(RangeThreshold input)
Parameters
Type | Name | Description |
---|---|---|
RangeThreshold | input | Instance of RangeThreshold 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Implements
IEquatable<>
IEquatable<>