[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/twilio-php/Services/Twilio/Rest/ -> MediaInstance.php (source)

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


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1