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.String | id | id (required). |
System.String | name | name (required). |
System.String | description | description. |
System.String | orgID | orgID (required). |
System.String | remoteID | remoteID (required). |
System.String | localBucketID | localBucketID (required). |
System.String | remoteBucketID | remoteBucketID (required). |
System.Nullable<System.Int64> | maxQueueSizeBytes | maxQueueSizeBytes (required). |
System.Nullable<System.Int64> | currentQueueSizeBytes | currentQueueSizeBytes (required). |
System.Nullable<System.Int32> | latestResponseCode | latestResponseCode. |
System.String | latestErrorMessage | latestErrorMessage. |
System.Nullable<System.Boolean> | dropNonRetryableData | dropNonRetryableData. |
Properties
CurrentQueueSizeBytes
Gets or Sets CurrentQueueSizeBytes
Declaration
public long? CurrentQueueSizeBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DropNonRetryableData
Gets or Sets DropNonRetryableData
Declaration
public bool? DropNonRetryableData { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Id
Gets or Sets Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LatestErrorMessage
Gets or Sets LatestErrorMessage
Declaration
public string LatestErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LatestResponseCode
Gets or Sets LatestResponseCode
Declaration
public int? LatestResponseCode { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
LocalBucketID
Gets or Sets LocalBucketID
Declaration
public string LocalBucketID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxQueueSizeBytes
Gets or Sets MaxQueueSizeBytes
Declaration
public long? MaxQueueSizeBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoteBucketID
Gets or Sets RemoteBucketID
Declaration
public string RemoteBucketID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoteID
Gets or Sets RemoteID
Declaration
public string RemoteID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 | 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 |