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