InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\StaticLegend Class Reference
Inheritance diagram for InfluxDB2\Model\StaticLegend:
InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getColorizeRows ()
 
 setColorizeRows ($colorize_rows)
 
 getHeightRatio ()
 
 setHeightRatio ($height_ratio)
 
 getShow ()
 
 setShow ($show)
 
 getOpacity ()
 
 setOpacity ($opacity)
 
 getOrientationThreshold ()
 
 setOrientationThreshold ($orientation_threshold)
 
 getValueAxis ()
 
 setValueAxis ($value_axis)
 
 getWidthRatio ()
 
 setWidthRatio ($width_ratio)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 

Protected Attributes

 $container = []
 

Static Protected Attributes

static $openAPIModelName = 'StaticLegend'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Model\StaticLegend::__construct ( array $data = null)

Constructor

Parameters
mixed[]$dataAssociated array of property values initializing the model

Member Function Documentation

◆ __toString()

InfluxDB2\Model\StaticLegend::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\StaticLegend::attributeMap ( )
static

Array of attributes where the key is the local name, and the value is the original name

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getColorizeRows()

InfluxDB2\Model\StaticLegend::getColorizeRows ( )

Gets colorize_rows

Returns
bool|null

◆ getHeightRatio()

InfluxDB2\Model\StaticLegend::getHeightRatio ( )

Gets height_ratio

Returns
float|null

◆ getModelName()

InfluxDB2\Model\StaticLegend::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getOpacity()

InfluxDB2\Model\StaticLegend::getOpacity ( )

Gets opacity

Returns
float|null

◆ getOrientationThreshold()

InfluxDB2\Model\StaticLegend::getOrientationThreshold ( )

Gets orientation_threshold

Returns
int|null

◆ getShow()

InfluxDB2\Model\StaticLegend::getShow ( )

Gets show

Returns
bool|null

◆ getters()

static InfluxDB2\Model\StaticLegend::getters ( )
static

Array of attributes to getter functions (for serialization of requests)

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getValueAxis()

InfluxDB2\Model\StaticLegend::getValueAxis ( )

Gets value_axis

Returns
string|null

◆ getWidthRatio()

InfluxDB2\Model\StaticLegend::getWidthRatio ( )

Gets width_ratio

Returns
float|null

◆ listInvalidProperties()

InfluxDB2\Model\StaticLegend::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

InfluxDB2\Model\StaticLegend::offsetExists ( $offset)

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

InfluxDB2\Model\StaticLegend::offsetGet ( $offset)

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

InfluxDB2\Model\StaticLegend::offsetSet ( $offset,
$value )

Sets value based on offset.

Parameters
integer$offsetOffset
mixed$valueValue to be set
Returns
void

◆ offsetUnset()

InfluxDB2\Model\StaticLegend::offsetUnset ( $offset)

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

static InfluxDB2\Model\StaticLegend::openAPIFormats ( )
static

Array of property to format mappings. Used for (de)serialization

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

static InfluxDB2\Model\StaticLegend::openAPITypes ( )
static

Array of property to type mappings. Used for (de)serialization

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setColorizeRows()

InfluxDB2\Model\StaticLegend::setColorizeRows ( $colorize_rows)

Sets colorize_rows

Parameters
bool | null$colorize_rowscolorize_rows
Returns
$this

◆ setHeightRatio()

InfluxDB2\Model\StaticLegend::setHeightRatio ( $height_ratio)

Sets height_ratio

Parameters
float | null$height_ratioheight_ratio
Returns
$this

◆ setOpacity()

InfluxDB2\Model\StaticLegend::setOpacity ( $opacity)

Sets opacity

Parameters
float | null$opacityopacity
Returns
$this

◆ setOrientationThreshold()

InfluxDB2\Model\StaticLegend::setOrientationThreshold ( $orientation_threshold)

Sets orientation_threshold

Parameters
int | null$orientation_thresholdorientation_threshold
Returns
$this

◆ setShow()

InfluxDB2\Model\StaticLegend::setShow ( $show)

Sets show

Parameters
bool | null$showshow
Returns
$this

◆ setters()

static InfluxDB2\Model\StaticLegend::setters ( )
static

Array of attributes to setter functions (for deserialization of responses)

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setValueAxis()

InfluxDB2\Model\StaticLegend::setValueAxis ( $value_axis)

Sets value_axis

Parameters
string | null$value_axisvalue_axis
Returns
$this

◆ setWidthRatio()

InfluxDB2\Model\StaticLegend::setWidthRatio ( $width_ratio)

Sets width_ratio

Parameters
float | null$width_ratiowidth_ratio
Returns
$this

◆ valid()

InfluxDB2\Model\StaticLegend::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.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\StaticLegend::$attributeMap
staticprotected
Initial value:
= [
'colorize_rows' => 'colorizeRows',
'height_ratio' => 'heightRatio',
'show' => 'show',
'opacity' => 'opacity',
'orientation_threshold' => 'orientationThreshold',
'value_axis' => 'valueAxis',
'width_ratio' => 'widthRatio'
]

◆ $getters

InfluxDB2\Model\StaticLegend::$getters
staticprotected
Initial value:
= [
'colorize_rows' => 'getColorizeRows',
'height_ratio' => 'getHeightRatio',
'show' => 'getShow',
'opacity' => 'getOpacity',
'orientation_threshold' => 'getOrientationThreshold',
'value_axis' => 'getValueAxis',
'width_ratio' => 'getWidthRatio'
]

◆ $openAPIFormats

InfluxDB2\Model\StaticLegend::$openAPIFormats
staticprotected
Initial value:
= [
'colorize_rows' => null,
'height_ratio' => 'float',
'show' => null,
'opacity' => 'float',
'orientation_threshold' => 'int32',
'value_axis' => null,
'width_ratio' => 'float'
]

◆ $openAPITypes

InfluxDB2\Model\StaticLegend::$openAPITypes
staticprotected
Initial value:
= [
'colorize_rows' => 'bool',
'height_ratio' => 'float',
'show' => 'bool',
'opacity' => 'float',
'orientation_threshold' => 'int',
'value_axis' => 'string',
'width_ratio' => 'float'
]

◆ $setters

InfluxDB2\Model\StaticLegend::$setters
staticprotected
Initial value:
= [
'colorize_rows' => 'setColorizeRows',
'height_ratio' => 'setHeightRatio',
'show' => 'setShow',
'opacity' => 'setOpacity',
'orientation_threshold' => 'setOrientationThreshold',
'value_axis' => 'setValueAxis',
'width_ratio' => 'setWidthRatio'
]

The documentation for this class was generated from the following file: