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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getLinks ()
 
 setLinks ($links)
 
 getLabels ()
 
 setLabels ($labels)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\TelegrafRequest
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getMetadata ()
 
 setMetadata ($metadata)
 
 getConfig ()
 
 setConfig ($config)
 
 getOrgId ()
 
 setOrgId ($org_id)
 

Static Public Member Functions

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

Public Attributes

const DISCRIMINATOR = null
 
- Public Attributes inherited from InfluxDB2\Model\TelegrafRequest
const DISCRIMINATOR = null
 

Static Protected Attributes

static $openAPIModelName = 'Telegraf'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\TelegrafRequest
static $openAPIModelName = 'TelegrafRequest'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

- Protected Attributes inherited from InfluxDB2\Model\TelegrafRequest
 $container = []
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\TelegrafRequest.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Telegraf::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ attributeMap()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ getId()

InfluxDB2\Model\Telegraf::getId ( )

Gets id

Returns
string|null

◆ getLabels()

InfluxDB2\Model\Telegraf::getLabels ( )

Gets labels

Returns
\InfluxDB2\Model\Label[]|null

◆ getLinks()

InfluxDB2\Model\Telegraf::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\TelegrafLinks|null

◆ getModelName()

InfluxDB2\Model\Telegraf::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ listInvalidProperties()

InfluxDB2\Model\Telegraf::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLabels()

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

Sets labels

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

◆ setLinks()

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

Sets links

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

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\TelegrafRequest.

◆ valid()

InfluxDB2\Model\Telegraf::valid ( )

Validate all the properties in the model return true if all passed

Returns
bool True if all properties are valid

Reimplemented from InfluxDB2\Model\TelegrafRequest.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\Telegraf::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'links' => 'links',
'labels' => 'labels'
]

◆ $getters

InfluxDB2\Model\Telegraf::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'links' => 'getLinks',
'labels' => 'getLabels'
]

◆ $openAPIFormats

InfluxDB2\Model\Telegraf::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'links' => null,
'labels' => null
]

◆ $openAPITypes

InfluxDB2\Model\Telegraf::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'links' => '\InfluxDB2\Model\TelegrafLinks',
'labels' => '\InfluxDB2\Model\Label[]'
]

◆ $setters

InfluxDB2\Model\Telegraf::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'links' => 'setLinks',
'labels' => 'setLabels'
]

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