Class CustomCheck
CustomCheck
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class CustomCheck : Check, IEquatable<CheckDiscriminator>, IEquatable<Check>, IEquatable<CustomCheck>
Constructors
CustomCheck()
Initializes a new instance of the CustomCheck class.
Declaration
protected CustomCheck()
CustomCheck(CustomCheck.TypeEnum, String, String, String, DashboardQuery, Nullable<TaskStatusType>, String, List<Label>, CheckBaseLinks)
Initializes a new instance of the CustomCheck class.
Declaration
public CustomCheck(CustomCheck.TypeEnum type = default(CustomCheck.TypeEnum), 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 |
---|---|---|
CustomCheck.TypeEnum | type | type (required) (default to TypeEnum.Custom). |
System.String | name | |
System.String | orgID | |
System.String | taskID | |
DashboardQuery | query | |
System.Nullable<TaskStatusType> | status | |
System.String | description | |
List<Label> | labels | |
CheckBaseLinks | links |
Properties
Type
Gets or Sets Type
Declaration
public CustomCheck.TypeEnum Type { get; set; }
Property Value
Type | Description |
---|---|
CustomCheck.TypeEnum |
Methods
Equals(CustomCheck)
Returns true if CustomCheck instances are equal
Declaration
public bool Equals(CustomCheck input)
Parameters
Type | Name | Description |
---|---|---|
CustomCheck | input | Instance of CustomCheck 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<>
IEquatable<>