|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\Script::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Script::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Script::attributeMap |
( |
| ) |
|
|
static |
◆ 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 |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\Script::getName |
( |
| ) |
|
◆ 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 |
◆ 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 |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Script::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Script::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Script::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Script::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Script::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Script::openAPITypes |
( |
| ) |
|
|
static |
◆ setCreatedAt()
InfluxDB2\Model\Script::setCreatedAt |
( |
| $created_at | ) |
|
Sets created_at
- Parameters
-
\DateTime | null | $created_at | created_at |
- Returns
- $this
◆ setDescription()
InfluxDB2\Model\Script::setDescription |
( |
| $description | ) |
|
Sets description
- Parameters
-
string | null | $description | description |
- Returns
- $this
◆ setId()
InfluxDB2\Model\Script::setId |
( |
| $id | ) |
|
Sets id
- Parameters
-
- Returns
- $this
◆ setLabels()
InfluxDB2\Model\Script::setLabels |
( |
| $labels | ) |
|
Sets labels
- Parameters
-
string[] | null | $labels | The list of label names associated with the script. |
- Returns
- $this
◆ setLanguage()
InfluxDB2\Model\Script::setLanguage |
( |
| $language | ) |
|
Sets language
- Parameters
-
\InfluxDB2\Model\ScriptLanguage | null | $language | language |
- Returns
- $this
◆ setName()
InfluxDB2\Model\Script::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\Script::setOrgId |
( |
| $org_id | ) |
|
Sets org_id
- Parameters
-
- Returns
- $this
◆ setScript()
InfluxDB2\Model\Script::setScript |
( |
| $script | ) |
|
Sets script
- Parameters
-
string | $script | script to be executed |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Script::setters |
( |
| ) |
|
|
static |
◆ setUpdatedAt()
InfluxDB2\Model\Script::setUpdatedAt |
( |
| $updated_at | ) |
|
Sets updated_at
- Parameters
-
\DateTime | null | $updated_at | updated_at |
- Returns
- $this
◆ setUrl()
InfluxDB2\Model\Script::setUrl |
( |
| $url | ) |
|
Sets url
- Parameters
-
string | null | $url | invocation 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.
◆ $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:
- src/InfluxDB2/Model/Script.php