Entity
methodBaas.Entity()
A class to Model a Baas Entity.
Set the type of entity in the 'data' json object
@constructor
@param {object} options {client:client, data:{'type':'collection_type', 'key':'value'}, uuid:uuid}}
Baas.Entity = function(options) {
if(options){
this._client = options.client;
this._data = options.data || {};
}
};