Class Source
Source
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Source : IEquatable<Source>
Constructors
Source(SourceLinks, String, String, Nullable<Boolean>, String, Nullable<Source.TypeEnum>, String, Nullable<Boolean>, String, String, String, String, String, String, String)
Initializes a new instance of the Source class.
Declaration
public Source(SourceLinks links = null, string id = null, string orgID = null, bool? _default = null, string name = null, Source.TypeEnum? type = null, string url = null, bool? insecureSkipVerify = null, string telegraf = null, string token = null, string username = null, string password = null, string sharedSecret = null, string metaUrl = null, string defaultRP = null)
Parameters
Type | Name | Description |
---|---|---|
SourceLinks | links | links. |
System.String | id | id. |
System.String | orgID | orgID. |
System.Nullable<System.Boolean> | _default | _default. |
System.String | name | name. |
System.Nullable<Source.TypeEnum> | type | type. |
System.String | url | url. |
System.Nullable<System.Boolean> | insecureSkipVerify | insecureSkipVerify. |
System.String | telegraf | telegraf. |
System.String | token | token. |
System.String | username | username. |
System.String | password | password. |
System.String | sharedSecret | sharedSecret. |
System.String | metaUrl | metaUrl. |
System.String | defaultRP | defaultRP. |
Properties
Default
Gets or Sets Default
Declaration
public bool? Default { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
DefaultRP
Gets or Sets DefaultRP
Declaration
public string DefaultRP { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InsecureSkipVerify
Gets or Sets InsecureSkipVerify
Declaration
public bool? InsecureSkipVerify { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Languages
Gets or Sets Languages
Declaration
public List<Source.LanguagesEnum> Languages { get; set; }
Property Value
Type | Description |
---|---|
List<Source.LanguagesEnum> |
Links
Gets or Sets Links
Declaration
public SourceLinks Links { get; set; }
Property Value
Type | Description |
---|---|
SourceLinks |
MetaUrl
Gets or Sets MetaUrl
Declaration
public string MetaUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
Password
Gets or Sets Password
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SharedSecret
Gets or Sets SharedSecret
Declaration
public string SharedSecret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Telegraf
Gets or Sets Telegraf
Declaration
public string Telegraf { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Token
Gets or Sets Token
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or Sets Type
Declaration
public Source.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Source.TypeEnum> |
Url
Gets or Sets Url
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
Gets or Sets Username
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Source)
Returns true if Source instances are equal
Declaration
public bool Equals(Source input)
Parameters
Type | Name | Description |
---|---|---|
Source | input | Instance of Source 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 |