code: function() {
              return {
                  dataModel: this.dataModelObject.dataModel.name,
                  baseClass: this.dataModelObject.name,
                  rows: this.rows,
                  columns: this.columns,
                  cells: this.cells,
                  filters: this.filters
              };
          }
docs: Returns a JSON ready object representation of this pivot specification.
  
  @return {Object} The JSON ready object representation of this pivot specification.
  
  @method splunkjs.Service.PivotSpecification