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 |
---|---|---|
TelegrafLinks | links | links. |
List<Label> | labels | labels. |
System.String | name | |
System.String | description | |
TelegrafRequestMetadata | metadata | |
System.String | config | |
System.String | orgID |
Properties
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
---|---|
TelegrafLinks |
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 | 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 | String presentation of the object |
Overrides
Implements
IEquatable<>