Class OptionStatement
A single variable declaration
Implements
IEquatable<OptionStatement >
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class OptionStatement : Statement, IEquatable<OptionStatement>
Constructors
OptionStatement(String, Object)
Initializes a new instance of the Option
Declaration
public OptionStatement(string type = null, object assignment = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
System. |
assignment | assignment. |
Properties
Assignment
Gets or Sets Assignment
Declaration
public object Assignment { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(OptionStatement)
Returns true if OptionStatement instances are equal
Declaration
public bool Equals(OptionStatement input)
Parameters
Type | Name | Description |
---|---|---|
Option |
input | Instance of OptionStatement 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<>