Class TestStatement
Declares a Flux test case
Implements
IEquatable<TestStatement >
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TestStatement : Statement, IEquatable<TestStatement>
Constructors
TestStatement(String, VariableAssignment)
Initializes a new instance of the Test
Declaration
public TestStatement(string type = null, VariableAssignment assignment = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
Variable |
assignment | assignment. |
Properties
Assignment
Gets or Sets Assignment
Declaration
public VariableAssignment Assignment { get; set; }
Property Value
Type | Description |
---|---|
Variable |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(TestStatement)
Returns true if TestStatement instances are equal
Declaration
public bool Equals(TestStatement input)
Parameters
Type | Name | Description |
---|---|---|
Test |
input | Instance of TestStatement 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
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 presentation of the object |
Overrides
Implements
IEquatable<>