code: func (_m *SchedulerQueueClient) QueryIntervalActionByName(intervalActionName string) (models.IntervalAction, error) {
  	ret := _m.Called(intervalActionName)
  
  	var r0 models.IntervalAction
  	if rf, ok := ret.Get(0).(func(string) models.IntervalAction); ok {
  		r0 = rf(intervalActionName)
  	} else {
  		r0 = ret.Get(0).(models.IntervalAction)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(string) error); ok {
  		r1 = rf(intervalActionName)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // QueryIntervalActionByName provides a mock function with given fields: intervalActionName