/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->bridgeClass = $this->response->bridge_class; $this->bridgeType = $this->response->bridge_type; $this->channels = $this->response->channels; $this->creator = $this->response->creator; $this->id = $this->response->id; $this->name = $this->response->name; $this->technology = $this->response->technology; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->name = $this->response->name; $this->state = $this->response->state; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->cause = property_exists($this->response, 'cause') ? $this->response->cause : null; $this->duration = property_exists($this->response, 'duration') ? $this->response->duration : null; $this->format = $this->response->format; $this->name = $this->response->name; $this->silenceDuration = property_exists($this->response, 'silence_duration') ? $this->response->silence_duration : null; $this->state = $this->response->state; $this->talkingDuration = property_exists($this->response, 'talking_duration') ? $this->response->talking_duration : null; $this->targetUri = $this->response->target_uri; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->bridgeIds = $this->getResponseValue('bridge_ids'); $this->channelIds = $this->getResponseValue('channel_ids'); $this->deviceNames = $this->getResponseValue('device_names'); $this->endpointIds = $this->getResponseValue('endpoint_ids'); $this->name = $this->getResponseValue('name'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->id = $this->response->id; $this->language = property_exists($this->response, 'language') ? $this->response->language : null; $this->mediaUri = $this->response->media_uri; $this->state = $this->response->state; $this->targetUri = $this->response->target_uri; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->bridgeIds = $this->response->bridge_ids; $this->channelIds = $this->response->channel_ids; $this->deviceNames = $this->response->device_names; $this->endpointIds = $this->response->endpoint_ids; $this->name = $this->response->name; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->cause = $this->getResponseValue('cause'); $this->duration = $this->getResponseValue('duration'); $this->format = $this->getResponseValue('format'); $this->name = $this->getResponseValue('name'); $this->silenceDuration = $this->getResponseValue('silence_duration'); $this->state = $this->getResponseValue('state'); $this->talkingDuration = $this->getResponseValue('talking_duration'); $this->targetUri = $this->getResponseValue('target_uri'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->bridgeClass = $this->getResponseValue('bridge_class'); $this->bridgeType = $this->getResponseValue('bridge_type'); $this->channels = $this->getResponseValue('channels'); $this->creator = $this->getResponseValue('creator'); $this->id = $this->getResponseValue('id'); $this->name = $this->getResponseValue('name'); $this->technology = $this->getResponseValue('technology'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->accountCode = $this->getResponseValue('account_code'); $this->caller = $this->getResponseValue('caller', '\\phparia\\Resources\\CallerId'); $this->connected = $this->getResponseValue('connected', '\\phparia\\Resources\\CallerId'); $this->creationTime = $this->getResponseValue('creationtime', '\\DateTime'); $this->dialplan = $this->getResponseValue('dialplan', '\\phparia\\Resources\\DialplanCep'); $this->id = $this->getResponseValue('id'); $this->name = $this->getResponseValue('name'); $this->state = $this->getResponseValue('state'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->id = $this->getResponseValue('id'); $this->language = $this->getResponseValue('language'); $this->mediaUri = $this->getResponseValue('media_uri'); $this->state = $this->getResponseValue('state'); $this->targetUri = $this->getResponseValue('target_uri'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->accountCode = property_exists($this->response, 'account_code') ? $this->response->account_code : null; $this->caller = new CallerId($this->response->caller); $this->connected = new CallerId($this->response->connected); $this->creationTime = new \DateTime($this->response->creationtime); $this->dialplan = new DialplanCep($this->response->dialplan); $this->id = $this->response->id; $this->name = $this->response->name; $this->state = $this->response->state; }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->channelIds = $this->getResponseValue('channel_ids'); $this->resource = $this->getResponseValue('resource'); $this->state = $this->getResponseValue('state'); $this->technology = $this->getResponseValue('technology'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->name = $this->getResponseValue('name'); $this->state = $this->getResponseValue('state'); }
/** * @param AriClient $client * @param string $response */ public function __construct(AriClient $client, $response) { parent::__construct($client, $response); $this->channelIds = $this->response->channel_ids; $this->resource = $this->response->resource; $this->state = property_exists($this->response, 'state') ? $this->response->state : null; $this->technology = $this->response->technology; }