Class Stack
Stack
Inheritance
System.Object
Stack
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Stack : IEquatable<Stack>
Constructors
Stack(String, String, List<StackEvents>)
Initializes a new instance of the Stack class.
Declaration
public Stack(string id = null, string orgID = null, List<StackEvents> events = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | id. |
| System.String | orgID | orgID. |
| List<StackEvents> | events | events. |
Properties
CreatedAt
Gets or Sets CreatedAt
Declaration
public DateTime? CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
Events
Gets or Sets Events
Declaration
public List<StackEvents> Events { get; set; }
Property Value
| Type | Description |
|---|---|
| List<StackEvents> |
Id
Gets or Sets Id
Declaration
public string Id { 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 |
Methods
Equals(Stack)
Returns true if Stack instances are equal
Declaration
public bool Equals(Stack input)
Parameters
| Type | Name | Description |
|---|---|---|
| Stack | input | Instance of Stack 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 |