constructor
Sends a request to delete the entity
Define the fields to set or retrieve for the given entity. Getter and Setter methods will automagically be set up on the entity once the fields are defined.
fields can either be sent as a list of arguments or as an Array
Make http request to get entity. Objects 'data' property will be set to response, then promise will be resolved.
Id of the Model to retrieve
Will merge object into the entity's parameter to be sent in any http request.
all additional parameters
Create or Updates the entity based on the presence of an 'id' property
Generated using TypeDoc
A Class that defines the base Entity Model
//Most methods on the entity are fluent (chainable) var job = new Entity('JobOrder').fields('title'); //the 'fields' function created a getter and setter for 'title' job.title = 'My New Job'; job.save();