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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getTime ()
 
 setTime ($time)
 
 getMessage ()
 
 setMessage ($message)
 
 getRunId ()
 
 setRunId ($run_id)
 
 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 = 'LogEvent'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\LogEvent::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getMessage()

InfluxDB2\Model\LogEvent::getMessage ( )

Gets message

Returns
string|null

◆ getModelName()

InfluxDB2\Model\LogEvent::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getRunId()

InfluxDB2\Model\LogEvent::getRunId ( )

Gets run_id

Returns
string|null

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getTime()

InfluxDB2\Model\LogEvent::getTime ( )

Gets time

Returns
\DateTime|null

◆ listInvalidProperties()

InfluxDB2\Model\LogEvent::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setMessage()

InfluxDB2\Model\LogEvent::setMessage ( $message)

Sets message

Parameters
string | null$messageA description of the event that occurred.
Returns
$this

◆ setRunId()

InfluxDB2\Model\LogEvent::setRunId ( $run_id)

Sets run_id

Parameters
string | null$run_idThe ID of the task run that generated the event.
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setTime()

InfluxDB2\Model\LogEvent::setTime ( $time)

Sets time

Parameters
\DateTime | null$timeThe time (RFC3339Nano date/time format) that the event occurred.
Returns
$this

◆ valid()

InfluxDB2\Model\LogEvent::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\LogEvent::$attributeMap
staticprotected
Initial value:
= [
'time' => 'time',
'message' => 'message',
'run_id' => 'runID'
]

◆ $getters

InfluxDB2\Model\LogEvent::$getters
staticprotected
Initial value:
= [
'time' => 'getTime',
'message' => 'getMessage',
'run_id' => 'getRunId'
]

◆ $openAPIFormats

InfluxDB2\Model\LogEvent::$openAPIFormats
staticprotected
Initial value:
= [
'time' => 'date-time',
'message' => null,
'run_id' => null
]

◆ $openAPITypes

InfluxDB2\Model\LogEvent::$openAPITypes
staticprotected
Initial value:
= [
'time' => '\DateTime',
'message' => 'string',
'run_id' => 'string'
]

◆ $setters

InfluxDB2\Model\LogEvent::$setters
staticprotected
Initial value:
= [
'time' => 'setTime',
'message' => 'setMessage',
'run_id' => 'setRunId'
]

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