|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\Duration::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Duration::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Duration::attributeMap |
( |
| ) |
|
|
static |
◆ getMagnitude()
InfluxDB2\Model\Duration::getMagnitude |
( |
| ) |
|
Gets magnitude
- Returns
- int|null
◆ getModelName()
InfluxDB2\Model\Duration::getModelName |
( |
| ) |
|
◆ getters()
static InfluxDB2\Model\Duration::getters |
( |
| ) |
|
|
static |
◆ getType()
InfluxDB2\Model\Duration::getType |
( |
| ) |
|
Gets type
- Returns
- string|null
◆ getUnit()
InfluxDB2\Model\Duration::getUnit |
( |
| ) |
|
Gets unit
- Returns
- string|null
◆ listInvalidProperties()
InfluxDB2\Model\Duration::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Duration::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Duration::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Duration::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Duration::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Duration::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Duration::openAPITypes |
( |
| ) |
|
|
static |
◆ setMagnitude()
InfluxDB2\Model\Duration::setMagnitude |
( |
| $magnitude | ) |
|
Sets magnitude
- Parameters
-
int | null | $magnitude | magnitude |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Duration::setters |
( |
| ) |
|
|
static |
◆ setType()
InfluxDB2\Model\Duration::setType |
( |
| $type | ) |
|
Sets type
- Parameters
-
string | null | $type | Type of AST node |
- Returns
- $this
◆ setUnit()
InfluxDB2\Model\Duration::setUnit |
( |
| $unit | ) |
|
Sets unit
- Parameters
-
- Returns
- $this
◆ valid()
InfluxDB2\Model\Duration::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.
◆ $attributeMap
InfluxDB2\Model\Duration::$attributeMap |
|
staticprotected |
Initial value:= [
'type' => 'type',
'magnitude' => 'magnitude',
'unit' => 'unit'
]
◆ $getters
InfluxDB2\Model\Duration::$getters |
|
staticprotected |
Initial value:= [
'type' => 'getType',
'magnitude' => 'getMagnitude',
'unit' => 'getUnit'
]
◆ $openAPIFormats
InfluxDB2\Model\Duration::$openAPIFormats |
|
staticprotected |
Initial value:= [
'type' => null,
'magnitude' => 'int32',
'unit' => null
]
◆ $openAPITypes
InfluxDB2\Model\Duration::$openAPITypes |
|
staticprotected |
Initial value:= [
'type' => 'string',
'magnitude' => 'int',
'unit' => 'string'
]
◆ $setters
InfluxDB2\Model\Duration::$setters |
|
staticprotected |
Initial value:= [
'type' => 'setType',
'magnitude' => 'setMagnitude',
'unit' => 'setUnit'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/Duration.php