name : EndpointCreateReponse.php
<?php

namespace Plivo\Resources\Endpoint;


use Plivo\Resources\ResponseUpdate;

/**
 * Class EndpointCreateReponse
 * @package Plivo\Resources\Endpoint
 */
class EndpointCreateReponse extends ResponseUpdate
{
    /**
     * @var string The username of the endpoint
     */
    public $username;
    /**
     * @var string The friendly name of the endpoint
     */
    public $alias;
    /**
     * @var string The ID of the endpoint
     */
    public $endpointId;

    /**
     * EndpointCreateReponse constructor.
     * @param string $message
     * @param string $username
     * @param string $alias
     * @param string $endpointId
     */
    public function __construct($username, $alias, $message, $endpointId, $apiID,$statusCode)
    {
        parent::__construct($apiID, $message,$statusCode);
        $this->username = $username;
        $this->alias = $alias;
        $this->endpointId = $endpointId;
    }

    /**
     * Get the username of the endpoint
     * @return string
     */
    public function getUsername()
    {
        return $this->username;
    }

    /**
     * Get the alias of the endpoint
     * @return string
     */
    public function getAlias()
    {
        return $this->alias;
    }

    /**
     * Get the ID of the endpoint
     * @return string
     */
    public function getEndpointId()
    {
        return $this->endpointId;
    }


}

© 2025 UnknownSec
afwwrfwafr45458465
Password