UsageRecords.php 1020 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. class Services_Twilio_Rest_UsageRecords extends Services_Twilio_TimeRangeResource {
  3. public function init($client, $uri) {
  4. $this->setupSubresources(
  5. 'today',
  6. 'yesterday',
  7. 'all_time',
  8. 'this_month',
  9. 'last_month',
  10. 'daily',
  11. 'monthly',
  12. 'yearly'
  13. );
  14. }
  15. }
  16. class Services_Twilio_Rest_Today extends Services_Twilio_TimeRangeResource { }
  17. class Services_Twilio_Rest_Yesterday extends Services_Twilio_TimeRangeResource { }
  18. class Services_Twilio_Rest_LastMonth extends Services_Twilio_TimeRangeResource { }
  19. class Services_Twilio_Rest_ThisMonth extends Services_Twilio_TimeRangeResource { }
  20. class Services_Twilio_Rest_AllTime extends Services_Twilio_TimeRangeResource { }
  21. class Services_Twilio_Rest_Daily extends Services_Twilio_UsageResource { }
  22. class Services_Twilio_Rest_Monthly extends Services_Twilio_UsageResource { }
  23. class Services_Twilio_Rest_Yearly extends Services_Twilio_UsageResource { }