InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\File Class Reference
Inheritance diagram for InfluxDB2\Model\File:
InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getType ()
 
 setType ($type)
 
 getName ()
 
 setName ($name)
 
 getPackage ()
 
 setPackage ($package)
 
 getImports ()
 
 setImports ($imports)
 
 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
 

Protected Attributes

 $container = []
 

Static Protected Attributes

static $openAPIModelName = 'File'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Model\File::__construct ( array $data = null)

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\File::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\File::attributeMap ( )
static

Array of attributes where the key is the local name, and the value is the original name

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ 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 ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ 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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getType()

InfluxDB2\Model\File::getType ( )

Gets type

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\File::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setBody()

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

Sets body

Parameters
\InfluxDB2\Model\Statement[] | null$bodyList of Flux statements
Returns
$this

◆ setImports()

InfluxDB2\Model\File::setImports ( $imports)

Sets imports

Parameters
\InfluxDB2\Model\ImportDeclaration[] | null$importsA list of package imports
Returns
$this

◆ setName()

InfluxDB2\Model\File::setName ( $name)

Sets name

Parameters
string | null$nameThe name of the file.
Returns
$this

◆ setPackage()

InfluxDB2\Model\File::setPackage ( $package)

Sets package

Parameters
\InfluxDB2\Model\PackageClause | null$packagepackage
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setType()

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

Sets type

Parameters
string | null$typeType 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.

Member Data Documentation

◆ $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: