Domain.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * A single Domain
  4. *
  5. * .. php:attr:: date_created
  6. *
  7. * The date the domain was created
  8. *
  9. * .. php:attr:: date_updated
  10. *
  11. * The date the domain was updated
  12. *
  13. * .. php:attr:: sid
  14. *
  15. * A 34 character string that identifies this object
  16. *
  17. * .. php:attr:: account_sid
  18. *
  19. * The account that created the domain
  20. *
  21. * .. php:attr:: friendly_name
  22. *
  23. * The friendly name of the domain
  24. *
  25. * .. php:attr:: domain_name
  26. *
  27. * The *.sip.twilio domain for the domain
  28. *
  29. * .. php:attr:: auth_type
  30. *
  31. * The auth type used for the domain
  32. *
  33. * .. php:attr:: voice_url
  34. *
  35. * The voice url for the domain
  36. *
  37. * .. php:attr:: voice_fallback_url
  38. *
  39. * The voice fallback url for the domain
  40. *
  41. * .. php:attr:: voice_fallback_method
  42. *
  43. * The voice fallback method for the domain
  44. *
  45. * .. php:attr:: voice_status_callback_url
  46. *
  47. * The voice status callback url for the domain
  48. *
  49. * .. php:attr:: voice_status_callback_method
  50. *
  51. * The voice status_callback_method for the domain
  52. *
  53. * .. php:attr:: uri
  54. *
  55. * The uri of the domain
  56. *
  57. * .. php:attr:: subresource_uris
  58. *
  59. * The subresources associated with this domain (IpAccessControlListMappings, CredentialListMappings)
  60. *
  61. */
  62. class Services_Twilio_Rest_Domain extends Services_Twilio_InstanceResource {
  63. protected function init($client, $uri) {
  64. $this->setupSubresources(
  65. 'ip_access_control_list_mappings',
  66. 'credential_list_mappings'
  67. );
  68. }
  69. }