Class DBRPUpdate
DBRPUpdate
Inheritance
System.Object
DBRPUpdate
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class DBRPUpdate : IEquatable<DBRPUpdate>
Constructors
DBRPUpdate(String, Nullable<Boolean>)
Initializes a new instance of the DBRPUpdate class.
Declaration
public DBRPUpdate(string retentionPolicy = null, bool? _default = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | retentionPolicy | InfluxDB v1 retention policy. |
System.Nullable<System.Boolean> | _default | _default. |
Properties
Default
Gets or Sets Default
Declaration
public bool? Default { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
RetentionPolicy
InfluxDB v1 retention policy
Declaration
public string RetentionPolicy { get; set; }
Property Value
Type | Description |
---|---|
System.String | InfluxDB v1 retention policy |
Methods
Equals(DBRPUpdate)
Returns true if DBRPUpdate instances are equal
Declaration
public bool Equals(DBRPUpdate input)
Parameters
Type | Name | Description |
---|---|---|
DBRPUpdate | input | Instance of DBRPUpdate 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 |