Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (22 sloc) 648 Bytes


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

Jump to Line
Something went wrong with that request. Please try again.