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 TelegrafPluginRequest class.
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.String | name | name. |
System.String | description | description. |
List<TelegrafPluginRequestPlugins> | plugins | plugins. |
TelegrafRequestMetadata | metadata | metadata. |
System.String | config | config. |
System.String | orgID | orgID. |
Properties
Config
Gets or Sets Config
Declaration
public string Config { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Metadata
Gets or Sets Metadata
Declaration
public TelegrafRequestMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
TelegrafRequestMetadata |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Plugins
Gets or Sets Plugins
Declaration
public List<TelegrafPluginRequestPlugins> Plugins { get; set; }
Property Value
Type | Description |
---|---|
List<TelegrafPluginRequestPlugins> |
Methods
Equals(TelegrafPluginRequest)
Returns true if TelegrafPluginRequest instances are equal
Declaration
public bool Equals(TelegrafPluginRequest input)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | input | Instance of TelegrafPluginRequest 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 |