InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\TelegramNotificationEndpoint Class Reference
Inheritance diagram for InfluxDB2\Model\TelegramNotificationEndpoint:
InfluxDB2\Model\NotificationEndpoint InfluxDB2\Model\NotificationEndpointDiscriminator InfluxDB2\Model\NotificationEndpointBase InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getToken ()
 
 setToken ($token)
 
 getChannel ()
 
 setChannel ($channel)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\NotificationEndpointBase
 getStatusAllowableValues ()
 
 getId ()
 
 setId ($id)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getUserId ()
 
 setUserId ($user_id)
 
 getCreatedAt ()
 
 setCreatedAt ($created_at)
 
 getUpdatedAt ()
 
 setUpdatedAt ($updated_at)
 
 getDescription ()
 
 setDescription ($description)
 
 getName ()
 
 setName ($name)
 
 getStatus ()
 
 setStatus ($status)
 
 getLabels ()
 
 setLabels ($labels)
 
 getLinks ()
 
 setLinks ($links)
 
 getType ()
 
 setType ($type)
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 
- Public Attributes inherited from InfluxDB2\Model\NotificationEndpoint
const DISCRIMINATOR = 'type'
 
- Public Attributes inherited from InfluxDB2\Model\NotificationEndpointDiscriminator
const DISCRIMINATOR = 'type'
 
- Public Attributes inherited from InfluxDB2\Model\NotificationEndpointBase
const DISCRIMINATOR = null
 
const STATUS_ACTIVE = 'active'
 
const STATUS_INACTIVE = 'inactive'
 

Static Protected Attributes

static $openAPIModelName = 'TelegramNotificationEndpoint'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\NotificationEndpoint
static $openAPIModelName = 'NotificationEndpoint'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\NotificationEndpointDiscriminator
static $openAPIModelName = 'NotificationEndpointDiscriminator'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\NotificationEndpointBase
static $openAPIModelName = 'NotificationEndpointBase'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

- Protected Attributes inherited from InfluxDB2\Model\NotificationEndpointBase
 $container = []
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\TelegramNotificationEndpoint::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ attributeMap()

static InfluxDB2\Model\TelegramNotificationEndpoint::attributeMap ( )
static

Array of attributes where the key is the local name, and the value is the original name

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ getChannel()

InfluxDB2\Model\TelegramNotificationEndpoint::getChannel ( )

Gets channel

Returns
string

◆ getModelName()

InfluxDB2\Model\TelegramNotificationEndpoint::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ getToken()

InfluxDB2\Model\TelegramNotificationEndpoint::getToken ( )

Gets token

Returns
string

◆ listInvalidProperties()

InfluxDB2\Model\TelegramNotificationEndpoint::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ setChannel()

InfluxDB2\Model\TelegramNotificationEndpoint::setChannel ( $channel)

Sets channel

Parameters
string$channelThe ID of the telegram channel; a chat_id in https://core.telegram.org/bots/api#sendmessage .
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ setToken()

InfluxDB2\Model\TelegramNotificationEndpoint::setToken ( $token)

Sets token

Parameters
string$tokenSpecifies the Telegram bot token. See https://core.telegram.org/bots#creating-a-new-bot .
Returns
$this

◆ valid()

InfluxDB2\Model\TelegramNotificationEndpoint::valid ( )

Validate all the properties in the model return true if all passed

Returns
bool True if all properties are valid

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\TelegramNotificationEndpoint::$attributeMap
staticprotected
Initial value:
= [
'token' => 'token',
'channel' => 'channel'
]

◆ $getters

InfluxDB2\Model\TelegramNotificationEndpoint::$getters
staticprotected
Initial value:
= [
'token' => 'getToken',
'channel' => 'getChannel'
]

◆ $openAPIFormats

InfluxDB2\Model\TelegramNotificationEndpoint::$openAPIFormats
staticprotected
Initial value:
= [
'token' => null,
'channel' => null
]

◆ $openAPITypes

InfluxDB2\Model\TelegramNotificationEndpoint::$openAPITypes
staticprotected
Initial value:
= [
'token' => 'string',
'channel' => 'string'
]

◆ $setters

InfluxDB2\Model\TelegramNotificationEndpoint::$setters
staticprotected
Initial value:
= [
'token' => 'setToken',
'channel' => 'setChannel'
]

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