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\SlackNotificationEndpoint Class Reference
Inheritance diagram for InfluxDB2\Model\SlackNotificationEndpoint:
InfluxDB2\Model\NotificationEndpoint InfluxDB2\Model\NotificationEndpointDiscriminator InfluxDB2\Model\NotificationEndpointBase InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getUrl ()
 
 setUrl ($url)
 
 getToken ()
 
 setToken ($token)
 
 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 = 'SlackNotificationEndpoint'
 
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\SlackNotificationEndpoint::__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\SlackNotificationEndpoint::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ attributeMap()

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

◆ getModelName()

InfluxDB2\Model\SlackNotificationEndpoint::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ getToken()

InfluxDB2\Model\SlackNotificationEndpoint::getToken ( )

Gets token

Returns
string|null

◆ getUrl()

InfluxDB2\Model\SlackNotificationEndpoint::getUrl ( )

Gets url

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\SlackNotificationEndpoint::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ offsetSet()

InfluxDB2\Model\SlackNotificationEndpoint::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\SlackNotificationEndpoint::offsetUnset ( $offset)

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\NotificationEndpoint.

◆ setToken()

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

Sets token

Parameters
string | null$tokenSpecifies the API token string. Specify either URL or Token.
Returns
$this

◆ setUrl()

InfluxDB2\Model\SlackNotificationEndpoint::setUrl ( $url)

Sets url

Parameters
string | null$urlSpecifies the URL of the Slack endpoint. Specify either URL or Token.
Returns
$this

◆ valid()

InfluxDB2\Model\SlackNotificationEndpoint::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\SlackNotificationEndpoint::$attributeMap
staticprotected
Initial value:
= [
'url' => 'url',
'token' => 'token'
]

◆ $getters

InfluxDB2\Model\SlackNotificationEndpoint::$getters
staticprotected
Initial value:
= [
'url' => 'getUrl',
'token' => 'getToken'
]

◆ $openAPIFormats

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

◆ $openAPITypes

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

◆ $setters

InfluxDB2\Model\SlackNotificationEndpoint::$setters
staticprotected
Initial value:
= [
'url' => 'setUrl',
'token' => 'setToken'
]

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