InfluxDB PHP Client
|
Public Member Functions | |
getModelName () | |
getLastRunStatusAllowableValues () | |
__construct (array $data=null) | |
listInvalidProperties () | |
valid () | |
getId () | |
setId ($id) | |
getName () | |
setName ($name) | |
getOrgId () | |
setOrgId ($org_id) | |
getTaskId () | |
setTaskId ($task_id) | |
getOwnerId () | |
setOwnerId ($owner_id) | |
getCreatedAt () | |
setCreatedAt ($created_at) | |
getUpdatedAt () | |
setUpdatedAt ($updated_at) | |
getQuery () | |
setQuery ($query) | |
getStatus () | |
setStatus ($status) | |
getDescription () | |
setDescription ($description) | |
getLatestCompleted () | |
setLatestCompleted ($latest_completed) | |
getLastRunStatus () | |
setLastRunStatus ($last_run_status) | |
getLastRunError () | |
setLastRunError ($last_run_error) | |
getLabels () | |
setLabels ($labels) | |
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 = 'CheckBase' |
static | $openAPITypes |
static | $openAPIFormats |
static | $attributeMap |
static | $setters |
static | $getters |
InfluxDB2\Model\CheckBase::__construct | ( | array | $data = null | ) |
Constructor
mixed[] | $data | Associated array of property values initializing the model |
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::__toString | ( | ) |
Gets the string presentation of the object
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
|
static |
Array of attributes where the key is the local name, and the value is the original name
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::getCreatedAt | ( | ) |
Gets created_at
InfluxDB2\Model\CheckBase::getDescription | ( | ) |
Gets description
InfluxDB2\Model\CheckBase::getId | ( | ) |
Gets id
InfluxDB2\Model\CheckBase::getLabels | ( | ) |
Gets labels
InfluxDB2\Model\CheckBase::getLastRunError | ( | ) |
Gets last_run_error
InfluxDB2\Model\CheckBase::getLastRunStatus | ( | ) |
Gets last_run_status
InfluxDB2\Model\CheckBase::getLastRunStatusAllowableValues | ( | ) |
Gets allowable values of the enum
InfluxDB2\Model\CheckBase::getLatestCompleted | ( | ) |
Gets latest_completed
InfluxDB2\Model\CheckBase::getLinks | ( | ) |
Gets links
InfluxDB2\Model\CheckBase::getModelName | ( | ) |
The original name of the model.
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::getName | ( | ) |
Gets name
InfluxDB2\Model\CheckBase::getOrgId | ( | ) |
Gets org_id
InfluxDB2\Model\CheckBase::getOwnerId | ( | ) |
Gets owner_id
InfluxDB2\Model\CheckBase::getQuery | ( | ) |
Gets query
InfluxDB2\Model\CheckBase::getStatus | ( | ) |
Gets status
InfluxDB2\Model\CheckBase::getTaskId | ( | ) |
Gets task_id
|
static |
Array of attributes to getter functions (for serialization of requests)
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::getUpdatedAt | ( | ) |
Gets updated_at
InfluxDB2\Model\CheckBase::listInvalidProperties | ( | ) |
Show all the invalid properties with reasons.
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::offsetExists | ( | $offset | ) |
Returns true if offset exists. False otherwise.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::offsetGet | ( | $offset | ) |
Gets offset.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::offsetSet | ( | $offset, | |
$value ) |
Sets value based on offset.
integer | $offset | Offset |
mixed | $value | Value to be set |
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::offsetUnset | ( | $offset | ) |
Unsets offset.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
|
static |
Array of property to format mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
|
static |
Array of property to type mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::setCreatedAt | ( | $created_at | ) |
Sets created_at
\DateTime | null | $created_at | created_at |
InfluxDB2\Model\CheckBase::setDescription | ( | $description | ) |
Sets description
string | null | $description | An optional description of the check. |
InfluxDB2\Model\CheckBase::setId | ( | $id | ) |
Sets id
string | null | $id | id |
InfluxDB2\Model\CheckBase::setLabels | ( | $labels | ) |
Sets labels
\InfluxDB2\Model\Label[] | null | $labels | labels |
InfluxDB2\Model\CheckBase::setLastRunError | ( | $last_run_error | ) |
Sets last_run_error
string | null | $last_run_error | last_run_error |
InfluxDB2\Model\CheckBase::setLastRunStatus | ( | $last_run_status | ) |
Sets last_run_status
string | null | $last_run_status | last_run_status |
InfluxDB2\Model\CheckBase::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\CheckBase::setLinks | ( | $links | ) |
Sets links
\InfluxDB2\Model\CheckBaseLinks | null | $links | links |
InfluxDB2\Model\CheckBase::setName | ( | $name | ) |
Sets name
string | $name | name |
InfluxDB2\Model\CheckBase::setOrgId | ( | $org_id | ) |
Sets org_id
string | $org_id | The ID of the organization that owns this check. |
InfluxDB2\Model\CheckBase::setOwnerId | ( | $owner_id | ) |
Sets owner_id
string | null | $owner_id | The ID of creator used to create this check. |
InfluxDB2\Model\CheckBase::setQuery | ( | $query | ) |
Sets query
\InfluxDB2\Model\DashboardQuery | $query | query |
InfluxDB2\Model\CheckBase::setStatus | ( | $status | ) |
Sets status
\InfluxDB2\Model\TaskStatusType | null | $status | status |
InfluxDB2\Model\CheckBase::setTaskId | ( | $task_id | ) |
Sets task_id
string | null | $task_id | The ID of the task associated with this check. |
|
static |
Array of attributes to setter functions (for deserialization of responses)
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
InfluxDB2\Model\CheckBase::setUpdatedAt | ( | $updated_at | ) |
Sets updated_at
\DateTime | null | $updated_at | updated_at |
InfluxDB2\Model\CheckBase::valid | ( | ) |
Validate all the properties in the model return true if all passed
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\Check, InfluxDB2\Model\CheckDiscriminator, InfluxDB2\Model\CustomCheck, InfluxDB2\Model\DeadmanCheck, and InfluxDB2\Model\ThresholdCheck.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |