Class Check
Check
Inheritance
System.Object
Check
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Check : CheckDiscriminator, IEquatable<CheckDiscriminator>, IEquatable<Check>
Constructors
Check()
Initializes a new instance of the Check class.
Declaration
protected Check()
Check(String, String, String, DashboardQuery, Nullable<TaskStatusType>, String, List<Label>, CheckBaseLinks)
Initializes a new instance of the Check class.
Declaration
public Check(string name = null, string orgID = null, string taskID = null, DashboardQuery query = null, TaskStatusType? status = null, string description = null, List<Label> labels = null, CheckBaseLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | orgID | |
System.String | taskID | |
DashboardQuery | query | |
System.Nullable<TaskStatusType> | status | |
System.String | description | |
List<Label> | labels | |
CheckBaseLinks | links |
Methods
Equals(Check)
Returns true if Check instances are equal
Declaration
public bool Equals(Check input)
Parameters
Type | Name | Description |
---|---|---|
Check | input | Instance of Check 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<>