/home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Notify/V1/Service
Edit: /home/desid573/public_html/app/twilio-php-master/Twilio/Rest/Notify/V1/Service/SegmentInstance.php (2471B)
properties = array(
'sid' => Values::array_get($payload, 'sid'),
'accountSid' => Values::array_get($payload, 'account_sid'),
'serviceSid' => Values::array_get($payload, 'service_sid'),
'uniqueName' => Values::array_get($payload, 'unique_name'),
'dateCreated' => Deserialize::dateTime(Values::array_get($payload, 'date_created')),
'dateUpdated' => Deserialize::dateTime(Values::array_get($payload, 'date_updated')),
);
$this->solution = array('serviceSid' => $serviceSid, );
}
/**
* Magic getter to access properties
*
* @param string $name Property to access
* @return mixed The requested property
* @throws TwilioException For unknown properties
*/
public function __get($name) {
if (array_key_exists($name, $this->properties)) {
return $this->properties[$name];
}
if (property_exists($this, '_' . $name)) {
$method = 'get' . ucfirst($name);
return $this->$method();
}
throw new TwilioException('Unknown property: ' . $name);
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString() {
return '[Twilio.Notify.V1.SegmentInstance]';
}
}