whole_func_string: function wrap(Class, entity) {
    UsergridEntity.prototype = entity;
    Class._usergrid.constructor.prototype = new UsergridEntity();
    entity = new Class._usergrid.constructor();
    entity._class = Class;
    defineAttributes(entity);
    addConnectionFunctions(entity, Class._usergrid.connections);
    return entity;
  }
func_code_string: function wrap(Class, entity) {
    UsergridEntity.prototype = entity;
    Class._usergrid.constructor.prototype = new UsergridEntity();
    entity = new Class._usergrid.constructor();
    entity._class = Class;
    defineAttributes(entity);
    addConnectionFunctions(entity, Class._usergrid.connections);
    return entity;
  }
func_documentation_string: Create a new typed entity from the passed sdk Usergrid.Entity. Assigns prototypes as follows: [defined entity] -> [this UsergridEntity()] -> [sdk Usergrid.Entity()]