Class TaskUpdateRequest
TaskUpdateRequest
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class TaskUpdateRequest : IEquatable<TaskUpdateRequest>
Constructors
TaskUpdateRequest(Nullable<TaskStatusType>, String, String, String, String, String, String)
Initializes a new instance of the Task
Declaration
public TaskUpdateRequest(TaskStatusType? status = null, string flux = null, string name = null, string every = null, string cron = null, string offset = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
status | status. |
System. |
flux | The Flux script to run for this task.. |
System. |
name | Override the 'name' option in the flux script.. |
System. |
every | Override the 'every' option in the flux script.. |
System. |
cron | Override the 'cron' option in the flux script.. |
System. |
offset | Override the 'offset' option in the flux script.. |
System. |
description | An optional description of the task.. |
Properties
Cron
Override the 'cron' option in the flux script.
Declaration
public string Cron { get; set; }
Property Value
Type | Description |
---|---|
System. |
Override the 'cron' option in the flux script. |
Description
An optional description of the task.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
An optional description of the task. |
Every
Override the 'every' option in the flux script.
Declaration
public string Every { get; set; }
Property Value
Type | Description |
---|---|
System. |
Override the 'every' option in the flux script. |
Flux
The Flux script to run for this task.
Declaration
public string Flux { get; set; }
Property Value
Type | Description |
---|---|
System. |
The Flux script to run for this task. |
Name
Override the 'name' option in the flux script.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
Override the 'name' option in the flux script. |
Offset
Override the 'offset' option in the flux script.
Declaration
public string Offset { get; set; }
Property Value
Type | Description |
---|---|
System. |
Override the 'offset' option in the flux script. |
Status
Gets or Sets Status
Declaration
public TaskStatusType? Status { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(TaskUpdateRequest)
Returns true if TaskUpdateRequest instances are equal
Declaration
public bool Equals(TaskUpdateRequest input)
Parameters
Type | Name | Description |
---|---|---|
Task |
input | Instance of TaskUpdateRequest 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 |