Class MetadataBackup
MetadataBackup
Inheritance
System.Object
MetadataBackup
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class MetadataBackup : IEquatable<MetadataBackup>
Constructors
MetadataBackup()
Initializes a new instance of the MetadataBackup class.
Declaration
protected MetadataBackup()
MetadataBackup(Stream, Stream, List<BucketMetadataManifest>)
Initializes a new instance of the MetadataBackup class.
Declaration
public MetadataBackup(Stream kv = null, Stream sql = null, List<BucketMetadataManifest> buckets = null)
Parameters
Type | Name | Description |
---|---|---|
Stream | kv | kv (required). |
Stream | sql | sql (required). |
List<BucketMetadataManifest> | buckets | buckets (required). |
Properties
Buckets
Gets or Sets Buckets
Declaration
public List<BucketMetadataManifest> Buckets { get; set; }
Property Value
Type | Description |
---|---|
List<BucketMetadataManifest> |
Kv
Gets or Sets Kv
Declaration
public Stream Kv { get; set; }
Property Value
Type | Description |
---|---|
Stream |
Sql
Gets or Sets Sql
Declaration
public Stream Sql { get; set; }
Property Value
Type | Description |
---|---|
Stream |
Methods
Equals(MetadataBackup)
Returns true if MetadataBackup instances are equal
Declaration
public bool Equals(MetadataBackup input)
Parameters
Type | Name | Description |
---|---|---|
MetadataBackup | input | Instance of MetadataBackup 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 |