|
const | DISCRIMINATOR = null |
|
const | TYPE_SINGLE_STAT = 'single-stat' |
|
const | SHAPE_CHRONOGRAF_V2 = 'chronograf-v2' |
|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\SingleStatViewProperties::__construct |
( |
array | $data = null | ) |
|
◆ __toString()
InfluxDB2\Model\SingleStatViewProperties::__toString |
( |
| ) |
|
◆ attributeMap()
static InfluxDB2\Model\SingleStatViewProperties::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\ViewProperties.
◆ getColors()
InfluxDB2\Model\SingleStatViewProperties::getColors |
( |
| ) |
|
Gets colors
- Returns
- \InfluxDB2\Model\DashboardColor[]
◆ getDecimalPlaces()
InfluxDB2\Model\SingleStatViewProperties::getDecimalPlaces |
( |
| ) |
|
Gets decimal_places
- Returns
- \InfluxDB2\Model\DecimalPlaces
◆ getModelName()
InfluxDB2\Model\SingleStatViewProperties::getModelName |
( |
| ) |
|
◆ getNote()
InfluxDB2\Model\SingleStatViewProperties::getNote |
( |
| ) |
|
◆ getPrefix()
InfluxDB2\Model\SingleStatViewProperties::getPrefix |
( |
| ) |
|
Gets prefix
- Returns
- string
◆ getQueries()
InfluxDB2\Model\SingleStatViewProperties::getQueries |
( |
| ) |
|
Gets queries
- Returns
- \InfluxDB2\Model\DashboardQuery[]
◆ getShape()
InfluxDB2\Model\SingleStatViewProperties::getShape |
( |
| ) |
|
◆ getShapeAllowableValues()
InfluxDB2\Model\SingleStatViewProperties::getShapeAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getShowNoteWhenEmpty()
InfluxDB2\Model\SingleStatViewProperties::getShowNoteWhenEmpty |
( |
| ) |
|
Gets show_note_when_empty
- Returns
- bool
◆ getStaticLegend()
InfluxDB2\Model\SingleStatViewProperties::getStaticLegend |
( |
| ) |
|
Gets static_legend
- Returns
- \InfluxDB2\Model\StaticLegend|null
◆ getSuffix()
InfluxDB2\Model\SingleStatViewProperties::getSuffix |
( |
| ) |
|
Gets suffix
- Returns
- string
◆ getters()
static InfluxDB2\Model\SingleStatViewProperties::getters |
( |
| ) |
|
|
static |
◆ getTickPrefix()
InfluxDB2\Model\SingleStatViewProperties::getTickPrefix |
( |
| ) |
|
Gets tick_prefix
- Returns
- string
◆ getTickSuffix()
InfluxDB2\Model\SingleStatViewProperties::getTickSuffix |
( |
| ) |
|
Gets tick_suffix
- Returns
- string
◆ getType()
InfluxDB2\Model\SingleStatViewProperties::getType |
( |
| ) |
|
◆ getTypeAllowableValues()
InfluxDB2\Model\SingleStatViewProperties::getTypeAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ listInvalidProperties()
InfluxDB2\Model\SingleStatViewProperties::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\SingleStatViewProperties::offsetExists |
( |
| $offset | ) |
|
◆ offsetGet()
InfluxDB2\Model\SingleStatViewProperties::offsetGet |
( |
| $offset | ) |
|
◆ offsetSet()
InfluxDB2\Model\SingleStatViewProperties::offsetSet |
( |
| $offset, |
|
|
| $value ) |
◆ offsetUnset()
InfluxDB2\Model\SingleStatViewProperties::offsetUnset |
( |
| $offset | ) |
|
◆ openAPIFormats()
static InfluxDB2\Model\SingleStatViewProperties::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\SingleStatViewProperties::openAPITypes |
( |
| ) |
|
|
static |
◆ setColors()
InfluxDB2\Model\SingleStatViewProperties::setColors |
( |
| $colors | ) |
|
Sets colors
- Parameters
-
\InfluxDB2\Model\DashboardColor[] | $colors | Colors define color encoding of data into a visualization |
- Returns
- $this
◆ setDecimalPlaces()
InfluxDB2\Model\SingleStatViewProperties::setDecimalPlaces |
( |
| $decimal_places | ) |
|
Sets decimal_places
- Parameters
-
\InfluxDB2\Model\DecimalPlaces | $decimal_places | decimal_places |
- Returns
- $this
◆ setNote()
InfluxDB2\Model\SingleStatViewProperties::setNote |
( |
| $note | ) |
|
Sets note
- Parameters
-
- Returns
- $this
◆ setPrefix()
InfluxDB2\Model\SingleStatViewProperties::setPrefix |
( |
| $prefix | ) |
|
Sets prefix
- Parameters
-
- Returns
- $this
◆ setQueries()
InfluxDB2\Model\SingleStatViewProperties::setQueries |
( |
| $queries | ) |
|
Sets queries
- Parameters
-
\InfluxDB2\Model\DashboardQuery[] | $queries | queries |
- Returns
- $this
◆ setShape()
InfluxDB2\Model\SingleStatViewProperties::setShape |
( |
| $shape | ) |
|
Sets shape
- Parameters
-
- Returns
- $this
◆ setShowNoteWhenEmpty()
InfluxDB2\Model\SingleStatViewProperties::setShowNoteWhenEmpty |
( |
| $show_note_when_empty | ) |
|
Sets show_note_when_empty
- Parameters
-
bool | $show_note_when_empty | If true, will display note when empty |
- Returns
- $this
◆ setStaticLegend()
InfluxDB2\Model\SingleStatViewProperties::setStaticLegend |
( |
| $static_legend | ) |
|
Sets static_legend
- Parameters
-
\InfluxDB2\Model\StaticLegend | null | $static_legend | static_legend |
- Returns
- $this
◆ setSuffix()
InfluxDB2\Model\SingleStatViewProperties::setSuffix |
( |
| $suffix | ) |
|
Sets suffix
- Parameters
-
- Returns
- $this
◆ setters()
static InfluxDB2\Model\SingleStatViewProperties::setters |
( |
| ) |
|
|
static |
◆ setTickPrefix()
InfluxDB2\Model\SingleStatViewProperties::setTickPrefix |
( |
| $tick_prefix | ) |
|
Sets tick_prefix
- Parameters
-
string | $tick_prefix | tick_prefix |
- Returns
- $this
◆ setTickSuffix()
InfluxDB2\Model\SingleStatViewProperties::setTickSuffix |
( |
| $tick_suffix | ) |
|
Sets tick_suffix
- Parameters
-
string | $tick_suffix | tick_suffix |
- Returns
- $this
◆ setType()
InfluxDB2\Model\SingleStatViewProperties::setType |
( |
| $type | ) |
|
Sets type
- Parameters
-
- Returns
- $this
◆ valid()
InfluxDB2\Model\SingleStatViewProperties::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\ViewProperties.
◆ $attributeMap
InfluxDB2\Model\SingleStatViewProperties::$attributeMap |
|
staticprotected |
Initial value:= [
'type' => 'type',
'queries' => 'queries',
'colors' => 'colors',
'shape' => 'shape',
'note' => 'note',
'show_note_when_empty' => 'showNoteWhenEmpty',
'prefix' => 'prefix',
'tick_prefix' => 'tickPrefix',
'suffix' => 'suffix',
'tick_suffix' => 'tickSuffix',
'static_legend' => 'staticLegend',
'decimal_places' => 'decimalPlaces'
]
◆ $getters
InfluxDB2\Model\SingleStatViewProperties::$getters |
|
staticprotected |
Initial value:= [
'type' => 'getType',
'queries' => 'getQueries',
'colors' => 'getColors',
'shape' => 'getShape',
'note' => 'getNote',
'show_note_when_empty' => 'getShowNoteWhenEmpty',
'prefix' => 'getPrefix',
'tick_prefix' => 'getTickPrefix',
'suffix' => 'getSuffix',
'tick_suffix' => 'getTickSuffix',
'static_legend' => 'getStaticLegend',
'decimal_places' => 'getDecimalPlaces'
]
◆ $openAPIFormats
InfluxDB2\Model\SingleStatViewProperties::$openAPIFormats |
|
staticprotected |
Initial value:= [
'type' => null,
'queries' => null,
'colors' => null,
'shape' => null,
'note' => null,
'show_note_when_empty' => null,
'prefix' => null,
'tick_prefix' => null,
'suffix' => null,
'tick_suffix' => null,
'static_legend' => null,
'decimal_places' => null
]
◆ $openAPITypes
InfluxDB2\Model\SingleStatViewProperties::$openAPITypes |
|
staticprotected |
Initial value:= [
'type' => 'string',
'queries' => '\InfluxDB2\Model\DashboardQuery[]',
'colors' => '\InfluxDB2\Model\DashboardColor[]',
'shape' => 'string',
'note' => 'string',
'show_note_when_empty' => 'bool',
'prefix' => 'string',
'tick_prefix' => 'string',
'suffix' => 'string',
'tick_suffix' => 'string',
'static_legend' => '\InfluxDB2\Model\StaticLegend',
'decimal_places' => '\InfluxDB2\Model\DecimalPlaces'
]
◆ $setters
InfluxDB2\Model\SingleStatViewProperties::$setters |
|
staticprotected |
Initial value:= [
'type' => 'setType',
'queries' => 'setQueries',
'colors' => 'setColors',
'shape' => 'setShape',
'note' => 'setNote',
'show_note_when_empty' => 'setShowNoteWhenEmpty',
'prefix' => 'setPrefix',
'tick_prefix' => 'setTickPrefix',
'suffix' => 'setSuffix',
'tick_suffix' => 'setTickSuffix',
'static_legend' => 'setStaticLegend',
'decimal_places' => 'setDecimalPlaces'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/SingleStatViewProperties.php