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