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