code: function(name, params, callback) {
              // If someone called us with the default style of (params, callback),
              // lets make it work
              if (utils.isObject(name) && utils.isFunction(params) && !callback) {
                  callback = params;
                  params = name;
                  name = params.name;
              }
              
              params = params || {};
              params["name"] = name;
              
              return this._super(params, callback);
          }
docs: Creates an index with the given name and parameters.
  
  @example
  
  var indexes = service.indexes();
  indexes.create("NewIndex", {assureUTF8: true}, function(err, newIndex) {
  console.log("CREATED");
  });
  
  @param {String} name A name for this index.
  @param {Object} params A dictionary of properties. For a list of available parameters, see <a href="http://dev.splunk.com/view/SP-CAAAEJ3#indexparams" target="_blank">Index parameters</a> on Splunk Developer Portal.
  @param {Function} callback A function to call with the new index: `(err, createdIndex)`.
  
  @endpoint data/indexes
  @method splunkjs.Service.Indexes