Class SubscriptionManifest
SubscriptionManifest
Inheritance
System.Object
SubscriptionManifest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class SubscriptionManifest : IEquatable<SubscriptionManifest>
Constructors
SubscriptionManifest()
Initializes a new instance of the Subscription
Declaration
protected SubscriptionManifest()
SubscriptionManifest(String, String, List<String>)
Initializes a new instance of the Subscription
Declaration
public SubscriptionManifest(string name = null, string mode = null, List<string> destinations = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | name (required). |
System. |
mode | mode (required). |
List<System. |
destinations | destinations (required). |
Properties
Destinations
Gets or Sets Destinations
Declaration
public List<string> Destinations { get; set; }
Property Value
Type | Description |
---|---|
List<System. |
Mode
Gets or Sets Mode
Declaration
public string Mode { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(SubscriptionManifest)
Returns true if SubscriptionManifest instances are equal
Declaration
public bool Equals(SubscriptionManifest input)
Parameters
Type | Name | Description |
---|---|---|
Subscription |
input | Instance of SubscriptionManifest 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 |