// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/port/driven/idbaccess (interfaces: IDataAgentConfigRepo)
//
// Generated by this command:
//
//	mockgen -package idbaccessmock -destination ./idbaccessmock/da_config.go github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/port/driven/idbaccess IDataAgentConfigRepo
//

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

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

	cdaenum "github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/domain/enum/cdaenum"
	dapo "github.com/kweaver-ai/kweaver-core/decision-agent/agent-backend/agent-factory/src/infra/persistence/dapo"
	sqlx "github.com/kweaver-ai/proton-rds-sdk-go/sqlx"
	gomock "go.uber.org/mock/gomock"
)

// MockIDataAgentConfigRepo is a mock of IDataAgentConfigRepo interface.
type MockIDataAgentConfigRepo struct {
	ctrl     *gomock.Controller
	recorder *MockIDataAgentConfigRepoMockRecorder
	isgomock struct{}
}

// MockIDataAgentConfigRepoMockRecorder is the mock recorder for MockIDataAgentConfigRepo.
type MockIDataAgentConfigRepoMockRecorder struct {
	mock *MockIDataAgentConfigRepo
}

// NewMockIDataAgentConfigRepo creates a new mock instance.
func NewMockIDataAgentConfigRepo(ctrl *gomock.Controller) *MockIDataAgentConfigRepo {
	mock := &MockIDataAgentConfigRepo{ctrl: ctrl}
	mock.recorder = &MockIDataAgentConfigRepoMockRecorder{mock}
	return mock
}

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

// BeginTx mocks base method.
func (m *MockIDataAgentConfigRepo) BeginTx(ctx context.Context) (*sql.Tx, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "BeginTx", ctx)
	ret0, _ := ret[0].(*sql.Tx)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

// Create mocks base method.
func (m *MockIDataAgentConfigRepo) Create(ctx context.Context, tx *sql.Tx, id string, po *dapo.DataAgentPo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", ctx, tx, id, po)
	ret0, _ := ret[0].(error)
	return ret0
}

// Create indicates an expected call of Create.
func (mr *MockIDataAgentConfigRepoMockRecorder) Create(ctx, tx, id, po any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).Create), ctx, tx, id, po)
}

// CreateBatch mocks base method.
func (m *MockIDataAgentConfigRepo) CreateBatch(ctx context.Context, tx *sql.Tx, pos []*dapo.DataAgentPo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateBatch", ctx, tx, pos)
	ret0, _ := ret[0].(error)
	return ret0
}

// CreateBatch indicates an expected call of CreateBatch.
func (mr *MockIDataAgentConfigRepoMockRecorder) CreateBatch(ctx, tx, pos any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBatch", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).CreateBatch), ctx, tx, pos)
}

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

// Delete indicates an expected call of Delete.
func (mr *MockIDataAgentConfigRepoMockRecorder) Delete(ctx, tx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).Delete), ctx, tx, id)
}

// ExistsByID mocks base method.
func (m *MockIDataAgentConfigRepo) ExistsByID(ctx context.Context, id string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExistsByID", ctx, id)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ExistsByID indicates an expected call of ExistsByID.
func (mr *MockIDataAgentConfigRepoMockRecorder) ExistsByID(ctx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExistsByID", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).ExistsByID), ctx, id)
}

// ExistsByName mocks base method.
func (m *MockIDataAgentConfigRepo) ExistsByName(ctx context.Context, name string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExistsByName", ctx, name)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ExistsByName indicates an expected call of ExistsByName.
func (mr *MockIDataAgentConfigRepoMockRecorder) ExistsByName(ctx, name any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExistsByName", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).ExistsByName), ctx, name)
}

// ExistsByNameExcludeID mocks base method.
func (m *MockIDataAgentConfigRepo) ExistsByNameExcludeID(ctx context.Context, name, id string) (bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ExistsByNameExcludeID", ctx, name, id)
	ret0, _ := ret[0].(bool)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ExistsByNameExcludeID indicates an expected call of ExistsByNameExcludeID.
func (mr *MockIDataAgentConfigRepoMockRecorder) ExistsByNameExcludeID(ctx, name, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExistsByNameExcludeID", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).ExistsByNameExcludeID), ctx, name, id)
}

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

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

// GetByID mocks base method.
func (m *MockIDataAgentConfigRepo) GetByID(ctx context.Context, id string) (*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByID", ctx, id)
	ret0, _ := ret[0].(*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByID indicates an expected call of GetByID.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetByID(ctx, id any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByID", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetByID), ctx, id)
}

// GetByIDS mocks base method.
func (m *MockIDataAgentConfigRepo) GetByIDS(ctx context.Context, ids []string) ([]*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByIDS", ctx, ids)
	ret0, _ := ret[0].([]*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByIDS indicates an expected call of GetByIDS.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetByIDS(ctx, ids any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByIDS", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetByIDS), ctx, ids)
}

// GetByIDsAndCreatedBy mocks base method.
func (m *MockIDataAgentConfigRepo) GetByIDsAndCreatedBy(ctx context.Context, ids []string, createdBy string) ([]*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByIDsAndCreatedBy", ctx, ids, createdBy)
	ret0, _ := ret[0].([]*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByIDsAndCreatedBy indicates an expected call of GetByIDsAndCreatedBy.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetByIDsAndCreatedBy(ctx, ids, createdBy any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByIDsAndCreatedBy", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetByIDsAndCreatedBy), ctx, ids, createdBy)
}

// GetByKey mocks base method.
func (m *MockIDataAgentConfigRepo) GetByKey(ctx context.Context, key string) (*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByKey", ctx, key)
	ret0, _ := ret[0].(*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByKey indicates an expected call of GetByKey.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetByKey(ctx, key any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByKey", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetByKey), ctx, key)
}

// GetByKeys mocks base method.
func (m *MockIDataAgentConfigRepo) GetByKeys(ctx context.Context, keys []string) ([]*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetByKeys", ctx, keys)
	ret0, _ := ret[0].([]*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetByKeys indicates an expected call of GetByKeys.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetByKeys(ctx, keys any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetByKeys", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetByKeys), ctx, keys)
}

// GetDB mocks base method.
func (m *MockIDataAgentConfigRepo) GetDB() *sqlx.DB {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetDB")
	ret0, _ := ret[0].(*sqlx.DB)
	return ret0
}

// GetDB indicates an expected call of GetDB.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetDB() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDB", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetDB))
}

// GetIDNameMapByID mocks base method.
func (m *MockIDataAgentConfigRepo) GetIDNameMapByID(ctx context.Context, ids []string) (map[string]string, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetIDNameMapByID", ctx, ids)
	ret0, _ := ret[0].(map[string]string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetIDNameMapByID indicates an expected call of GetIDNameMapByID.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetIDNameMapByID(ctx, ids any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIDNameMapByID", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetIDNameMapByID), ctx, ids)
}

// GetMapByIDs mocks base method.
func (m *MockIDataAgentConfigRepo) GetMapByIDs(ctx context.Context, ids []string) (map[string]*dapo.DataAgentPo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetMapByIDs", ctx, ids)
	ret0, _ := ret[0].(map[string]*dapo.DataAgentPo)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetMapByIDs indicates an expected call of GetMapByIDs.
func (mr *MockIDataAgentConfigRepoMockRecorder) GetMapByIDs(ctx, ids any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMapByIDs", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).GetMapByIDs), ctx, ids)
}

// Update mocks base method.
func (m *MockIDataAgentConfigRepo) Update(ctx context.Context, tx *sql.Tx, po *dapo.DataAgentPo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Update", ctx, tx, po)
	ret0, _ := ret[0].(error)
	return ret0
}

// Update indicates an expected call of Update.
func (mr *MockIDataAgentConfigRepoMockRecorder) Update(ctx, tx, po any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).Update), ctx, tx, po)
}

// UpdateByKey mocks base method.
func (m *MockIDataAgentConfigRepo) UpdateByKey(ctx context.Context, tx *sql.Tx, po *dapo.DataAgentPo) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateByKey", ctx, tx, po)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateByKey indicates an expected call of UpdateByKey.
func (mr *MockIDataAgentConfigRepoMockRecorder) UpdateByKey(ctx, tx, po any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateByKey", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).UpdateByKey), ctx, tx, po)
}

// UpdateStatus mocks base method.
func (m *MockIDataAgentConfigRepo) UpdateStatus(ctx context.Context, tx *sql.Tx, status cdaenum.Status, id, uid string) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpdateStatus", ctx, tx, status, id, uid)
	ret0, _ := ret[0].(error)
	return ret0
}

// UpdateStatus indicates an expected call of UpdateStatus.
func (mr *MockIDataAgentConfigRepoMockRecorder) UpdateStatus(ctx, tx, status, id, uid any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockIDataAgentConfigRepo)(nil).UpdateStatus), ctx, tx, status, id, uid)
}
