Class ObjectExpression
Allows the declaration of an anonymous object within a declaration
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ObjectExpression : Expression, IEquatable<Expression>, IEquatable<ObjectExpression>
Constructors
ObjectExpression(String, List<Property>)
Initializes a new instance of the Object
Declaration
public ObjectExpression(string type = null, List<Property> properties = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
List<Property> | properties | Object properties. |
Properties
Properties
Object properties
Declaration
public List<Property> Properties { get; set; }
Property Value
Type | Description |
---|---|
List<Property> | Object properties |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(ObjectExpression)
Returns true if ObjectExpression instances are equal
Declaration
public bool Equals(ObjectExpression input)
Parameters
Type | Name | Description |
---|---|---|
Object |
input | Instance of ObjectExpression 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<>
IEquatable<>