func (_m *SavedFilterReaderWriter) SetDefault(obj models.SavedFilter) (*models.SavedFilter, error) {
	ret := _m.Called(obj)

	var r0 *models.SavedFilter
	if rf, ok := ret.Get(0).(func(models.SavedFilter) *models.SavedFilter); ok {
		r0 = rf(obj)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.SavedFilter)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(models.SavedFilter) error); ok {
		r1 = rf(obj)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// SetDefault provides a mock function with given fields: obj
SetDefault provides a mock function with given fields: obj
// SetDefault provides a mock function with given fields : obj
func (_m *SavedFilterReaderWriter) SetDefault(obj models.SavedFilter) (*models.SavedFilter, error) {
	ret := _m.Called(obj)
	var r0 *models.SavedFilter
	if rf, ok := ret.Get(0).(func(models.SavedFilter) *models.SavedFilter); ok {
		r0 = rf(obj)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.SavedFilter)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(models.SavedFilter) error); ok {
		r1 = rf(obj)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * SavedFilterReaderWriter ) SetDefault ( obj models . SavedFilter ) ( * models . SavedFilter , error ) { ret := _m . Called ( obj ) var r0 * models . SavedFilter if rf , ok := ret . Get ( 0 ) . ( func ( models . SavedFilter ) * models . SavedFilter ) ; ok { r0 = rf ( obj ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * models . SavedFilter ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( models . SavedFilter ) error ) ; ok { r1 = rf ( obj ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
SetDefault provides a mock function with given fields: obj
SetDefault provides a mock function with given fields : obj