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