Class Run
Run
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Run : IEquatable<Run>
Constructors
Run(Nullable<DateTime>, RunLinks)
Initializes a new instance of the Run class.
Declaration
public Run(DateTime? scheduledFor = null, RunLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<DateTime> | scheduledFor | Time used for run's "now" option, RFC3339.. |
RunLinks | links | links. |
Properties
FinishedAt
Time run finished executing, RFC3339Nano.
Declaration
public DateTime? FinishedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | Time run finished executing, RFC3339Nano. |
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Links
Gets or Sets Links
Declaration
public RunLinks Links { get; set; }
Property Value
Type | Description |
---|---|
RunLinks |
Log
An array of logs associated with the run.
Declaration
public List<LogEvent> Log { get; }
Property Value
Type | Description |
---|---|
List<LogEvent> | An array of logs associated with the run. |
RequestedAt
Time run was manually requested, RFC3339Nano.
Declaration
public DateTime? RequestedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | Time run was manually requested, RFC3339Nano. |
ScheduledFor
Time used for run's "now" option, RFC3339.
Declaration
public DateTime? ScheduledFor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | Time used for run's "now" option, RFC3339. |
StartedAt
Time run started executing, RFC3339Nano.
Declaration
public DateTime? StartedAt { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | Time run started executing, RFC3339Nano. |
Status
Gets or Sets Status
Declaration
public Run.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Run.StatusEnum> |
TaskID
Gets or Sets TaskID
Declaration
public string TaskID { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Run)
Returns true if Run instances are equal
Declaration
public bool Equals(Run input)
Parameters
Type | Name | Description |
---|---|---|
Run | input | Instance of Run 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 |