Class TelegrafPluginRequest
TelegrafPluginRequest
Inheritance
System.Object
TelegrafPluginRequest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TelegrafPluginRequest : IEquatable<TelegrafPluginRequest>
Constructors
TelegrafPluginRequest(String, String, List<TelegrafPluginRequestPlugins>, TelegrafRequestMetadata, String, String)
Initializes a new instance of the Telegraf
Declaration
public TelegrafPluginRequest(string name = null, string description = null, List<TelegrafPluginRequestPlugins> plugins = null, TelegrafRequestMetadata metadata = null, string config = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | name. |
System. |
description | description. |
List<Telegraf |
plugins | plugins. |
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. |
Plugins
Gets or Sets Plugins
Declaration
public List<TelegrafPluginRequestPlugins> Plugins { get; set; }
Property Value
Type | Description |
---|---|
List<Telegraf |
Methods
Equals(TelegrafPluginRequest)
Returns true if TelegrafPluginRequest instances are equal
Declaration
public bool Equals(TelegrafPluginRequest input)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
input | Instance of TelegrafPluginRequest 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 |