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\Cell Class Reference
Inheritance diagram for InfluxDB2\Model\Cell:
InfluxDB2\Model\ModelInterface InfluxDB2\Model\CellWithViewProperties

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getLinks ()
 
 setLinks ($links)
 
 getX ()
 
 setX ($x)
 
 getY ()
 
 setY ($y)
 
 getW ()
 
 setW ($w)
 
 getH ()
 
 setH ($h)
 
 getViewId ()
 
 setViewId ($view_id)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
 getModelName ()
 
 listInvalidProperties ()
 
 valid ()
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 
static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 

Protected Attributes

 $container = []
 

Static Protected Attributes

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Cell::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ attributeMap()

static InfluxDB2\Model\Cell::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.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ getH()

InfluxDB2\Model\Cell::getH ( )

Gets h

Returns
int|null

◆ getId()

InfluxDB2\Model\Cell::getId ( )

Gets id

Returns
string|null

◆ getLinks()

InfluxDB2\Model\Cell::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\CellLinks|null

◆ getModelName()

InfluxDB2\Model\Cell::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ getters()

static InfluxDB2\Model\Cell::getters ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ getViewId()

InfluxDB2\Model\Cell::getViewId ( )

Gets view_id

Returns
string|null

◆ getW()

InfluxDB2\Model\Cell::getW ( )

Gets w

Returns
int|null

◆ getX()

InfluxDB2\Model\Cell::getX ( )

Gets x

Returns
int|null

◆ getY()

InfluxDB2\Model\Cell::getY ( )

Gets y

Returns
int|null

◆ listInvalidProperties()

InfluxDB2\Model\Cell::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ setH()

InfluxDB2\Model\Cell::setH (   $h)

Sets h

Parameters
int | null$hh
Returns
$this

◆ setId()

InfluxDB2\Model\Cell::setId (   $id)

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLinks()

InfluxDB2\Model\Cell::setLinks (   $links)

Sets links

Parameters
\InfluxDB2\Model\CellLinks | null$linkslinks
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

◆ setViewId()

InfluxDB2\Model\Cell::setViewId (   $view_id)

Sets view_id

Parameters
string | null$view_idThe reference to a view from the views API.
Returns
$this

◆ setW()

InfluxDB2\Model\Cell::setW (   $w)

Sets w

Parameters
int | null$ww
Returns
$this

◆ setX()

InfluxDB2\Model\Cell::setX (   $x)

Sets x

Parameters
int | null$xx
Returns
$this

◆ setY()

InfluxDB2\Model\Cell::setY (   $y)

Sets y

Parameters
int | null$yy
Returns
$this

◆ valid()

InfluxDB2\Model\Cell::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.

Reimplemented in InfluxDB2\Model\CellWithViewProperties.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\Cell::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'links' => 'links',
'x' => 'x',
'y' => 'y',
'w' => 'w',
'h' => 'h',
'view_id' => 'viewID'
]

◆ $getters

InfluxDB2\Model\Cell::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'links' => 'getLinks',
'x' => 'getX',
'y' => 'getY',
'w' => 'getW',
'h' => 'getH',
'view_id' => 'getViewId'
]

◆ $openAPIFormats

InfluxDB2\Model\Cell::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'links' => null,
'x' => 'int32',
'y' => 'int32',
'w' => 'int32',
'h' => 'int32',
'view_id' => null
]

◆ $openAPITypes

InfluxDB2\Model\Cell::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'links' => '\InfluxDB2\Model\CellLinks',
'x' => 'int',
'y' => 'int',
'w' => 'int',
'h' => 'int',
'view_id' => 'string'
]

◆ $setters

InfluxDB2\Model\Cell::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'links' => 'setLinks',
'x' => 'setX',
'y' => 'setY',
'w' => 'setW',
'h' => 'setH',
'view_id' => 'setViewId'
]

The documentation for this class was generated from the following file: