Class TemplateSummaryDiffBucketsNewOld
TemplateSummaryDiffBucketsNewOld
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TemplateSummaryDiffBucketsNewOld : IEquatable<TemplateSummaryDiffBucketsNewOld>
Constructors
TemplateSummaryDiffBucketsNewOld(String, String, List<BucketRetentionRules>)
Initializes a new instance of the TemplateSummaryDiffBucketsNewOld class.
Declaration
public TemplateSummaryDiffBucketsNewOld(string name = null, string description = null, List<BucketRetentionRules> retentionRules = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | name. |
| System.String | description | description. |
| List<BucketRetentionRules> | retentionRules | Rules to expire or retain data. No rules means data never expires.. |
Properties
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RetentionRules
Rules to expire or retain data. No rules means data never expires.
Declaration
public List<BucketRetentionRules> RetentionRules { get; set; }
Property Value
| Type | Description |
|---|---|
| List<BucketRetentionRules> | Rules to expire or retain data. No rules means data never expires. |
Methods
Equals(TemplateSummaryDiffBucketsNewOld)
Returns true if TemplateSummaryDiffBucketsNewOld instances are equal
Declaration
public bool Equals(TemplateSummaryDiffBucketsNewOld input)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateSummaryDiffBucketsNewOld | input | Instance of TemplateSummaryDiffBucketsNewOld 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 |