docs: function (data) {
      data = data || {};
  
      this.category = data.hasOwnProperty('category') ? data.category : 'No category';
      this.id = data.hasOwnProperty('id') ? data.id : '';
      this.group = data.hasOwnProperty('group') ? data.group : '';
      this.lines = data.hasOwnProperty('lines') ? data.lines : 0;
      this.name = data.hasOwnProperty('name') ? data.name : '';
      this.options = data.hasOwnProperty('options') ? data.options : {};
      this.origin = data.hasOwnProperty('origin') ? data.origin : '';
      this.resources = data.hasOwnProperty('resources') ? data.resources : Object.assign({}, getDefaultOptions().resources);
      this.usage = data.hasOwnProperty('usage') ? data.usage : [];
      this.viewId = data.hasOwnProperty('viewId') ? data.viewId : '';
  }