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