Class DBRPCreate
DBRPCreate
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class DBRPCreate : IEquatable<DBRPCreate>
Constructors
DBRPCreate()
Initializes a new instance of the DBRPCreate class.
Declaration
protected DBRPCreate()
DBRPCreate(String, String, String, String, String, Nullable<Boolean>)
Initializes a new instance of the DBRPCreate class.
Declaration
public DBRPCreate(string orgID = null, string org = null, string bucketID = null, string database = null, string retentionPolicy = null, bool? _default = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | ID of the organization that owns this mapping.. |
System. |
org | Name of the organization that owns this mapping.. |
System. |
bucketID | ID of the bucket used as the target for the translation. (required). |
System. |
database | InfluxDB v1 database (required). |
System. |
retentionPolicy | InfluxDB v1 retention policy (required). |
System. |
_default | Mapping represents the default retention policy for the database specified.. |
Properties
BucketID
ID of the bucket used as the target for the translation.
Declaration
public string BucketID { get; set; }
Property Value
Type | Description |
---|---|
System. |
ID of the bucket used as the target for the translation. |
Database
InfluxDB v1 database
Declaration
public string Database { get; set; }
Property Value
Type | Description |
---|---|
System. |
InfluxDB v1 database |
Default
Mapping represents the default retention policy for the database specified.
Declaration
public bool? Default { get; set; }
Property Value
Type | Description |
---|---|
System. |
Mapping represents the default retention policy for the database specified. |
Org
Name of the organization that owns this mapping.
Declaration
public string Org { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name of the organization that owns this mapping. |
OrgID
ID of the organization that owns this mapping.
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System. |
ID of the organization that owns this mapping. |
RetentionPolicy
InfluxDB v1 retention policy
Declaration
public string RetentionPolicy { get; set; }
Property Value
Type | Description |
---|---|
System. |
InfluxDB v1 retention policy |
Methods
Equals(DBRPCreate)
Returns true if DBRPCreate instances are equal
Declaration
public bool Equals(DBRPCreate input)
Parameters
Type | Name | Description |
---|---|---|
DBRPCreate | input | Instance of DBRPCreate 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 |