Class ShardManifest
ShardManifest
Inheritance
System.Object
ShardManifest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ShardManifest : IEquatable<ShardManifest>
Constructors
ShardManifest()
Initializes a new instance of the Shard
Declaration
protected ShardManifest()
ShardManifest(Nullable<Int64>, List<ShardOwner>)
Initializes a new instance of the Shard
Declaration
public ShardManifest(long? id = null, List<ShardOwner> shardOwners = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | id (required). |
List<Shard |
shardOwners | shardOwners (required). |
Properties
Id
Gets or Sets Id
Declaration
public long? Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
ShardOwners
Gets or Sets ShardOwners
Declaration
public List<ShardOwner> ShardOwners { get; set; }
Property Value
Type | Description |
---|---|
List<Shard |
Methods
Equals(ShardManifest)
Returns true if ShardManifest instances are equal
Declaration
public bool Equals(ShardManifest input)
Parameters
Type | Name | Description |
---|---|---|
Shard |
input | Instance of ShardManifest 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 |