Class Property
The value associated with a key
Inheritance
System.Object
Property
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Property : IEquatable<Property>
Constructors
Property(String, PropertyKey, Expression)
Initializes a new instance of the Property class.
Declaration
public Property(string type = null, PropertyKey key = null, Expression value = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | Type of AST node. |
PropertyKey | key | key. |
Expression | value | value. |
Properties
Key
Gets or Sets Key
Declaration
public PropertyKey Key { get; set; }
Property Value
Type | Description |
---|---|
PropertyKey |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type of AST node |
Value
Gets or Sets Value
Declaration
public Expression Value { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Methods
Equals(Property)
Returns true if Property instances are equal
Declaration
public bool Equals(Property input)
Parameters
Type | Name | Description |
---|---|---|
Property | input | Instance of Property 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 |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |