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