/home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Monitor/V1
Edit: /home/desid573/public_html/drivers/twilio-php-master/Twilio/Rest/Monitor/V1/AlertContext.php (1702B)
solution = array('sid' => $sid, );
$this->uri = '/Alerts/' . rawurlencode($sid) . '';
}
/**
* Fetch a AlertInstance
*
* @return AlertInstance Fetched AlertInstance
*/
public function fetch() {
$params = Values::of(array());
$payload = $this->version->fetch(
'GET',
$this->uri,
$params
);
return new AlertInstance($this->version, $payload, $this->solution['sid']);
}
/**
* Deletes the AlertInstance
*
* @return boolean True if delete succeeds, false otherwise
*/
public function delete() {
return $this->version->delete('delete', $this->uri);
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString() {
$context = array();
foreach ($this->solution as $key => $value) {
$context[] = "$key=$value";
}
return '[Twilio.Monitor.V1.AlertContext ' . implode(' ', $context) . ']';
}
}