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 TelegrafRequest class.
Declaration
public TelegrafRequest(string name = null, string description = null, TelegrafRequestMetadata metadata = null, string config = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | name. |
System.String | description | description. |
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 |
Methods
Equals(TelegrafRequest)
Returns true if TelegrafRequest instances are equal
Declaration
public bool Equals(TelegrafRequest input)
Parameters
Type | Name | Description |
---|---|---|
TelegrafRequest | input | Instance of TelegrafRequest 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 |