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 TemplateExportByIDResources class.
Declaration
protected TemplateExportByIDResources()
TemplateExportByIDResources(String, TemplateKind, String)
Initializes a new instance of the TemplateExportByIDResources class.
Declaration
public TemplateExportByIDResources(string id = null, TemplateKind kind = (TemplateKind)0, string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id (required). |
TemplateKind | kind | kind (required). |
System.String | 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.String |
Kind
Gets or Sets Kind
Declaration
public TemplateKind Kind { get; set; }
Property Value
Type | Description |
---|---|
TemplateKind |
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.String | 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 |
---|---|---|
TemplateExportByIDResources | input | Instance of TemplateExportByIDResources 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 |