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