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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getScript ()
 
 setScript ($script)
 
 getLanguage ()
 
 setLanguage ($language)
 
 getUrl ()
 
 setUrl ($url)
 
 getCreatedAt ()
 
 setCreatedAt ($created_at)
 
 getUpdatedAt ()
 
 setUpdatedAt ($updated_at)
 
 getLabels ()
 
 setLabels ($labels)
 
 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 = 'Script'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Script::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getCreatedAt()

InfluxDB2\Model\Script::getCreatedAt ( )

Gets created_at

Returns
\DateTime|null

◆ getDescription()

InfluxDB2\Model\Script::getDescription ( )

Gets description

Returns
string|null

◆ getId()

InfluxDB2\Model\Script::getId ( )

Gets id

Returns
string|null

◆ getLabels()

InfluxDB2\Model\Script::getLabels ( )

Gets labels

Returns
string[]|null

◆ getLanguage()

InfluxDB2\Model\Script::getLanguage ( )

Gets language

Returns
\InfluxDB2\Model\ScriptLanguage|null

◆ getModelName()

InfluxDB2\Model\Script::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Script::getName ( )

Gets name

Returns
string

◆ getOrgId()

InfluxDB2\Model\Script::getOrgId ( )

Gets org_id

Returns
string

◆ getScript()

InfluxDB2\Model\Script::getScript ( )

Gets script

Returns
string

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getUpdatedAt()

InfluxDB2\Model\Script::getUpdatedAt ( )

Gets updated_at

Returns
\DateTime|null

◆ getUrl()

InfluxDB2\Model\Script::getUrl ( )

Gets url

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\Script::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setCreatedAt()

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

Sets created_at

Parameters
\DateTime | null$created_atcreated_at
Returns
$this

◆ setDescription()

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

Sets description

Parameters
string | null$descriptiondescription
Returns
$this

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLabels()

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

Sets labels

Parameters
string[] | null$labelsThe list of label names associated with the script.
Returns
$this

◆ setLanguage()

InfluxDB2\Model\Script::setLanguage ( $language)

Sets language

Parameters
\InfluxDB2\Model\ScriptLanguage | null$languagelanguage
Returns
$this

◆ setName()

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

Sets name

Parameters
string$namename
Returns
$this

◆ setOrgId()

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

Sets org_id

Parameters
string$org_idorg_id
Returns
$this

◆ setScript()

InfluxDB2\Model\Script::setScript ( $script)

Sets script

Parameters
string$scriptscript to be executed
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setUpdatedAt()

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

Sets updated_at

Parameters
\DateTime | null$updated_atupdated_at
Returns
$this

◆ setUrl()

InfluxDB2\Model\Script::setUrl ( $url)

Sets url

Parameters
string | null$urlinvocation endpoint address
Returns
$this

◆ valid()

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

◆ $getters

InfluxDB2\Model\Script::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'name' => 'getName',
'description' => 'getDescription',
'org_id' => 'getOrgId',
'script' => 'getScript',
'language' => 'getLanguage',
'url' => 'getUrl',
'created_at' => 'getCreatedAt',
'updated_at' => 'getUpdatedAt',
'labels' => 'getLabels'
]

◆ $openAPIFormats

InfluxDB2\Model\Script::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'name' => null,
'description' => null,
'org_id' => null,
'script' => null,
'language' => null,
'url' => null,
'created_at' => 'date-time',
'updated_at' => 'date-time',
'labels' => null
]

◆ $openAPITypes

InfluxDB2\Model\Script::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'name' => 'string',
'description' => 'string',
'org_id' => 'string',
'script' => 'string',
'language' => '\InfluxDB2\Model\ScriptLanguage',
'url' => 'string',
'created_at' => '\DateTime',
'updated_at' => '\DateTime',
'labels' => 'string[]'
]

◆ $setters

InfluxDB2\Model\Script::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'name' => 'setName',
'description' => 'setDescription',
'org_id' => 'setOrgId',
'script' => 'setScript',
'language' => 'setLanguage',
'url' => 'setUrl',
'created_at' => 'setCreatedAt',
'updated_at' => 'setUpdatedAt',
'labels' => 'setLabels'
]

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