Class StatusRule
StatusRule
Inheritance
System.Object
StatusRule
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class StatusRule : IEquatable<StatusRule>
Constructors
StatusRule(Nullable<RuleStatusLevel>, Nullable<RuleStatusLevel>, Nullable<Int32>, String)
Initializes a new instance of the Status
Declaration
public StatusRule(RuleStatusLevel? currentLevel = null, RuleStatusLevel? previousLevel = null, int? count = null, string period = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
currentLevel | currentLevel. |
System. |
previousLevel | previousLevel. |
System. |
count | count. |
System. |
period | period. |
Properties
Count
Gets or Sets Count
Declaration
public int? Count { get; set; }
Property Value
Type | Description |
---|---|
System. |
CurrentLevel
Gets or Sets CurrentLevel
Declaration
public RuleStatusLevel? CurrentLevel { get; set; }
Property Value
Type | Description |
---|---|
System. |
Period
Gets or Sets Period
Declaration
public string Period { get; set; }
Property Value
Type | Description |
---|---|
System. |
PreviousLevel
Gets or Sets PreviousLevel
Declaration
public RuleStatusLevel? PreviousLevel { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(StatusRule)
Returns true if StatusRule instances are equal
Declaration
public bool Equals(StatusRule input)
Parameters
Type | Name | Description |
---|---|---|
Status |
input | Instance of StatusRule to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |