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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getOrg ()
 
 setOrg ($org)
 
 getStatus ()
 
 setStatus ($status)
 
 getFlux ()
 
 setFlux ($flux)
 
 getDescription ()
 
 setDescription ($description)
 
 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 = 'TaskCreateRequest'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\TaskCreateRequest::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getDescription()

InfluxDB2\Model\TaskCreateRequest::getDescription ( )

Gets description

Returns
string|null

◆ getFlux()

InfluxDB2\Model\TaskCreateRequest::getFlux ( )

Gets flux

Returns
string

◆ getModelName()

InfluxDB2\Model\TaskCreateRequest::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ 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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\TaskCreateRequest::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setDescription()

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

Sets description

Parameters
string | null$descriptionAn optional description of the task.
Returns
$this

◆ setFlux()

InfluxDB2\Model\TaskCreateRequest::setFlux ( $flux)

Sets flux

Parameters
string$fluxThe Flux script to run for this task.
Returns
$this

◆ setOrg()

InfluxDB2\Model\TaskCreateRequest::setOrg ( $org)

Sets org

Parameters
string | null$orgThe name of the organization that owns this Task.
Returns
$this

◆ setOrgId()

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

Sets org_id

Parameters
string | null$org_idThe ID of the organization that owns this Task.
Returns
$this

◆ setStatus()

InfluxDB2\Model\TaskCreateRequest::setStatus ( $status)

Sets status

Parameters
\InfluxDB2\Model\TaskStatusType | null$statusstatus
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ 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.

Member Data Documentation

◆ $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: