Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: feature/twiml-…

This branch is 8 commits behind develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
ReadMe.md
__init__.py
__init__.pyc
accounts.py
accounts.pyc
base.py
base.pyc
calls.py
conferences.py
incoming_phone_numbers.py
messages.py
notifications.py
outgoing_caller_ids.py
participants.py
phone_numbers.py
recordings.py
transcriptions.py
twimls.py

ReadMe.md

Models

A basic primer on how the models work

Basic Model

  • Functions
    • Properties
      Everything has these properties
      • DateSent
      • DateCreated
      • Sid (should move to the base model, although need to define for every model separately since each model has a special prefix)
    • __init__ -Avoid using this because it is a heavy function on the backend -
    • New
      • Class Method
    • new_Sid
      • Class Method
  • Exceptions
    • Accounts They inherit this model, but don't have an AccountSid associated with them, so we have to check for InstanceModel type if it is and use a slightly different

Something went wrong with that request. Please try again.