code: function(name) {
              for (var i = 0; i < this.objects.length; i++) {
                  if (this.objects[i].name === name) {
                      return this.objects[i];
                  }
              }
              return null;
          }
docs: Returns a data model object from this data model
  with the specified name if it exists, null otherwise.
  
  @return {Object|null} a data model object.
  
  @method splunkjs.Service.DataModel