|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\StatusRule::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\StatusRule::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\StatusRule::attributeMap |
( |
| ) |
|
|
static |
◆ getCount()
InfluxDB2\Model\StatusRule::getCount |
( |
| ) |
|
Gets count
- Returns
- int|null
◆ getCurrentLevel()
InfluxDB2\Model\StatusRule::getCurrentLevel |
( |
| ) |
|
Gets current_level
- Returns
- \InfluxDB2\Model\RuleStatusLevel|null
◆ getModelName()
InfluxDB2\Model\StatusRule::getModelName |
( |
| ) |
|
◆ getPeriod()
InfluxDB2\Model\StatusRule::getPeriod |
( |
| ) |
|
Gets period
- Returns
- string|null
◆ getPreviousLevel()
InfluxDB2\Model\StatusRule::getPreviousLevel |
( |
| ) |
|
Gets previous_level
- Returns
- \InfluxDB2\Model\RuleStatusLevel|null
◆ getters()
static InfluxDB2\Model\StatusRule::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\StatusRule::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\StatusRule::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\StatusRule::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\StatusRule::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\StatusRule::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\StatusRule::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\StatusRule::openAPITypes |
( |
| ) |
|
|
static |
◆ setCount()
InfluxDB2\Model\StatusRule::setCount |
( |
| $count | ) |
|
Sets count
- Parameters
-
- Returns
- $this
◆ setCurrentLevel()
InfluxDB2\Model\StatusRule::setCurrentLevel |
( |
| $current_level | ) |
|
Sets current_level
- Parameters
-
\InfluxDB2\Model\RuleStatusLevel | null | $current_level | current_level |
- Returns
- $this
◆ setPeriod()
InfluxDB2\Model\StatusRule::setPeriod |
( |
| $period | ) |
|
Sets period
- Parameters
-
string | null | $period | period |
- Returns
- $this
◆ setPreviousLevel()
InfluxDB2\Model\StatusRule::setPreviousLevel |
( |
| $previous_level | ) |
|
Sets previous_level
- Parameters
-
\InfluxDB2\Model\RuleStatusLevel | null | $previous_level | previous_level |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\StatusRule::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\StatusRule::valid |
( |
| ) |
|
Validate all the properties in the model return true if all passed
- Returns
- bool True if all properties are valid
Implements InfluxDB2\Model\ModelInterface.
◆ $attributeMap
InfluxDB2\Model\StatusRule::$attributeMap |
|
staticprotected |
Initial value:= [
'current_level' => 'currentLevel',
'previous_level' => 'previousLevel',
'count' => 'count',
'period' => 'period'
]
◆ $getters
InfluxDB2\Model\StatusRule::$getters |
|
staticprotected |
Initial value:= [
'current_level' => 'getCurrentLevel',
'previous_level' => 'getPreviousLevel',
'count' => 'getCount',
'period' => 'getPeriod'
]
◆ $openAPIFormats
InfluxDB2\Model\StatusRule::$openAPIFormats |
|
staticprotected |
Initial value:= [
'current_level' => null,
'previous_level' => null,
'count' => 'int32',
'period' => null
]
◆ $openAPITypes
InfluxDB2\Model\StatusRule::$openAPITypes |
|
staticprotected |
Initial value:= [
'current_level' => '\InfluxDB2\Model\RuleStatusLevel',
'previous_level' => '\InfluxDB2\Model\RuleStatusLevel',
'count' => 'int',
'period' => 'string'
]
◆ $setters
InfluxDB2\Model\StatusRule::$setters |
|
staticprotected |
Initial value:= [
'current_level' => 'setCurrentLevel',
'previous_level' => 'setPreviousLevel',
'count' => 'setCount',
'period' => 'setPeriod'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/StatusRule.php