InfluxDB PHP Client
|
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 = 'NotificationRuleBase' |
static | $openAPITypes |
static | $openAPIFormats |
static | $attributeMap |
static | $setters |
static | $getters |
InfluxDB2\Model\NotificationRuleBase::__construct | ( | array | $data = null | ) |
Constructor
mixed[] | $data | Associated array of property values initializing the model |
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::__toString | ( | ) |
Gets the string presentation of the object
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
|
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\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::getCreatedAt | ( | ) |
Gets created_at
InfluxDB2\Model\NotificationRuleBase::getDescription | ( | ) |
Gets description
InfluxDB2\Model\NotificationRuleBase::getEndpointId | ( | ) |
Gets endpoint_id
InfluxDB2\Model\NotificationRuleBase::getEvery | ( | ) |
Gets every
InfluxDB2\Model\NotificationRuleBase::getId | ( | ) |
Gets id
InfluxDB2\Model\NotificationRuleBase::getLabels | ( | ) |
Gets labels
InfluxDB2\Model\NotificationRuleBase::getLastRunError | ( | ) |
Gets last_run_error
InfluxDB2\Model\NotificationRuleBase::getLastRunStatus | ( | ) |
Gets last_run_status
InfluxDB2\Model\NotificationRuleBase::getLastRunStatusAllowableValues | ( | ) |
Gets allowable values of the enum
InfluxDB2\Model\NotificationRuleBase::getLatestCompleted | ( | ) |
Gets latest_completed
InfluxDB2\Model\NotificationRuleBase::getLimit | ( | ) |
Gets limit
InfluxDB2\Model\NotificationRuleBase::getLimitEvery | ( | ) |
Gets limit_every
InfluxDB2\Model\NotificationRuleBase::getLinks | ( | ) |
Gets links
InfluxDB2\Model\NotificationRuleBase::getModelName | ( | ) |
The original name of the model.
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::getName | ( | ) |
Gets name
InfluxDB2\Model\NotificationRuleBase::getOffset | ( | ) |
Gets offset
InfluxDB2\Model\NotificationRuleBase::getOrgId | ( | ) |
Gets org_id
InfluxDB2\Model\NotificationRuleBase::getOwnerId | ( | ) |
Gets owner_id
InfluxDB2\Model\NotificationRuleBase::getRunbookLink | ( | ) |
Gets runbook_link
InfluxDB2\Model\NotificationRuleBase::getSleepUntil | ( | ) |
Gets sleep_until
InfluxDB2\Model\NotificationRuleBase::getStatus | ( | ) |
Gets status
InfluxDB2\Model\NotificationRuleBase::getStatusRules | ( | ) |
Gets status_rules
InfluxDB2\Model\NotificationRuleBase::getTagRules | ( | ) |
Gets tag_rules
InfluxDB2\Model\NotificationRuleBase::getTaskId | ( | ) |
Gets task_id
|
static |
Array of attributes to getter functions (for serialization of requests)
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::getUpdatedAt | ( | ) |
Gets updated_at
InfluxDB2\Model\NotificationRuleBase::listInvalidProperties | ( | ) |
Show all the invalid properties with reasons.
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::offsetExists | ( | $offset | ) |
Returns true if offset exists. False otherwise.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::offsetGet | ( | $offset | ) |
Gets offset.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::offsetSet | ( | $offset, | |
$value ) |
Sets value based on offset.
integer | $offset | Offset |
mixed | $value | Value to be set |
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::offsetUnset | ( | $offset | ) |
Unsets offset.
integer | $offset | Offset |
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
|
static |
Array of property to format mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
|
static |
Array of property to type mappings. Used for (de)serialization
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::setCreatedAt | ( | $created_at | ) |
Sets created_at
\DateTime | null | $created_at | created_at |
InfluxDB2\Model\NotificationRuleBase::setDescription | ( | $description | ) |
Sets description
string | null | $description | An optional description of the notification rule. |
InfluxDB2\Model\NotificationRuleBase::setEndpointId | ( | $endpoint_id | ) |
Sets endpoint_id
string | $endpoint_id | endpoint_id |
InfluxDB2\Model\NotificationRuleBase::setEvery | ( | $every | ) |
Sets every
string | null | $every | The notification repetition interval. |
InfluxDB2\Model\NotificationRuleBase::setId | ( | $id | ) |
Sets id
string | null | $id | id |
InfluxDB2\Model\NotificationRuleBase::setLabels | ( | $labels | ) |
Sets labels
\InfluxDB2\Model\Label[] | null | $labels | labels |
InfluxDB2\Model\NotificationRuleBase::setLastRunError | ( | $last_run_error | ) |
Sets last_run_error
string | null | $last_run_error | last_run_error |
InfluxDB2\Model\NotificationRuleBase::setLastRunStatus | ( | $last_run_status | ) |
Sets last_run_status
string | null | $last_run_status | last_run_status |
InfluxDB2\Model\NotificationRuleBase::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\NotificationRuleBase::setLimit | ( | $limit | ) |
Sets limit
int | null | $limit | Don't notify me more than <limit> times every <limitEvery> seconds. If set, limitEvery cannot be empty. |
InfluxDB2\Model\NotificationRuleBase::setLimitEvery | ( | $limit_every | ) |
Sets limit_every
int | null | $limit_every | Don't notify me more than <limit> times every <limitEvery> seconds. If set, limit cannot be empty. |
InfluxDB2\Model\NotificationRuleBase::setLinks | ( | $links | ) |
Sets links
\InfluxDB2\Model\NotificationRuleBaseLinks | null | $links | links |
InfluxDB2\Model\NotificationRuleBase::setName | ( | $name | ) |
Sets name
string | $name | Human-readable name describing the notification rule. |
InfluxDB2\Model\NotificationRuleBase::setOffset | ( | $offset | ) |
Sets offset
string | null | $offset | Duration to delay after the schedule, before executing check. |
InfluxDB2\Model\NotificationRuleBase::setOrgId | ( | $org_id | ) |
Sets org_id
string | $org_id | The ID of the organization that owns this notification rule. |
InfluxDB2\Model\NotificationRuleBase::setOwnerId | ( | $owner_id | ) |
Sets owner_id
string | null | $owner_id | The ID of creator used to create this notification rule. |
InfluxDB2\Model\NotificationRuleBase::setRunbookLink | ( | $runbook_link | ) |
Sets runbook_link
string | null | $runbook_link | runbook_link |
InfluxDB2\Model\NotificationRuleBase::setSleepUntil | ( | $sleep_until | ) |
Sets sleep_until
string | null | $sleep_until | sleep_until |
InfluxDB2\Model\NotificationRuleBase::setStatus | ( | $status | ) |
Sets status
\InfluxDB2\Model\TaskStatusType | $status | status |
InfluxDB2\Model\NotificationRuleBase::setStatusRules | ( | $status_rules | ) |
Sets status_rules
\InfluxDB2\Model\StatusRule[] | $status_rules | List of status rules the notification rule attempts to match. |
InfluxDB2\Model\NotificationRuleBase::setTagRules | ( | $tag_rules | ) |
Sets tag_rules
\InfluxDB2\Model\TagRule[] | null | $tag_rules | List of tag rules the notification rule attempts to match. |
InfluxDB2\Model\NotificationRuleBase::setTaskId | ( | $task_id | ) |
Sets task_id
string | null | $task_id | The ID of the task associated with this notification rule. |
|
static |
Array of attributes to setter functions (for deserialization of responses)
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
InfluxDB2\Model\NotificationRuleBase::setUpdatedAt | ( | $updated_at | ) |
Sets updated_at
\DateTime | null | $updated_at | updated_at |
InfluxDB2\Model\NotificationRuleBase::valid | ( | ) |
Validate all the properties in the model return true if all passed
Implements InfluxDB2\Model\ModelInterface.
Reimplemented in InfluxDB2\Model\HTTPNotificationRule, InfluxDB2\Model\HTTPNotificationRuleBase, InfluxDB2\Model\NotificationRule, InfluxDB2\Model\NotificationRuleDiscriminator, InfluxDB2\Model\PagerDutyNotificationRule, InfluxDB2\Model\PagerDutyNotificationRuleBase, InfluxDB2\Model\SlackNotificationRule, InfluxDB2\Model\SlackNotificationRuleBase, InfluxDB2\Model\SMTPNotificationRule, InfluxDB2\Model\SMTPNotificationRuleBase, InfluxDB2\Model\TelegramNotificationRule, and InfluxDB2\Model\TelegramNotificationRuleBase.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |