Class DashboardQuery
DashboardQuery
Inheritance
System.Object
DashboardQuery
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class DashboardQuery : IEquatable<DashboardQuery>
Constructors
DashboardQuery(String, Nullable<QueryEditMode>, String, BuilderConfig)
Initializes a new instance of the DashboardQuery class.
Declaration
public DashboardQuery(string text = null, QueryEditMode? editMode = null, string name = null, BuilderConfig builderConfig = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text of the Flux query.. |
System.Nullable<QueryEditMode> | editMode | editMode. |
System.String | name | name. |
BuilderConfig | builderConfig | builderConfig. |
Properties
BuilderConfig
Gets or Sets BuilderConfig
Declaration
public BuilderConfig BuilderConfig { get; set; }
Property Value
Type | Description |
---|---|
BuilderConfig |
EditMode
Gets or Sets EditMode
Declaration
public QueryEditMode? EditMode { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<QueryEditMode> |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
The text of the Flux query.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text of the Flux query. |
Methods
Equals(DashboardQuery)
Returns true if DashboardQuery instances are equal
Declaration
public bool Equals(DashboardQuery input)
Parameters
Type | Name | Description |
---|---|---|
DashboardQuery | input | Instance of DashboardQuery 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 |