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

Public Member Functions

 getModelName ()
 
 getTypeAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getType ()
 
 setType ($type)
 
 getMin ()
 
 setMin ($min)
 
 getMax ()
 
 setMax ($max)
 
 getWithin ()
 
 setWithin ($within)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\ThresholdBase
 getLevel ()
 
 setLevel ($level)
 
 getAllValues ()
 
 setAllValues ($all_values)
 

Static Public Member Functions

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

Public Attributes

const DISCRIMINATOR = null
 
const TYPE_RANGE = 'range'
 
- Public Attributes inherited from InfluxDB2\Model\Threshold
const DISCRIMINATOR = 'type'
 
- Public Attributes inherited from InfluxDB2\Model\ThresholdBase
const DISCRIMINATOR = null
 

Static Protected Attributes

static $openAPIModelName = 'RangeThreshold'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\Threshold
static $openAPIModelName = 'Threshold'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\ThresholdBase
static $openAPIModelName = 'ThresholdBase'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

- Protected Attributes inherited from InfluxDB2\Model\ThresholdBase
 $container = []
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\Threshold.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\RangeThreshold::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\Threshold.

◆ attributeMap()

static InfluxDB2\Model\RangeThreshold::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\Threshold.

◆ getMax()

InfluxDB2\Model\RangeThreshold::getMax ( )

Gets max

Returns
float

◆ getMin()

InfluxDB2\Model\RangeThreshold::getMin ( )

Gets min

Returns
float

◆ getModelName()

InfluxDB2\Model\RangeThreshold::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\Threshold.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Threshold.

◆ getType()

InfluxDB2\Model\RangeThreshold::getType ( )

Gets type

Returns
string

◆ getTypeAllowableValues()

InfluxDB2\Model\RangeThreshold::getTypeAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getWithin()

InfluxDB2\Model\RangeThreshold::getWithin ( )

Gets within

Returns
bool

◆ listInvalidProperties()

InfluxDB2\Model\RangeThreshold::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\Threshold.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\Threshold.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\Threshold.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\Threshold.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\Threshold.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Threshold.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Threshold.

◆ setMax()

InfluxDB2\Model\RangeThreshold::setMax ( $max)

Sets max

Parameters
float$maxmax
Returns
$this

◆ setMin()

InfluxDB2\Model\RangeThreshold::setMin ( $min)

Sets min

Parameters
float$minmin
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Threshold.

◆ setType()

InfluxDB2\Model\RangeThreshold::setType ( $type)

Sets type

Parameters
string$typetype
Returns
$this

◆ setWithin()

InfluxDB2\Model\RangeThreshold::setWithin ( $within)

Sets within

Parameters
bool$withinwithin
Returns
$this

◆ valid()

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

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\RangeThreshold::$attributeMap
staticprotected
Initial value:
= [
'type' => 'type',
'min' => 'min',
'max' => 'max',
'within' => 'within'
]

◆ $getters

InfluxDB2\Model\RangeThreshold::$getters
staticprotected
Initial value:
= [
'type' => 'getType',
'min' => 'getMin',
'max' => 'getMax',
'within' => 'getWithin'
]

◆ $openAPIFormats

InfluxDB2\Model\RangeThreshold::$openAPIFormats
staticprotected
Initial value:
= [
'type' => null,
'min' => 'float',
'max' => 'float',
'within' => null
]

◆ $openAPITypes

InfluxDB2\Model\RangeThreshold::$openAPITypes
staticprotected
Initial value:
= [
'type' => 'string',
'min' => 'float',
'max' => 'float',
'within' => 'bool'
]

◆ $setters

InfluxDB2\Model\RangeThreshold::$setters
staticprotected
Initial value:
= [
'type' => 'setType',
'min' => 'setMin',
'max' => 'setMax',
'within' => 'setWithin'
]

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