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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getEventType ()
 
 setEventType ($event_type)
 
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getSources ()
 
 setSources ($sources)
 
 getResources ()
 
 setResources ($resources)
 
 getUrls ()
 
 setUrls ($urls)
 
 getUpdatedAt ()
 
 setUpdatedAt ($updated_at)
 
 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 = 'Stack_events'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\StackEvents::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\StackEvents::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\StackEvents::getDescription ( )

Gets description

Returns
string|null

◆ getEventType()

InfluxDB2\Model\StackEvents::getEventType ( )

Gets event_type

Returns
string|null

◆ getModelName()

InfluxDB2\Model\StackEvents::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\StackEvents::getName ( )

Gets name

Returns
string|null

◆ getResources()

InfluxDB2\Model\StackEvents::getResources ( )

Gets resources

Returns
\InfluxDB2\Model\StackResources[]|null

◆ getSources()

InfluxDB2\Model\StackEvents::getSources ( )

Gets sources

Returns
string[]|null

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getUpdatedAt()

InfluxDB2\Model\StackEvents::getUpdatedAt ( )

Gets updated_at

Returns
\DateTime|null

◆ getUrls()

InfluxDB2\Model\StackEvents::getUrls ( )

Gets urls

Returns
string[]|null

◆ listInvalidProperties()

InfluxDB2\Model\StackEvents::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setDescription()

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

Sets description

Parameters
string | null$descriptiondescription
Returns
$this

◆ setEventType()

InfluxDB2\Model\StackEvents::setEventType ( $event_type)

Sets event_type

Parameters
string | null$event_typeevent_type
Returns
$this

◆ setName()

InfluxDB2\Model\StackEvents::setName ( $name)

Sets name

Parameters
string | null$namename
Returns
$this

◆ setResources()

InfluxDB2\Model\StackEvents::setResources ( $resources)

Sets resources

Parameters
\InfluxDB2\Model\StackResources[] | null$resourcesresources
Returns
$this

◆ setSources()

InfluxDB2\Model\StackEvents::setSources ( $sources)

Sets sources

Parameters
string[] | null$sourcessources
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setUpdatedAt()

InfluxDB2\Model\StackEvents::setUpdatedAt ( $updated_at)

Sets updated_at

Parameters
\DateTime | null$updated_atupdated_at
Returns
$this

◆ setUrls()

InfluxDB2\Model\StackEvents::setUrls ( $urls)

Sets urls

Parameters
string[] | null$urlsurls
Returns
$this

◆ valid()

InfluxDB2\Model\StackEvents::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\StackEvents::$attributeMap
staticprotected
Initial value:
= [
'event_type' => 'eventType',
'name' => 'name',
'description' => 'description',
'sources' => 'sources',
'resources' => 'resources',
'urls' => 'urls',
'updated_at' => 'updatedAt'
]

◆ $getters

InfluxDB2\Model\StackEvents::$getters
staticprotected
Initial value:
= [
'event_type' => 'getEventType',
'name' => 'getName',
'description' => 'getDescription',
'sources' => 'getSources',
'resources' => 'getResources',
'urls' => 'getUrls',
'updated_at' => 'getUpdatedAt'
]

◆ $openAPIFormats

InfluxDB2\Model\StackEvents::$openAPIFormats
staticprotected
Initial value:
= [
'event_type' => null,
'name' => null,
'description' => null,
'sources' => null,
'resources' => null,
'urls' => null,
'updated_at' => 'date-time'
]

◆ $openAPITypes

InfluxDB2\Model\StackEvents::$openAPITypes
staticprotected
Initial value:
= [
'event_type' => 'string',
'name' => 'string',
'description' => 'string',
'sources' => 'string[]',
'resources' => '\InfluxDB2\Model\StackResources[]',
'urls' => 'string[]',
'updated_at' => '\DateTime'
]

◆ $setters

InfluxDB2\Model\StackEvents::$setters
staticprotected
Initial value:
= [
'event_type' => 'setEventType',
'name' => 'setName',
'description' => 'setDescription',
'sources' => 'setSources',
'resources' => 'setResources',
'urls' => 'setUrls',
'updated_at' => 'setUpdatedAt'
]

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