Class TemplateSummary
TemplateSummary
Inheritance
System.Object
TemplateSummary
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TemplateSummary : IEquatable<TemplateSummary>
Constructors
TemplateSummary(List<String>, String, TemplateSummarySummary, TemplateSummaryDiff, List<TemplateSummaryErrors>)
Initializes a new instance of the TemplateSummary class.
Declaration
public TemplateSummary(List<string> sources = null, string stackID = null, TemplateSummarySummary summary = null, TemplateSummaryDiff diff = null, List<TemplateSummaryErrors> errors = null)
Parameters
| Type | Name | Description |
|---|---|---|
| List<System.String> | sources | sources. |
| System.String | stackID | stackID. |
| TemplateSummarySummary | summary | summary. |
| TemplateSummaryDiff | diff | diff. |
| List<TemplateSummaryErrors> | errors | errors. |
Properties
Diff
Gets or Sets Diff
Declaration
public TemplateSummaryDiff Diff { get; set; }
Property Value
| Type | Description |
|---|---|
| TemplateSummaryDiff |
Errors
Gets or Sets Errors
Declaration
public List<TemplateSummaryErrors> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| List<TemplateSummaryErrors> |
Sources
Gets or Sets Sources
Declaration
public List<string> Sources { get; set; }
Property Value
| Type | Description |
|---|---|
| List<System.String> |
StackID
Gets or Sets StackID
Declaration
public string StackID { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Summary
Gets or Sets Summary
Declaration
public TemplateSummarySummary Summary { get; set; }
Property Value
| Type | Description |
|---|---|
| TemplateSummarySummary |
Methods
Equals(TemplateSummary)
Returns true if TemplateSummary instances are equal
Declaration
public bool Equals(TemplateSummary input)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateSummary | input | Instance of TemplateSummary 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 |