// Code generated by MockGen. DO NOT EDIT.
// Source: mcp_server_config.go
//
// Generated by this command:
//
//	mockgen -source=mcp_server_config.go -destination=../../mocks/model_mcp_server_config.go -package=mocks
//

// Package mocks is a generated GoMock package.
package mocks

import (
	context "context"
	sql "database/sql"
	reflect "reflect"

	ormhelper "github.com/kweaver-ai/adp/execution-factory/operator-integration/server/infra/common/ormhelper"
	model "github.com/kweaver-ai/adp/execution-factory/operator-integration/server/interfaces/model"
	gomock "go.uber.org/mock/gomock"
)

// MockDBMCPServerConfig is a mock of DBMCPServerConfig interface.
type MockDBMCPServerConfig struct {
	ctrl     *gomock.Controller
	recorder *MockDBMCPServerConfigMockRecorder
	isgomock struct{}
}

// MockDBMCPServerConfigMockRecorder is the mock recorder for MockDBMCPServerConfig.
type MockDBMCPServerConfigMockRecorder struct {
	mock *MockDBMCPServerConfig
}

// NewMockDBMCPServerConfig creates a new mock instance.
func NewMockDBMCPServerConfig(ctrl *gomock.Controller) *MockDBMCPServerConfig {
	mock := &MockDBMCPServerConfig{ctrl: ctrl}
	mock.recorder = &MockDBMCPServerConfigMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockDBMCPServerConfig) EXPECT() *MockDBMCPServerConfigMockRecorder {
	return m.recorder
}

// BatchDelete mocks base method.
func (m *MockDBMCPServerConfig) BatchDelete(ctx context.Context, tx *sql.Tx, IDs []string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "BatchDelete", ctx, tx, IDs)
	ret0, _ := ret[0].(error)
	return ret0
}

// BatchDelete indicates an expected call of BatchDelete.
func (mr *MockDBMCPServerConfigMockRecorder) BatchDelete(ctx, tx, IDs any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchDelete", reflect.TypeOf((*MockDBMCPServerConfig)(nil).BatchDelete), ctx, tx, IDs)
}

// CountByWhereClause mocks base method.
func (m *MockDBMCPServerConfig) CountByWhereClause(ctx context.Context, tx *sql.Tx, filter map[string]any) (int64, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CountByWhereClause", ctx, tx, filter)
	ret0, _ := ret[0].(int64)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CountByWhereClause indicates an expected call of CountByWhereClause.
func (mr *MockDBMCPServerConfigMockRecorder) CountByWhereClause(ctx, tx, filter any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CountByWhereClause", reflect.TypeOf((*MockDBMCPServerConfig)(nil).CountByWhereClause), ctx, tx, filter)
}

// DeleteByID mocks base method.
func (m *MockDBMCPServerConfig) DeleteByID(ctx context.Context, tx *sql.Tx, ID string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteByID", ctx, tx, ID)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteByID indicates an expected call of DeleteByID.
func (mr *MockDBMCPServerConfigMockRecorder) DeleteByID(ctx, tx, ID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteByID", reflect.TypeOf((*MockDBMCPServerConfig)(nil).DeleteByID), ctx, tx, ID)
}

// Insert mocks base method.
func (m *MockDBMCPServerConfig) Insert(ctx context.Context, tx *sql.Tx, config *model.MCPServerConfigDB) (string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Insert", ctx, tx, config)
	ret0, _ := ret[0].(string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Insert indicates an expected call of Insert.
func (mr *MockDBMCPServerConfigMockRecorder) Insert(ctx, tx, config any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Insert", reflect.TypeOf((*MockDBMCPServerConfig)(nil).Insert), ctx, tx, config)
}

// SelectByID mocks base method.
func (m *MockDBMCPServerConfig) SelectByID(ctx context.Context, tx *sql.Tx, ID string) (*model.MCPServerConfigDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectByID", ctx, tx, ID)
	ret0, _ := ret[0].(*model.MCPServerConfigDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectByID indicates an expected call of SelectByID.
func (mr *MockDBMCPServerConfigMockRecorder) SelectByID(ctx, tx, ID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectByID", reflect.TypeOf((*MockDBMCPServerConfig)(nil).SelectByID), ctx, tx, ID)
}

// SelectByMCPIDs mocks base method.
func (m *MockDBMCPServerConfig) SelectByMCPIDs(ctx context.Context, mcpIDs []string) ([]*model.MCPServerConfigDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectByMCPIDs", ctx, mcpIDs)
	ret0, _ := ret[0].([]*model.MCPServerConfigDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectByMCPIDs indicates an expected call of SelectByMCPIDs.
func (mr *MockDBMCPServerConfigMockRecorder) SelectByMCPIDs(ctx, mcpIDs any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectByMCPIDs", reflect.TypeOf((*MockDBMCPServerConfig)(nil).SelectByMCPIDs), ctx, mcpIDs)
}

// SelectByName mocks base method.
func (m *MockDBMCPServerConfig) SelectByName(ctx context.Context, tx *sql.Tx, name string, status []string) (*model.MCPServerConfigDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectByName", ctx, tx, name, status)
	ret0, _ := ret[0].(*model.MCPServerConfigDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectByName indicates an expected call of SelectByName.
func (mr *MockDBMCPServerConfigMockRecorder) SelectByName(ctx, tx, name, status any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectByName", reflect.TypeOf((*MockDBMCPServerConfig)(nil).SelectByName), ctx, tx, name, status)
}

// SelectListByNamesAndStatus mocks base method.
func (m *MockDBMCPServerConfig) SelectListByNamesAndStatus(ctx context.Context, names []string, status ...string) ([]*model.MCPServerConfigDB, error) {
	m.ctrl.T.Helper()
	varargs := []any{ctx, names}
	for _, a := range status {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "SelectListByNamesAndStatus", varargs...)
	ret0, _ := ret[0].([]*model.MCPServerConfigDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectListByNamesAndStatus indicates an expected call of SelectListByNamesAndStatus.
func (mr *MockDBMCPServerConfigMockRecorder) SelectListByNamesAndStatus(ctx, names any, status ...any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]any{ctx, names}, status...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectListByNamesAndStatus", reflect.TypeOf((*MockDBMCPServerConfig)(nil).SelectListByNamesAndStatus), varargs...)
}

// SelectListPage mocks base method.
func (m *MockDBMCPServerConfig) SelectListPage(ctx context.Context, tx *sql.Tx, filter map[string]any, sort *ormhelper.SortParams, cursor *ormhelper.CursorParams) ([]*model.MCPServerConfigDB, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SelectListPage", ctx, tx, filter, sort, cursor)
	ret0, _ := ret[0].([]*model.MCPServerConfigDB)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SelectListPage indicates an expected call of SelectListPage.
func (mr *MockDBMCPServerConfigMockRecorder) SelectListPage(ctx, tx, filter, sort, cursor any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelectListPage", reflect.TypeOf((*MockDBMCPServerConfig)(nil).SelectListPage), ctx, tx, filter, sort, cursor)
}

// UpdateByID mocks base method.
func (m *MockDBMCPServerConfig) UpdateByID(ctx context.Context, tx *sql.Tx, config *model.MCPServerConfigDB) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateByID", ctx, tx, config)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateByID indicates an expected call of UpdateByID.
func (mr *MockDBMCPServerConfigMockRecorder) UpdateByID(ctx, tx, config any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateByID", reflect.TypeOf((*MockDBMCPServerConfig)(nil).UpdateByID), ctx, tx, config)
}

// UpdateStatus mocks base method.
func (m *MockDBMCPServerConfig) UpdateStatus(ctx context.Context, tx *sql.Tx, ID, status, updateUser string, version int) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateStatus", ctx, tx, ID, status, updateUser, version)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateStatus indicates an expected call of UpdateStatus.
func (mr *MockDBMCPServerConfigMockRecorder) UpdateStatus(ctx, tx, ID, status, updateUser, version any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockDBMCPServerConfig)(nil).UpdateStatus), ctx, tx, ID, status, updateUser, version)
}
