MediaInstance.php 908 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * A single Media object. For the definitive reference, see the `Twilio Media
  4. * Documentation <https://www.twilio.com/docs/api/rest/media>`_.
  5. *
  6. * .. php:attr:: sid
  7. *
  8. * A 34 character string that identifies this object
  9. *
  10. * .. php:attr:: account_sid
  11. *
  12. * A 34 character string representing the account that sent the message
  13. *
  14. * .. php:attr:: parent_sid
  15. *
  16. * The sid of the message that created this media.
  17. *
  18. * .. php:attr:: date_created
  19. *
  20. * The date the message was created
  21. *
  22. * .. php:attr:: date_updated
  23. *
  24. * The date the message was updated
  25. *
  26. * .. php:attr:: content_type
  27. *
  28. * The content-type of the media.
  29. */
  30. class Services_Twilio_Rest_MediaInstance extends Services_Twilio_InstanceResource {
  31. public function __construct($client, $uri) {
  32. $uri = str_replace('MediaInstance', 'Media', $uri);
  33. parent::__construct($client, $uri);
  34. }
  35. }