Class ReplicationCreationRequest
ReplicationCreationRequest
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ReplicationCreationRequest : IEquatable<ReplicationCreationRequest>
Constructors
ReplicationCreationRequest()
Initializes a new instance of the ReplicationCreationRequest class.
Declaration
protected ReplicationCreationRequest()
ReplicationCreationRequest(String, String, String, String, String, String, Nullable<Int64>, Nullable<Boolean>)
Initializes a new instance of the ReplicationCreationRequest class.
Declaration
public ReplicationCreationRequest(string name = null, string description = null, string orgID = null, string remoteID = null, string localBucketID = null, string remoteBucketID = null, long? maxQueueSizeBytes = null, bool? dropNonRetryableData)
Parameters
Type | Name | Description |
---|---|---|
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) (default to 67108860). |
System.Nullable<System.Boolean> | dropNonRetryableData | dropNonRetryableData (default to false). |
Properties
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> |
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(ReplicationCreationRequest)
Returns true if ReplicationCreationRequest instances are equal
Declaration
public bool Equals(ReplicationCreationRequest input)
Parameters
Type | Name | Description |
---|---|---|
ReplicationCreationRequest | input | Instance of ReplicationCreationRequest 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 |