EventPage.php 715 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * This code was generated by
  4. * \ / _ _ _| _ _
  5. * | (_)\/(_)(_|\/| |(/_ v1.0.0
  6. * / /
  7. */
  8. namespace Twilio\Rest\Monitor\V1;
  9. use Twilio\Page;
  10. class EventPage extends Page {
  11. public function __construct($version, $response, $solution) {
  12. parent::__construct($version, $response);
  13. // Path Solution
  14. $this->solution = $solution;
  15. }
  16. public function buildInstance(array $payload) {
  17. return new EventInstance($this->version, $payload);
  18. }
  19. /**
  20. * Provide a friendly representation
  21. *
  22. * @return string Machine friendly representation
  23. */
  24. public function __toString() {
  25. return '[Twilio.Monitor.V1.EventPage]';
  26. }
  27. }