Class LesserThreshold
LesserThreshold
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class LesserThreshold : Threshold, IEquatable<Threshold>, IEquatable<LesserThreshold>
Constructors
LesserThreshold()
Initializes a new instance of the LesserThreshold class.
Declaration
protected LesserThreshold()
LesserThreshold(LesserThreshold.TypeEnum, Nullable<Single>, Nullable<CheckStatusLevel>, Nullable<Boolean>)
Initializes a new instance of the LesserThreshold class.
Declaration
public LesserThreshold(LesserThreshold.TypeEnum type = default(LesserThreshold.TypeEnum), float? value = null, CheckStatusLevel? level = null, bool? allValues = null)
Parameters
Type | Name | Description |
---|---|---|
LesserThreshold.TypeEnum | type | type (required) (default to TypeEnum.Lesser). |
System.Nullable<System.Single> | value | value (required). |
System.Nullable<CheckStatusLevel> | level | |
System.Nullable<System.Boolean> | allValues |
Properties
Type
Gets or Sets Type
Declaration
public LesserThreshold.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
LesserThreshold.TypeEnum |
Value
Gets or Sets Value
Declaration
public float? Value { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
Methods
Equals(LesserThreshold)
Returns true if LesserThreshold instances are equal
Declaration
public bool Equals(LesserThreshold input)
Parameters
Type | Name | Description |
---|---|---|
LesserThreshold | input | Instance of LesserThreshold 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<>