/** * @param AriClient $client * @param string $response The raw json response response data from ARI */ public function __construct(AriClient $client, $response) { $this->client = $client; parent::__construct($response); }
/** * @param string $response */ public function __construct($response) { parent::__construct($response); $this->lastReloadTime = $this->response->last_reload_time; $this->startupTime = $this->response->startup_time; }
/** * @param string $response The raw json response message data from ARI */ public function __construct($response) { parent::__construct($response); $this->type = $this->getResponseValue('type'); }
/** * @param string $response */ public function __construct($response) { parent::__construct($response); $this->lastReloadTime = $this->getResponseValue('last_reload_time'); $this->startupTime = $this->getResponseValue('startup_time'); }
/** * @param string $response */ public function __construct($response) { parent::__construct($response); $this->privilege = $this->response->Privilege; $this->channelDriver = $this->response->ChannelDriver; $this->channel = $this->response->Channel; $this->callerIdName = $this->response->CallerIDName; $this->uniqueId = $this->response->Uniqueid; $this->result = $this->response->Result; }
/** * @param string $response */ public function __construct($response) { parent::__construct($response); $this->default_language = $this->response->default_language; $this->max_channels = property_exists($this->response, 'max_channels') ? $this->response->max_channels : null; $this->max_load = property_exists($this->response, 'max_load') ? $this->response->max_load : null; $this->max_open_files = property_exists($this->response, 'max_open_files') ? $this->response->max_open_files : null; $this->name = $this->response->name; $this->setid = new SetId($this->response->setid); }