code: function() {
              // merge fields and calculatedFields()
              var combinedFields = [];
  
              for (var f in this.fields) {
                  if (this.fields.hasOwnProperty(f)) {
                      combinedFields[f] = this.fields[f];
                  }
              }
  
              var calculatedFields = this.calculatedFields();
              for (var cf in calculatedFields) {
                  if (calculatedFields.hasOwnProperty(cf)) {
                      combinedFields[cf] = calculatedFields[cf];
                  }
              }
  
              return combinedFields;
          }
docs: Returns an array of data model fields from this data model object's
  calculations, and this data model object's fields.
  
  @return {Array} An array of `splunk.Service.DataModelField` objects
  which includes this data model object's fields, and the fields from
  this data model object's calculations.
  
  @method splunkjs.Service.DataModelObject