Class StackResources
StackResources
Inheritance
System.Object
StackResources
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class StackResources : IEquatable<StackResources>
Constructors
StackResources(String, String, Nullable<TemplateKind>, String, List<StackAssociations>, StackLinks)
Initializes a new instance of the StackResources class.
Declaration
public StackResources(string apiVersion = null, string resourceID = null, TemplateKind? kind = null, string templateMetaName = null, List<StackAssociations> associations = null, StackLinks links = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | apiVersion | apiVersion. |
| System.String | resourceID | resourceID. |
| System.Nullable<TemplateKind> | kind | kind. |
| System.String | templateMetaName | templateMetaName. |
| List<StackAssociations> | associations | associations. |
| StackLinks | links | links. |
Properties
ApiVersion
Gets or Sets ApiVersion
Declaration
public string ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Associations
Gets or Sets Associations
Declaration
public List<StackAssociations> Associations { get; set; }
Property Value
| Type | Description |
|---|---|
| List<StackAssociations> |
Kind
Gets or Sets Kind
Declaration
public TemplateKind? Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<TemplateKind> |
Links
Gets or Sets Links
Declaration
public StackLinks Links { get; set; }
Property Value
| Type | Description |
|---|---|
| StackLinks |
ResourceID
Gets or Sets ResourceID
Declaration
public string ResourceID { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TemplateMetaName
Gets or Sets TemplateMetaName
Declaration
public string TemplateMetaName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Equals(StackResources)
Returns true if StackResources instances are equal
Declaration
public bool Equals(StackResources input)
Parameters
| Type | Name | Description |
|---|---|---|
| StackResources | input | Instance of StackResources 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 |