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\ConditionalExpression Class Reference
Inheritance diagram for InfluxDB2\Model\ConditionalExpression:
InfluxDB2\Model\Expression InfluxDB2\Model\Node InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getType ()
 
 setType ($type)
 
 getTest ()
 
 setTest ($test)
 
 getAlternate ()
 
 setAlternate ($alternate)
 
 getConsequent ()
 
 setConsequent ($consequent)
 
 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
 
- Public Attributes inherited from InfluxDB2\Model\Expression
const DISCRIMINATOR = null
 
- Public Attributes inherited from InfluxDB2\Model\Node
const DISCRIMINATOR = null
 

Static Protected Attributes

static $openAPIModelName = 'ConditionalExpression'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\Expression
static $openAPIModelName = 'Expression'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\Node
static $openAPIModelName = 'Node'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\Expression.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\ConditionalExpression::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\Expression.

◆ attributeMap()

static InfluxDB2\Model\ConditionalExpression::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\Expression.

◆ getAlternate()

InfluxDB2\Model\ConditionalExpression::getAlternate ( )

Gets alternate

Returns
\InfluxDB2\Model\Expression|null

◆ getConsequent()

InfluxDB2\Model\ConditionalExpression::getConsequent ( )

Gets consequent

Returns
\InfluxDB2\Model\Expression|null

◆ getModelName()

InfluxDB2\Model\ConditionalExpression::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\Expression.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Expression.

◆ getTest()

InfluxDB2\Model\ConditionalExpression::getTest ( )

Gets test

Returns
\InfluxDB2\Model\Expression|null

◆ getType()

InfluxDB2\Model\ConditionalExpression::getType ( )

Gets type

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\ConditionalExpression::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\Expression.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\Expression.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\Expression.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\Expression.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\Expression.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Expression.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Expression.

◆ setAlternate()

InfluxDB2\Model\ConditionalExpression::setAlternate ( $alternate)

Sets alternate

Parameters
\InfluxDB2\Model\Expression | null$alternatealternate
Returns
$this

◆ setConsequent()

InfluxDB2\Model\ConditionalExpression::setConsequent ( $consequent)

Sets consequent

Parameters
\InfluxDB2\Model\Expression | null$consequentconsequent
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Expression.

◆ setTest()

InfluxDB2\Model\ConditionalExpression::setTest ( $test)

Sets test

Parameters
\InfluxDB2\Model\Expression | null$testtest
Returns
$this

◆ setType()

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

Sets type

Parameters
string | null$typeType of AST node
Returns
$this

◆ valid()

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

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\ConditionalExpression::$attributeMap
staticprotected
Initial value:
= [
'type' => 'type',
'test' => 'test',
'alternate' => 'alternate',
'consequent' => 'consequent'
]

◆ $getters

InfluxDB2\Model\ConditionalExpression::$getters
staticprotected
Initial value:
= [
'type' => 'getType',
'test' => 'getTest',
'alternate' => 'getAlternate',
'consequent' => 'getConsequent'
]

◆ $openAPIFormats

InfluxDB2\Model\ConditionalExpression::$openAPIFormats
staticprotected
Initial value:
= [
'type' => null,
'test' => null,
'alternate' => null,
'consequent' => null
]

◆ $openAPITypes

InfluxDB2\Model\ConditionalExpression::$openAPITypes
staticprotected
Initial value:
= [
'type' => 'string',
'test' => '\InfluxDB2\Model\Expression',
'alternate' => '\InfluxDB2\Model\Expression',
'consequent' => '\InfluxDB2\Model\Expression'
]

◆ $setters

InfluxDB2\Model\ConditionalExpression::$setters
staticprotected
Initial value:
= [
'type' => 'setType',
'test' => 'setTest',
'alternate' => 'setAlternate',
'consequent' => 'setConsequent'
]

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