Class Telegraf
Telegraf
Implements
IEquatable<Telegraf>
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Telegraf : TelegrafRequest, IEquatable<Telegraf>
Constructors
Telegraf(TelegrafLinks, List<Label>, String, String, TelegrafRequestMetadata, String, String)
Initializes a new instance of the Telegraf class.
Declaration
public Telegraf(TelegrafLinks links = null, List<Label> labels = null, string name = null, string description = null, TelegrafRequestMetadata metadata = null, string config = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
links | links. |
List<Label> | labels | labels. |
System. |
name | |
System. |
description | |
Telegraf |
metadata | |
System. |
config | |
System. |
orgID |
Properties
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System. |
Labels
Gets or Sets Labels
Declaration
public List<Label> Labels { get; set; }
Property Value
Type | Description |
---|---|
List<Label> |
Links
Gets or Sets Links
Declaration
public TelegrafLinks Links { get; set; }
Property Value
Type | Description |
---|---|
Telegraf |
Methods
Equals(Telegraf)
Returns true if Telegraf instances are equal
Declaration
public bool Equals(Telegraf input)
Parameters
Type | Name | Description |
---|---|---|
Telegraf | input | Instance of Telegraf to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Implements
IEquatable<>