Class Variable
Variable
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Variable : IEquatable<Variable>
Constructors
Variable()
Initializes a new instance of the Variable class.
Declaration
protected Variable()
Variable(VariableLinks, String, String, String, List<String>, List<Label>, VariableProperties, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the Variable class.
Declaration
public Variable(VariableLinks links = null, string orgID = null, string name = null, string description = null, List<string> selected = null, List<Label> labels = null, VariableProperties arguments = null, DateTime? createdAt = null, DateTime? updatedAt = null)
Parameters
Type | Name | Description |
---|---|---|
VariableLinks | links | links. |
System.String | orgID | orgID (required). |
System.String | name | name (required). |
System.String | description | description. |
List<System.String> | selected | selected. |
List<Label> | labels | labels. |
VariableProperties | arguments | arguments (required). |
System.Nullable<DateTime> | createdAt | createdAt. |
System.Nullable<DateTime> | updatedAt | updatedAt. |
Properties
Arguments
Gets or Sets Arguments
Declaration
public VariableProperties Arguments { get; set; }
Property Value
Type | Description |
---|---|
VariableProperties |
CreatedAt
Gets or Sets CreatedAt
Declaration
public DateTime? CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Labels
Gets or Sets Labels
Declaration
public List<Label> Labels { get; set; }
Property Value
Type | Description |
---|---|
List<Label> |
Links
Gets or Sets Links
Declaration
public VariableLinks Links { get; set; }
Property Value
Type | Description |
---|---|
VariableLinks |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Selected
Gets or Sets Selected
Declaration
public List<string> Selected { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
public DateTime? UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Methods
Equals(Variable)
Returns true if Variable instances are equal
Declaration
public bool Equals(Variable input)
Parameters
Type | Name | Description |
---|---|---|
Variable | input | Instance of Variable 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 |