Documentation

NetworksnetworkIdalertssettingsAlertDestinations implements ModelInterface, ArrayAccess

NetworksnetworkIdalertssettingsAlertDestinations Class Doc Comment

Tags
category

Class

description

A hash of destinations for this specific alert

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes and Traits

ModelInterface
Interface abstracting model access.
ArrayAccess

Table of Contents

DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getAllAdmins()  : bool
Gets all_admins
getEmails()  : array<string|int, string>
Gets emails
getHttpServerIds()  : array<string|int, string>
Gets http_server_ids
getModelName()  : string
The original name of the model.
getSnmp()  : bool
Gets snmp
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setAllAdmins()  : $this
Sets all_admins
setEmails()  : $this
Sets emails
setHttpServerIds()  : $this
Sets http_server_ids
setSnmp()  : $this
Sets snmp
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
valid()  : bool
Validate all the properties in the model return true if all passed

Constants

Properties

$attributeMap

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

protected static array<string|int, string> $attributeMap = ['emails' => 'emails', 'all_admins' => 'allAdmins', 'snmp' => 'snmp', 'http_server_ids' => 'httpServerIds']

$getters

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

protected static array<string|int, string> $getters = ['emails' => 'getEmails', 'all_admins' => 'getAllAdmins', 'snmp' => 'getSnmp', 'http_server_ids' => 'getHttpServerIds']

$setters

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

protected static array<string|int, string> $setters = ['emails' => 'setEmails', 'all_admins' => 'setAllAdmins', 'snmp' => 'setSnmp', 'http_server_ids' => 'setHttpServerIds']

$swaggerFormats

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

protected static array<string|int, string> $swaggerFormats = ['emails' => null, 'all_admins' => null, 'snmp' => null, 'http_server_ids' => null]

$swaggerTypes

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

protected static array<string|int, string> $swaggerTypes = ['emails' => 'string[]', 'all_admins' => 'bool', 'snmp' => 'bool', 'http_server_ids' => 'string[]']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

attributeMap()

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

public static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

listInvalidProperties()

Show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalid properties with reasons

setAllAdmins()

Sets all_admins

public setAllAdmins(bool $all_admins) : $this
Parameters
$all_admins : bool

If true, then all network admins will receive emails for this alert

Return values
$this

setEmails()

Sets emails

public setEmails(array<string|int, string> $emails) : $this
Parameters
$emails : array<string|int, string>

A list of emails that will receive information about the alert

Return values
$this

setHttpServerIds()

Sets http_server_ids

public setHttpServerIds(array<string|int, string> $http_server_ids) : $this
Parameters
$http_server_ids : array<string|int, string>

A list of HTTP server IDs to send a Webhook to for this alert

Return values
$this

setSnmp()

Sets snmp

public setSnmp(bool $snmp) : $this
Parameters
$snmp : bool

If true, then an SNMP trap will be sent for this alert if there is an SNMP trap server configured for this network

Return values
$this

Search results