|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\ScriptCreateRequest::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\ScriptCreateRequest::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\ScriptCreateRequest::attributeMap |
( |
| ) |
|
|
static |
◆ getDescription()
InfluxDB2\Model\ScriptCreateRequest::getDescription |
( |
| ) |
|
Gets description
- Returns
- string
◆ getLanguage()
InfluxDB2\Model\ScriptCreateRequest::getLanguage |
( |
| ) |
|
Gets language
- Returns
- \InfluxDB2\Model\ScriptLanguage
◆ getModelName()
InfluxDB2\Model\ScriptCreateRequest::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\ScriptCreateRequest::getName |
( |
| ) |
|
◆ getScript()
InfluxDB2\Model\ScriptCreateRequest::getScript |
( |
| ) |
|
Gets script
- Returns
- string
◆ getters()
static InfluxDB2\Model\ScriptCreateRequest::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\ScriptCreateRequest::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\ScriptCreateRequest::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\ScriptCreateRequest::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\ScriptCreateRequest::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\ScriptCreateRequest::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\ScriptCreateRequest::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\ScriptCreateRequest::openAPITypes |
( |
| ) |
|
|
static |
◆ setDescription()
InfluxDB2\Model\ScriptCreateRequest::setDescription |
( |
| $description | ) |
|
Sets description
- Parameters
-
string | $description | Script description. A description of the script. |
- Returns
- $this
◆ setLanguage()
InfluxDB2\Model\ScriptCreateRequest::setLanguage |
( |
| $language | ) |
|
Sets language
- Parameters
-
\InfluxDB2\Model\ScriptLanguage | $language | language |
- Returns
- $this
◆ setName()
InfluxDB2\Model\ScriptCreateRequest::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
string | $name | Script name. The name must be unique within the organization. |
- Returns
- $this
◆ setScript()
InfluxDB2\Model\ScriptCreateRequest::setScript |
( |
| $script | ) |
|
Sets script
- Parameters
-
string | $script | The script to execute. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\ScriptCreateRequest::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\ScriptCreateRequest::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\ScriptCreateRequest::$attributeMap |
|
staticprotected |
Initial value:= [
'name' => 'name',
'description' => 'description',
'script' => 'script',
'language' => 'language'
]
◆ $getters
InfluxDB2\Model\ScriptCreateRequest::$getters |
|
staticprotected |
Initial value:= [
'name' => 'getName',
'description' => 'getDescription',
'script' => 'getScript',
'language' => 'getLanguage'
]
◆ $openAPIFormats
InfluxDB2\Model\ScriptCreateRequest::$openAPIFormats |
|
staticprotected |
Initial value:= [
'name' => null,
'description' => null,
'script' => null,
'language' => null
]
◆ $openAPITypes
InfluxDB2\Model\ScriptCreateRequest::$openAPITypes |
|
staticprotected |
Initial value:= [
'name' => 'string',
'description' => 'string',
'script' => 'string',
'language' => '\InfluxDB2\Model\ScriptLanguage'
]
◆ $setters
InfluxDB2\Model\ScriptCreateRequest::$setters |
|
staticprotected |
Initial value:= [
'name' => 'setName',
'description' => 'setDescription',
'script' => 'setScript',
'language' => 'setLanguage'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/ScriptCreateRequest.php