Class TemplateExportByIDResources
TemplateExportByIDResources
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TemplateExportByIDResources : IEquatable<TemplateExportByIDResources>
Constructors
TemplateExportByIDResources()
Initializes a new instance of the Template
Declaration
protected TemplateExportByIDResources()
TemplateExportByIDResources(String, TemplateKind, String)
Initializes a new instance of the Template
Declaration
public TemplateExportByIDResources(string id = null, TemplateKind kind = (TemplateKind)0, string name = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | id (required). |
Template |
kind | kind (required). |
System. |
name | if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported. |
Properties
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
Kind
Gets or Sets Kind
Declaration
public TemplateKind Kind { get; set; }
Property Value
Type | Description |
---|---|
Template |
Name
if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
if defined with id, name is used for resource exported by id. if defined independently, resources strictly matching name are exported |
Methods
Equals(TemplateExportByIDResources)
Returns true if TemplateExportByIDResources instances are equal
Declaration
public bool Equals(TemplateExportByIDResources input)
Parameters
Type | Name | Description |
---|---|---|
Template |
input | Instance of TemplateExportByIDResources 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 |