code: function(options) {
    options = options || {};
    this.type = options.type;
    this.body = options.body;
    this.actions = options.actions;
    this.links = options.links;
    this.embedded = options.embedded;
  }
docs: Object that represents an entity returned by a resource's action