InfluxDB PHP Client
|
Public Member Functions | |
getModelName () | |
getLastRunStatusAllowableValues () | |
__construct (array $data=null) | |
listInvalidProperties () | |
valid () | |
getId () | |
setId ($id) | |
getOrgId () | |
setOrgId ($org_id) | |
getOrg () | |
setOrg ($org) | |
getName () | |
setName ($name) | |
getOwnerId () | |
setOwnerId ($owner_id) | |
getDescription () | |
setDescription ($description) | |
getStatus () | |
setStatus ($status) | |
getLabels () | |
setLabels ($labels) | |
getAuthorizationId () | |
setAuthorizationId ($authorization_id) | |
getFlux () | |
setFlux ($flux) | |
getEvery () | |
setEvery ($every) | |
getCron () | |
setCron ($cron) | |
getOffset () | |
setOffset ($offset) | |
getLatestCompleted () | |
setLatestCompleted ($latest_completed) | |
getLastRunStatus () | |
setLastRunStatus ($last_run_status) | |
getLastRunError () | |
setLastRunError ($last_run_error) | |
getCreatedAt () | |
setCreatedAt ($created_at) | |
getUpdatedAt () | |
setUpdatedAt ($updated_at) | |
getLinks () | |
setLinks ($links) | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
__toString () | |
Static Public Member Functions | |
static | openAPITypes () |
static | openAPIFormats () |
static | attributeMap () |
static | setters () |
static | getters () |
Public Attributes | |
const | DISCRIMINATOR = null |
const | LAST_RUN_STATUS_FAILED = 'failed' |
const | LAST_RUN_STATUS_SUCCESS = 'success' |
const | LAST_RUN_STATUS_CANCELED = 'canceled' |
Protected Attributes | |
$container = [] | |
Static Protected Attributes | |
static | $openAPIModelName = 'Task' |
static | $openAPITypes |
static | $openAPIFormats |
static | $attributeMap |
static | $setters |
static | $getters |
InfluxDB2\Model\Task::__construct | ( | array | $data = null | ) |
Constructor
mixed[] | $data | Associated array of property values initializing the model |
InfluxDB2\Model\Task::__toString | ( | ) |
Gets the string presentation of the object
|
static |
Array of attributes where the key is the local name, and the value is the original name
Implements InfluxDB2\Model\ModelInterface.
InfluxDB2\Model\Task::getAuthorizationId | ( | ) |
Gets authorization_id
InfluxDB2\Model\Task::getCreatedAt | ( | ) |
Gets created_at
InfluxDB2\Model\Task::getCron | ( | ) |
Gets cron
InfluxDB2\Model\Task::getDescription | ( | ) |
Gets description
InfluxDB2\Model\Task::getEvery | ( | ) |
Gets every
InfluxDB2\Model\Task::getFlux | ( | ) |
Gets flux
InfluxDB2\Model\Task::getId | ( | ) |
Gets id
InfluxDB2\Model\Task::getLabels | ( | ) |
Gets labels
InfluxDB2\Model\Task::getLastRunError | ( | ) |
Gets last_run_error
InfluxDB2\Model\Task::getLastRunStatus | ( | ) |
Gets last_run_status
InfluxDB2\Model\Task::getLastRunStatusAllowableValues | ( | ) |
Gets allowable values of the enum
InfluxDB2\Model\Task::getLatestCompleted | ( | ) |
Gets latest_completed
InfluxDB2\Model\Task::getLinks | ( | ) |
Gets links
InfluxDB2\Model\Task::getModelName | ( | ) |
InfluxDB2\Model\Task::getName | ( | ) |
Gets name
InfluxDB2\Model\Task::getOffset | ( | ) |
Gets offset
InfluxDB2\Model\Task::getOrg | ( | ) |
Gets org
InfluxDB2\Model\Task::getOrgId | ( | ) |
Gets org_id
InfluxDB2\Model\Task::getOwnerId | ( | ) |
Gets owner_id
InfluxDB2\Model\Task::getStatus | ( | ) |
Gets status
|
static |
Array of attributes to getter functions (for serialization of requests)
Implements InfluxDB2\Model\ModelInterface.
InfluxDB2\Model\Task::getUpdatedAt | ( | ) |
Gets updated_at
InfluxDB2\Model\Task::listInvalidProperties | ( | ) |
Show all the invalid properties with reasons.
Implements InfluxDB2\Model\ModelInterface.
InfluxDB2\Model\Task::offsetExists | ( | $offset | ) |
Returns true if offset exists. False otherwise.
integer | $offset | Offset |
InfluxDB2\Model\Task::offsetGet | ( | $offset | ) |
Gets offset.
integer | $offset | Offset |
InfluxDB2\Model\Task::offsetSet | ( | $offset, | |
$value ) |
Sets value based on offset.
integer | $offset | Offset |
mixed | $value | Value to be set |
InfluxDB2\Model\Task::offsetUnset | ( | $offset | ) |
Unsets offset.
integer | $offset | Offset |
|
static |
Array of property to format mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
|
static |
Array of property to type mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
InfluxDB2\Model\Task::setAuthorizationId | ( | $authorization_id | ) |
Sets authorization_id
string | null | $authorization_id | The ID of the authorization used when the task communicates with the query engine. |
InfluxDB2\Model\Task::setCreatedAt | ( | $created_at | ) |
Sets created_at
\DateTime | null | $created_at | created_at |
InfluxDB2\Model\Task::setCron | ( | $cron | ) |
Sets cron
string | null | $cron | Cron expression that defines the schedule on which the task runs. InfluxDB bases cron runs on the system time. |
InfluxDB2\Model\Task::setDescription | ( | $description | ) |
Sets description
string | null | $description | The description of the task. |
InfluxDB2\Model\Task::setEvery | ( | $every | ) |
Sets every
string | null | $every | An interval (duration literal)) at which the task runs. every also determines when the task first runs, depending on the specified time. |
InfluxDB2\Model\Task::setFlux | ( | $flux | ) |
Sets flux
string | $flux | The Flux script that the task runs. |
InfluxDB2\Model\Task::setId | ( | $id | ) |
Sets id
string | $id | id |
InfluxDB2\Model\Task::setLabels | ( | $labels | ) |
Sets labels
\InfluxDB2\Model\Label[] | null | $labels | labels |
InfluxDB2\Model\Task::setLastRunError | ( | $last_run_error | ) |
Sets last_run_error
string | null | $last_run_error | last_run_error |
InfluxDB2\Model\Task::setLastRunStatus | ( | $last_run_status | ) |
Sets last_run_status
string | null | $last_run_status | last_run_status |
InfluxDB2\Model\Task::setLatestCompleted | ( | $latest_completed | ) |
Sets latest_completed
\DateTime | null | $latest_completed | A timestamp (RFC3339 date/time format) of the latest scheduled and completed run. |
InfluxDB2\Model\Task::setLinks | ( | $links | ) |
Sets links
\InfluxDB2\Model\TaskLinks | null | $links | links |
InfluxDB2\Model\Task::setName | ( | $name | ) |
Sets name
string | $name | The name of the task. |
InfluxDB2\Model\Task::setOffset | ( | $offset | ) |
Sets offset
string | null | $offset | A duration to delay execution of the task after the scheduled time has elapsed. 0 removes the offset. |
InfluxDB2\Model\Task::setOrg | ( | $org | ) |
Sets org
string | null | $org | The name of the organization that owns the task. |
InfluxDB2\Model\Task::setOrgId | ( | $org_id | ) |
Sets org_id
string | $org_id | The ID of the organization that owns the task. |
InfluxDB2\Model\Task::setOwnerId | ( | $owner_id | ) |
Sets owner_id
string | null | $owner_id | The ID of the user who owns the Task. |
InfluxDB2\Model\Task::setStatus | ( | $status | ) |
Sets status
\InfluxDB2\Model\TaskStatusType | null | $status | status |
|
static |
Array of attributes to setter functions (for deserialization of responses)
Implements InfluxDB2\Model\ModelInterface.
InfluxDB2\Model\Task::setUpdatedAt | ( | $updated_at | ) |
Sets updated_at
\DateTime | null | $updated_at | updated_at |
InfluxDB2\Model\Task::valid | ( | ) |
Validate all the properties in the model return true if all passed
Implements InfluxDB2\Model\ModelInterface.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |