|
const | DISCRIMINATOR = null |
|
const | TYPE_THRESHOLD = 'threshold' |
|
const | DISCRIMINATOR = 'type' |
|
const | DISCRIMINATOR = 'type' |
|
const | DISCRIMINATOR = null |
|
const | LAST_RUN_STATUS_FAILED = 'failed' |
|
const | LAST_RUN_STATUS_SUCCESS = 'success' |
|
const | LAST_RUN_STATUS_CANCELED = 'canceled' |
|
◆ __construct()
InfluxDB2\Model\ThresholdCheck::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
Reimplemented from InfluxDB2\Model\Check.
◆ __toString()
InfluxDB2\Model\ThresholdCheck::__toString |
( |
| ) |
|
◆ attributeMap()
static InfluxDB2\Model\ThresholdCheck::attributeMap |
( |
| ) |
|
|
static |
Array of attributes where the key is the local name, and the value is the original name
- Returns
- array
Reimplemented from InfluxDB2\Model\Check.
◆ getEvery()
InfluxDB2\Model\ThresholdCheck::getEvery |
( |
| ) |
|
Gets every
- Returns
- string|null
◆ getModelName()
InfluxDB2\Model\ThresholdCheck::getModelName |
( |
| ) |
|
◆ getOffset()
InfluxDB2\Model\ThresholdCheck::getOffset |
( |
| ) |
|
Gets offset
- Returns
- string|null
◆ getStatusMessageTemplate()
InfluxDB2\Model\ThresholdCheck::getStatusMessageTemplate |
( |
| ) |
|
Gets status_message_template
- Returns
- string|null
◆ getTags()
InfluxDB2\Model\ThresholdCheck::getTags |
( |
| ) |
|
Gets tags
- Returns
- \InfluxDB2\Model\ThresholdCheckTags[]|null
◆ getters()
static InfluxDB2\Model\ThresholdCheck::getters |
( |
| ) |
|
|
static |
Array of attributes to getter functions (for serialization of requests)
- Returns
- array
Reimplemented from InfluxDB2\Model\Check.
◆ getThresholds()
InfluxDB2\Model\ThresholdCheck::getThresholds |
( |
| ) |
|
Gets thresholds
- Returns
- \InfluxDB2\Model\Threshold[]|null
◆ getType()
InfluxDB2\Model\ThresholdCheck::getType |
( |
| ) |
|
◆ getTypeAllowableValues()
InfluxDB2\Model\ThresholdCheck::getTypeAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ listInvalidProperties()
InfluxDB2\Model\ThresholdCheck::listInvalidProperties |
( |
| ) |
|
Show all the invalid properties with reasons.
- Returns
- array invalid properties with reasons
Reimplemented from InfluxDB2\Model\Check.
◆ offsetExists()
InfluxDB2\Model\ThresholdCheck::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
Reimplemented from InfluxDB2\Model\Check.
◆ offsetGet()
InfluxDB2\Model\ThresholdCheck::offsetGet |
( |
| $offset | ) |
|
◆ offsetSet()
InfluxDB2\Model\ThresholdCheck::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
Reimplemented from InfluxDB2\Model\Check.
◆ offsetUnset()
InfluxDB2\Model\ThresholdCheck::offsetUnset |
( |
| $offset | ) |
|
◆ openAPIFormats()
static InfluxDB2\Model\ThresholdCheck::openAPIFormats |
( |
| ) |
|
|
static |
Array of property to format mappings. Used for (de)serialization
- Returns
- array
Reimplemented from InfluxDB2\Model\Check.
◆ openAPITypes()
static InfluxDB2\Model\ThresholdCheck::openAPITypes |
( |
| ) |
|
|
static |
Array of property to type mappings. Used for (de)serialization
- Returns
- array
Reimplemented from InfluxDB2\Model\Check.
◆ setEvery()
InfluxDB2\Model\ThresholdCheck::setEvery |
( |
| $every | ) |
|
Sets every
- Parameters
-
string | null | $every | Check repetition interval. |
- Returns
- $this
◆ setOffset()
InfluxDB2\Model\ThresholdCheck::setOffset |
( |
| $offset | ) |
|
Sets offset
- Parameters
-
string | null | $offset | Duration to delay after the schedule, before executing check. |
- Returns
- $this
◆ setStatusMessageTemplate()
InfluxDB2\Model\ThresholdCheck::setStatusMessageTemplate |
( |
| $status_message_template | ) |
|
Sets status_message_template
- Parameters
-
string | null | $status_message_template | The template used to generate and write a status message. |
- Returns
- $this
◆ setTags()
InfluxDB2\Model\ThresholdCheck::setTags |
( |
| $tags | ) |
|
Sets tags
- Parameters
-
\InfluxDB2\Model\ThresholdCheckTags[] | null | $tags | List of tags to write to each status. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\ThresholdCheck::setters |
( |
| ) |
|
|
static |
Array of attributes to setter functions (for deserialization of responses)
- Returns
- array
Reimplemented from InfluxDB2\Model\Check.
◆ setThresholds()
InfluxDB2\Model\ThresholdCheck::setThresholds |
( |
| $thresholds | ) |
|
Sets thresholds
- Parameters
-
\InfluxDB2\Model\Threshold[] | null | $thresholds | thresholds |
- Returns
- $this
◆ setType()
InfluxDB2\Model\ThresholdCheck::setType |
( |
| $type | ) |
|
Sets type
- Parameters
-
- Returns
- $this
◆ valid()
InfluxDB2\Model\ThresholdCheck::valid |
( |
| ) |
|
Validate all the properties in the model return true if all passed
- Returns
- bool True if all properties are valid
Reimplemented from InfluxDB2\Model\Check.
◆ $attributeMap
InfluxDB2\Model\ThresholdCheck::$attributeMap |
|
staticprotected |
Initial value:= [
'type' => 'type',
'thresholds' => 'thresholds',
'every' => 'every',
'offset' => 'offset',
'tags' => 'tags',
'status_message_template' => 'statusMessageTemplate'
]
◆ $getters
InfluxDB2\Model\ThresholdCheck::$getters |
|
staticprotected |
Initial value:= [
'type' => 'getType',
'thresholds' => 'getThresholds',
'every' => 'getEvery',
'offset' => 'getOffset',
'tags' => 'getTags',
'status_message_template' => 'getStatusMessageTemplate'
]
◆ $openAPIFormats
InfluxDB2\Model\ThresholdCheck::$openAPIFormats |
|
staticprotected |
Initial value:= [
'type' => null,
'thresholds' => null,
'every' => null,
'offset' => null,
'tags' => null,
'status_message_template' => null
]
◆ $openAPITypes
InfluxDB2\Model\ThresholdCheck::$openAPITypes |
|
staticprotected |
Initial value:= [
'type' => 'string',
'thresholds' => '\InfluxDB2\Model\Threshold[]',
'every' => 'string',
'offset' => 'string',
'tags' => '\InfluxDB2\Model\ThresholdCheckTags[]',
'status_message_template' => 'string'
]
◆ $setters
InfluxDB2\Model\ThresholdCheck::$setters |
|
staticprotected |
Initial value:= [
'type' => 'setType',
'thresholds' => 'setThresholds',
'every' => 'setEvery',
'offset' => 'setOffset',
'tags' => 'setTags',
'status_message_template' => 'setStatusMessageTemplate'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/ThresholdCheck.php