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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getLinks ()
 
 setLinks ($links)
 
 getId ()
 
 setId ($id)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getSelected ()
 
 setSelected ($selected)
 
 getLabels ()
 
 setLabels ($labels)
 
 getArguments ()
 
 setArguments ($arguments)
 
 getCreatedAt ()
 
 setCreatedAt ($created_at)
 
 getUpdatedAt ()
 
 setUpdatedAt ($updated_at)
 
 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 = 'Variable'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Variable::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getArguments()

InfluxDB2\Model\Variable::getArguments ( )

Gets arguments

Returns
\InfluxDB2\Model\VariableProperties

◆ getCreatedAt()

InfluxDB2\Model\Variable::getCreatedAt ( )

Gets created_at

Returns
\DateTime|null

◆ getDescription()

InfluxDB2\Model\Variable::getDescription ( )

Gets description

Returns
string|null

◆ getId()

InfluxDB2\Model\Variable::getId ( )

Gets id

Returns
string|null

◆ getLabels()

InfluxDB2\Model\Variable::getLabels ( )

Gets labels

Returns
\InfluxDB2\Model\Label[]|null

◆ getLinks()

InfluxDB2\Model\Variable::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\VariableLinks|null

◆ getModelName()

InfluxDB2\Model\Variable::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Variable::getName ( )

Gets name

Returns
string

◆ getOrgId()

InfluxDB2\Model\Variable::getOrgId ( )

Gets org_id

Returns
string

◆ getSelected()

InfluxDB2\Model\Variable::getSelected ( )

Gets selected

Returns
string[]|null

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getUpdatedAt()

InfluxDB2\Model\Variable::getUpdatedAt ( )

Gets updated_at

Returns
\DateTime|null

◆ listInvalidProperties()

InfluxDB2\Model\Variable::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setArguments()

InfluxDB2\Model\Variable::setArguments ( $arguments)

Sets arguments

Parameters
\InfluxDB2\Model\VariableProperties$argumentsarguments
Returns
$this

◆ setCreatedAt()

InfluxDB2\Model\Variable::setCreatedAt ( $created_at)

Sets created_at

Parameters
\DateTime | null$created_atcreated_at
Returns
$this

◆ setDescription()

InfluxDB2\Model\Variable::setDescription ( $description)

Sets description

Parameters
string | null$descriptiondescription
Returns
$this

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLabels()

InfluxDB2\Model\Variable::setLabels ( $labels)

Sets labels

Parameters
\InfluxDB2\Model\Label[] | null$labelslabels
Returns
$this

◆ setLinks()

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

Sets links

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

◆ setName()

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

Sets name

Parameters
string$namename
Returns
$this

◆ setOrgId()

InfluxDB2\Model\Variable::setOrgId ( $org_id)

Sets org_id

Parameters
string$org_idorg_id
Returns
$this

◆ setSelected()

InfluxDB2\Model\Variable::setSelected ( $selected)

Sets selected

Parameters
string[] | null$selectedselected
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setUpdatedAt()

InfluxDB2\Model\Variable::setUpdatedAt ( $updated_at)

Sets updated_at

Parameters
\DateTime | null$updated_atupdated_at
Returns
$this

◆ valid()

InfluxDB2\Model\Variable::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\Variable::$attributeMap
staticprotected
Initial value:
= [
'links' => 'links',
'id' => 'id',
'org_id' => 'orgID',
'name' => 'name',
'description' => 'description',
'selected' => 'selected',
'labels' => 'labels',
'arguments' => 'arguments',
'created_at' => 'createdAt',
'updated_at' => 'updatedAt'
]

◆ $getters

InfluxDB2\Model\Variable::$getters
staticprotected
Initial value:
= [
'links' => 'getLinks',
'id' => 'getId',
'org_id' => 'getOrgId',
'name' => 'getName',
'description' => 'getDescription',
'selected' => 'getSelected',
'labels' => 'getLabels',
'arguments' => 'getArguments',
'created_at' => 'getCreatedAt',
'updated_at' => 'getUpdatedAt'
]

◆ $openAPIFormats

InfluxDB2\Model\Variable::$openAPIFormats
staticprotected
Initial value:
= [
'links' => null,
'id' => null,
'org_id' => null,
'name' => null,
'description' => null,
'selected' => null,
'labels' => null,
'arguments' => null,
'created_at' => 'date-time',
'updated_at' => 'date-time'
]

◆ $openAPITypes

InfluxDB2\Model\Variable::$openAPITypes
staticprotected
Initial value:
= [
'links' => '\InfluxDB2\Model\VariableLinks',
'id' => 'string',
'org_id' => 'string',
'name' => 'string',
'description' => 'string',
'selected' => 'string[]',
'labels' => '\InfluxDB2\Model\Label[]',
'arguments' => '\InfluxDB2\Model\VariableProperties',
'created_at' => '\DateTime',
'updated_at' => '\DateTime'
]

◆ $setters

InfluxDB2\Model\Variable::$setters
staticprotected
Initial value:
= [
'links' => 'setLinks',
'id' => 'setId',
'org_id' => 'setOrgId',
'name' => 'setName',
'description' => 'setDescription',
'selected' => 'setSelected',
'labels' => 'setLabels',
'arguments' => 'setArguments',
'created_at' => 'setCreatedAt',
'updated_at' => 'setUpdatedAt'
]

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