Source of file RequestNotAllowedEvent.php

Size: 4,283 Bytes - Last Modified: 2019-10-21T01:10:00+00:00

/data/development/sccp/sources/PAMI/src/PAMI/Message/Event/RequestNotAllowedEvent.php

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
<?php
/**
 * RequestNotAllowed Event
 *
 *
 * Note: Auto Generated using xsltproc
 *
 * PHP Version 5
 *
 * @category   Pami
 * @package    Message
 * @subpackage Event
 * @author     Marcelo Gornstein <marcelog@gmail.com>
 * @author     Diederik de Groot <ddegroot@gmail.com>
 * @license    http://github.com/chan-sccp/PAMI/LICENSE
 * @version    SVN: $Id$
 * @link       http://marcelog.github.com/PAMI/
 *
 * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
namespace PAMI\Message\Event;

use PAMI\Message\Event\EventMessage;

/**
 * RequestNotAllowed Event
 *
 *
 * Note: Auto Generated using xsltproc
 *
 * PHP Version 5
 *
 * @category   Pami
 * @package    Message
 * @subpackage Event
 * @author     Diederik de Groot <ddegroot@gmail.com>
 * @license    http://chan-sccp.github.com/PAMI/ Apache License 2.0
 * @link       http://github.com/chan-sccp/PAMI/
 */
class RequestNotAllowedEvent extends EventMessage
{
    /**
     * get EventTV
     *
     * Returns:The time the event was detected.
     *
     * @return string
     */
    public function getEventTV()
    {
        return $this->getKey('EventTV');
    }

    /**
     * get Severity
     *
     * Returns:A relative severity of the security event.
     *
     * @return string
     */
    public function getSeverity()
    {
        return $this->getKey('Severity');
    }

    /**
     * get Service
     *
     * Returns:The Asterisk service that raised the security event.
     *
     * @return string
     */
    public function getService()
    {
        return $this->getKey('Service');
    }

    /**
     * get EventVersion
     *
     * Returns:The version of this event.
     *
     * @return string
     */
    public function getEventVersion()
    {
        return $this->getKey('EventVersion');
    }

    /**
     * get AccountID
     *
     * Returns:The Service account associated with the security event notification.
     *
     * @return string
     */
    public function getAccountID()
    {
        return $this->getKey('AccountID');
    }

    /**
     * get SessionID
     *
     * Returns:A unique identifier for the session in the service that raised the event.
     *
     * @return string
     */
    public function getSessionID()
    {
        return $this->getKey('SessionID');
    }

    /**
     * get LocalAddress
     *
     * Returns:The address of the Asterisk service that raised the security event.
     *
     * @return string
     */
    public function getLocalAddress()
    {
        return $this->getKey('LocalAddress');
    }

    /**
     * get RemoteAddress
     *
     * Returns:The remote address of the entity that caused the security event to be raised.
     *
     * @return string
     */
    public function getRemoteAddress()
    {
        return $this->getKey('RemoteAddress');
    }

    /**
     * get RequestType
     *
     * Returns:The type of request attempted.
     *
     * @return string
     */
    public function getRequestType()
    {
        return $this->getKey('RequestType');
    }

    /**
     * get Module
     *
     * Returns:If available, the name of the module that raised the event.
     *
     * @return string
     */
    public function getModule()
    {
        return $this->getKey('Module');
    }

    /**
     * get SessionTV
     *
     * Returns:The timestamp reported by the session.
     *
     * @return string
     */
    public function getSessionTV()
    {
        return $this->getKey('SessionTV');
    }

    /**
     * get RequestParams
     *
     * Returns:Parameters provided to the rejected request.
     *
     * @return string
     */
    public function getRequestParams()
    {
        return $this->getKey('RequestParams');
    }
}