|
const | DISCRIMINATOR = null |
|
const | TYPE_MIN = 'min' |
|
const | TYPE_MAX = 'max' |
|
const | TYPE_THRESHOLD = 'threshold' |
|
const | TYPE_SCALE = 'scale' |
|
const | TYPE_TEXT = 'text' |
|
const | TYPE_BACKGROUND = 'background' |
|
◆ __construct()
InfluxDB2\Model\DashboardColor::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\DashboardColor::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\DashboardColor::attributeMap |
( |
| ) |
|
|
static |
◆ getHex()
InfluxDB2\Model\DashboardColor::getHex |
( |
| ) |
|
◆ getId()
InfluxDB2\Model\DashboardColor::getId |
( |
| ) |
|
◆ getModelName()
InfluxDB2\Model\DashboardColor::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\DashboardColor::getName |
( |
| ) |
|
◆ getters()
static InfluxDB2\Model\DashboardColor::getters |
( |
| ) |
|
|
static |
◆ getType()
InfluxDB2\Model\DashboardColor::getType |
( |
| ) |
|
◆ getTypeAllowableValues()
InfluxDB2\Model\DashboardColor::getTypeAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getValue()
InfluxDB2\Model\DashboardColor::getValue |
( |
| ) |
|
◆ listInvalidProperties()
InfluxDB2\Model\DashboardColor::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\DashboardColor::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\DashboardColor::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\DashboardColor::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\DashboardColor::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\DashboardColor::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\DashboardColor::openAPITypes |
( |
| ) |
|
|
static |
◆ setHex()
InfluxDB2\Model\DashboardColor::setHex |
( |
| $hex | ) |
|
Sets hex
- Parameters
-
string | $hex | The hex number of the color |
- Returns
- $this
◆ setId()
InfluxDB2\Model\DashboardColor::setId |
( |
| $id | ) |
|
Sets id
- Parameters
-
string | $id | The unique ID of the view color. |
- Returns
- $this
◆ setName()
InfluxDB2\Model\DashboardColor::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
string | $name | The user-facing name of the hex color. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\DashboardColor::setters |
( |
| ) |
|
|
static |
◆ setType()
InfluxDB2\Model\DashboardColor::setType |
( |
| $type | ) |
|
Sets type
- Parameters
-
string | $type | Type is how the color is used. |
- Returns
- $this
◆ setValue()
InfluxDB2\Model\DashboardColor::setValue |
( |
| $value | ) |
|
Sets value
- Parameters
-
float | $value | The data value mapped to this color. |
- Returns
- $this
◆ valid()
InfluxDB2\Model\DashboardColor::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\DashboardColor::$attributeMap |
|
staticprotected |
Initial value:= [
'id' => 'id',
'type' => 'type',
'hex' => 'hex',
'name' => 'name',
'value' => 'value'
]
◆ $getters
InfluxDB2\Model\DashboardColor::$getters |
|
staticprotected |
Initial value:= [
'id' => 'getId',
'type' => 'getType',
'hex' => 'getHex',
'name' => 'getName',
'value' => 'getValue'
]
◆ $openAPIFormats
InfluxDB2\Model\DashboardColor::$openAPIFormats |
|
staticprotected |
Initial value:= [
'id' => null,
'type' => null,
'hex' => null,
'name' => null,
'value' => 'float'
]
◆ $openAPITypes
InfluxDB2\Model\DashboardColor::$openAPITypes |
|
staticprotected |
Initial value:= [
'id' => 'string',
'type' => 'string',
'hex' => 'string',
'name' => 'string',
'value' => 'float'
]
◆ $setters
InfluxDB2\Model\DashboardColor::$setters |
|
staticprotected |
Initial value:= [
'id' => 'setId',
'type' => 'setType',
'hex' => 'setHex',
'name' => 'setName',
'value' => 'setValue'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/DashboardColor.php