Class DeletePredicateRequest
The delete predicate request.
Inheritance
System.Object
DeletePredicateRequest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class DeletePredicateRequest : IEquatable<DeletePredicateRequest>
Constructors
DeletePredicateRequest()
Initializes a new instance of the DeletePredicateRequest class.
Declaration
protected DeletePredicateRequest()
DeletePredicateRequest(Nullable<DateTime>, Nullable<DateTime>, String)
Initializes a new instance of the DeletePredicateRequest class.
Declaration
public DeletePredicateRequest(DateTime? start = null, DateTime? stop = null, string predicate = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<DateTime> | start | RFC3339Nano (required). |
System.Nullable<DateTime> | stop | RFC3339Nano (required). |
System.String | predicate | InfluxQL-like delete statement. |
Properties
Predicate
InfluxQL-like delete statement
Declaration
public string Predicate { get; set; }
Property Value
Type | Description |
---|---|
System.String | InfluxQL-like delete statement |
Start
RFC3339Nano
Declaration
public DateTime? Start { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | RFC3339Nano |
Stop
RFC3339Nano
Declaration
public DateTime? Stop { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | RFC3339Nano |
Methods
Equals(DeletePredicateRequest)
Returns true if DeletePredicateRequest instances are equal
Declaration
public bool Equals(DeletePredicateRequest input)
Parameters
Type | Name | Description |
---|---|---|
DeletePredicateRequest | input | Instance of DeletePredicateRequest 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 |