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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getType ()
 
 setType ($type)
 
 getBody ()
 
 setBody ($body)
 
 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\Node
const DISCRIMINATOR = null
 

Static Protected Attributes

static $openAPIModelName = 'Block'
 
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\Block::__construct ( array $data = null)

Constructor

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

Reimplemented from InfluxDB2\Model\Node.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Block::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\Node.

◆ attributeMap()

static InfluxDB2\Model\Block::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\Node.

◆ getBody()

InfluxDB2\Model\Block::getBody ( )

Gets body

Returns
\InfluxDB2\Model\Statement[]|null

◆ getModelName()

InfluxDB2\Model\Block::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\Node.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Node.

◆ getType()

InfluxDB2\Model\Block::getType ( )

Gets type

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\Block::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\Node.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\Node.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\Node.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\Node.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\Node.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Node.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Node.

◆ setBody()

InfluxDB2\Model\Block::setBody ( $body)

Sets body

Parameters
\InfluxDB2\Model\Statement[] | null$bodyBlock body
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\Node.

◆ setType()

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

Sets type

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

◆ valid()

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

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\Block::$attributeMap
staticprotected
Initial value:
= [
'type' => 'type',
'body' => 'body'
]

◆ $getters

InfluxDB2\Model\Block::$getters
staticprotected
Initial value:
= [
'type' => 'getType',
'body' => 'getBody'
]

◆ $openAPIFormats

InfluxDB2\Model\Block::$openAPIFormats
staticprotected
Initial value:
= [
'type' => null,
'body' => null
]

◆ $openAPITypes

InfluxDB2\Model\Block::$openAPITypes
staticprotected
Initial value:
= [
'type' => 'string',
'body' => '\InfluxDB2\Model\Statement[]'
]

◆ $setters

InfluxDB2\Model\Block::$setters
staticprotected
Initial value:
= [
'type' => 'setType',
'body' => 'setBody'
]

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