Class Replication
Replication
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Replication : IEquatable<Replication>
Constructors
Replication()
Initializes a new instance of the Replication class.
Declaration
protected Replication()
Replication(String, String, String, String, String, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>)
Initializes a new instance of the Replication class.
Declaration
public Replication(string id = null, string name = null, string description = null, string orgID = null, string remoteID = null, string localBucketID = null, string remoteBucketID = null, long? maxQueueSizeBytes = null, long? currentQueueSizeBytes = null, int? latestResponseCode = null, string latestErrorMessage = null, bool? dropNonRetryableData = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | id (required). |
System. |
name | name (required). |
System. |
description | description. |
System. |
orgID | orgID (required). |
System. |
remoteID | remoteID (required). |
System. |
localBucketID | localBucketID (required). |
System. |
remoteBucketID | remoteBucketID (required). |
System. |
maxQueueSizeBytes | maxQueueSizeBytes (required). |
System. |
currentQueueSizeBytes | currentQueueSizeBytes (required). |
System. |
latestResponseCode | latestResponseCode. |
System. |
latestErrorMessage | latestErrorMessage. |
System. |
dropNonRetryableData | dropNonRetryableData. |
Properties
CurrentQueueSizeBytes
Gets or Sets CurrentQueueSizeBytes
Declaration
public long? CurrentQueueSizeBytes { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
DropNonRetryableData
Gets or Sets DropNonRetryableData
Declaration
public bool? DropNonRetryableData { get; set; }
Property Value
Type | Description |
---|---|
System. |
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
LatestErrorMessage
Gets or Sets LatestErrorMessage
Declaration
public string LatestErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System. |
LatestResponseCode
Gets or Sets LatestResponseCode
Declaration
public int? LatestResponseCode { get; set; }
Property Value
Type | Description |
---|---|
System. |
LocalBucketID
Gets or Sets LocalBucketID
Declaration
public string LocalBucketID { get; set; }
Property Value
Type | Description |
---|---|
System. |
MaxQueueSizeBytes
Gets or Sets MaxQueueSizeBytes
Declaration
public long? MaxQueueSizeBytes { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System. |
RemoteBucketID
Gets or Sets RemoteBucketID
Declaration
public string RemoteBucketID { get; set; }
Property Value
Type | Description |
---|---|
System. |
RemoteID
Gets or Sets RemoteID
Declaration
public string RemoteID { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(Replication)
Returns true if Replication instances are equal
Declaration
public bool Equals(Replication input)
Parameters
Type | Name | Description |
---|---|---|
Replication | input | Instance of Replication 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 |