|
const | DISCRIMINATOR = null |
|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\Block::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
Reimplemented from InfluxDB2\Model\Node.
◆ __toString()
InfluxDB2\Model\Block::__toString |
( |
| ) |
|
◆ 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 |
( |
| ) |
|
◆ 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
-
- Returns
- boolean
Reimplemented from InfluxDB2\Model\Node.
◆ offsetGet()
InfluxDB2\Model\Block::offsetGet |
( |
| $offset | ) |
|
◆ offsetSet()
InfluxDB2\Model\Block::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
Reimplemented from InfluxDB2\Model\Node.
◆ offsetUnset()
InfluxDB2\Model\Block::offsetUnset |
( |
| $offset | ) |
|
◆ 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 | $body | Block 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 | $type | Type 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.
◆ $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:
- src/InfluxDB2/Model/Block.php