Class Cell
Cell
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Cell : IEquatable<Cell>
Constructors
Cell(String, CellLinks, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, String)
Initializes a new instance of the Cell class.
Declaration
public Cell(string id = null, CellLinks links = null, int? x = null, int? y = null, int? w = null, int? h = null, string viewID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id. |
CellLinks | links | links. |
System.Nullable<System.Int32> | x | x. |
System.Nullable<System.Int32> | y | y. |
System.Nullable<System.Int32> | w | w. |
System.Nullable<System.Int32> | h | h. |
System.String | viewID | The reference to a view from the views API.. |
Properties
H
Gets or Sets H
Declaration
public int? H { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Links
Gets or Sets Links
Declaration
public CellLinks Links { get; set; }
Property Value
Type | Description |
---|---|
CellLinks |
ViewID
The reference to a view from the views API.
Declaration
public string ViewID { get; set; }
Property Value
Type | Description |
---|---|
System.String | The reference to a view from the views API. |
W
Gets or Sets W
Declaration
public int? W { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
X
Gets or Sets X
Declaration
public int? X { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Y
Gets or Sets Y
Declaration
public int? Y { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
Equals(Cell)
Returns true if Cell instances are equal
Declaration
public bool Equals(Cell input)
Parameters
Type | Name | Description |
---|---|---|
Cell | input | Instance of Cell 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 |