Class TelegrafRequest
TelegrafRequest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TelegrafRequest : IEquatable<TelegrafRequest>
Constructors
TelegrafRequest(String, String, TelegrafRequestMetadata, String, String)
Initializes a new instance of the Telegraf
Declaration
public TelegrafRequest(string name = null, string description = null, TelegrafRequestMetadata metadata = null, string config = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | name. |
System. |
description | description. |
Telegraf |
metadata | metadata. |
System. |
config | config. |
System. |
orgID | orgID. |
Properties
Config
Gets or Sets Config
Declaration
public string Config { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
Metadata
Gets or Sets Metadata
Declaration
public TelegrafRequestMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
Telegraf |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(TelegrafRequest)
Returns true if TelegrafRequest instances are equal
Declaration
public bool Equals(TelegrafRequest input)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
input | Instance of TelegrafRequest 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 |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |