|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\TaskCreateRequest::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\TaskCreateRequest::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\TaskCreateRequest::attributeMap |
( |
| ) |
|
|
static |
◆ getDescription()
InfluxDB2\Model\TaskCreateRequest::getDescription |
( |
| ) |
|
Gets description
- Returns
- string|null
◆ getFlux()
InfluxDB2\Model\TaskCreateRequest::getFlux |
( |
| ) |
|
◆ getModelName()
InfluxDB2\Model\TaskCreateRequest::getModelName |
( |
| ) |
|
◆ getOrg()
InfluxDB2\Model\TaskCreateRequest::getOrg |
( |
| ) |
|
Gets org
- Returns
- string|null
◆ getOrgId()
InfluxDB2\Model\TaskCreateRequest::getOrgId |
( |
| ) |
|
Gets org_id
- Returns
- string|null
◆ getStatus()
InfluxDB2\Model\TaskCreateRequest::getStatus |
( |
| ) |
|
Gets status
- Returns
- \InfluxDB2\Model\TaskStatusType|null
◆ getters()
static InfluxDB2\Model\TaskCreateRequest::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\TaskCreateRequest::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\TaskCreateRequest::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\TaskCreateRequest::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\TaskCreateRequest::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\TaskCreateRequest::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\TaskCreateRequest::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\TaskCreateRequest::openAPITypes |
( |
| ) |
|
|
static |
◆ setDescription()
InfluxDB2\Model\TaskCreateRequest::setDescription |
( |
| $description | ) |
|
Sets description
- Parameters
-
string | null | $description | An optional description of the task. |
- Returns
- $this
◆ setFlux()
InfluxDB2\Model\TaskCreateRequest::setFlux |
( |
| $flux | ) |
|
Sets flux
- Parameters
-
string | $flux | The Flux script to run for this task. |
- Returns
- $this
◆ setOrg()
InfluxDB2\Model\TaskCreateRequest::setOrg |
( |
| $org | ) |
|
Sets org
- Parameters
-
string | null | $org | The name of the organization that owns this Task. |
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\TaskCreateRequest::setOrgId |
( |
| $org_id | ) |
|
Sets org_id
- Parameters
-
string | null | $org_id | The ID of the organization that owns this Task. |
- Returns
- $this
◆ setStatus()
InfluxDB2\Model\TaskCreateRequest::setStatus |
( |
| $status | ) |
|
Sets status
- Parameters
-
\InfluxDB2\Model\TaskStatusType | null | $status | status |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\TaskCreateRequest::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\TaskCreateRequest::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\TaskCreateRequest::$attributeMap |
|
staticprotected |
Initial value:= [
'org_id' => 'orgID',
'org' => 'org',
'status' => 'status',
'flux' => 'flux',
'description' => 'description'
]
◆ $getters
InfluxDB2\Model\TaskCreateRequest::$getters |
|
staticprotected |
Initial value:= [
'org_id' => 'getOrgId',
'org' => 'getOrg',
'status' => 'getStatus',
'flux' => 'getFlux',
'description' => 'getDescription'
]
◆ $openAPIFormats
InfluxDB2\Model\TaskCreateRequest::$openAPIFormats |
|
staticprotected |
Initial value:= [
'org_id' => null,
'org' => null,
'status' => null,
'flux' => null,
'description' => null
]
◆ $openAPITypes
InfluxDB2\Model\TaskCreateRequest::$openAPITypes |
|
staticprotected |
Initial value:= [
'org_id' => 'string',
'org' => 'string',
'status' => '\InfluxDB2\Model\TaskStatusType',
'flux' => 'string',
'description' => 'string'
]
◆ $setters
InfluxDB2\Model\TaskCreateRequest::$setters |
|
staticprotected |
Initial value:= [
'org_id' => 'setOrgId',
'org' => 'setOrg',
'status' => 'setStatus',
'flux' => 'setFlux',
'description' => 'setDescription'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/TaskCreateRequest.php