示例#1
0
 /**
  * @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);
 }
示例#2
0
 /**
  * @param string $response
  */
 public function __construct($response)
 {
     parent::__construct($response);
     $this->lastReloadTime = $this->response->last_reload_time;
     $this->startupTime = $this->response->startup_time;
 }
示例#3
0
 /**
  * @param string $response The raw json response message data from ARI
  */
 public function __construct($response)
 {
     parent::__construct($response);
     $this->type = $this->getResponseValue('type');
 }
示例#4
0
 /**
  * @param string $response
  */
 public function __construct($response)
 {
     parent::__construct($response);
     $this->lastReloadTime = $this->getResponseValue('last_reload_time');
     $this->startupTime = $this->getResponseValue('startup_time');
 }
示例#5
0
 /**
  * @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;
 }
示例#6
0
 /**
  * @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);
 }