// Code generated by MockGen. DO NOT EDIT.
// Source: ../interfaces/dataset_service.go
//
// Generated by this command:
//
//	mockgen -source ../interfaces/dataset_service.go -destination ../interfaces/mock/mock_dataset_service.go
//

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

import (
	context "context"
	reflect "reflect"
	interfaces "vega-backend/interfaces"

	gomock "go.uber.org/mock/gomock"
)

// MockDatasetService is a mock of DatasetService interface.
type MockDatasetService struct {
	ctrl     *gomock.Controller
	recorder *MockDatasetServiceMockRecorder
	isgomock struct{}
}

// MockDatasetServiceMockRecorder is the mock recorder for MockDatasetService.
type MockDatasetServiceMockRecorder struct {
	mock *MockDatasetService
}

// NewMockDatasetService creates a new mock instance.
func NewMockDatasetService(ctrl *gomock.Controller) *MockDatasetService {
	mock := &MockDatasetService{ctrl: ctrl}
	mock.recorder = &MockDatasetServiceMockRecorder{mock}
	return mock
}

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

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

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

// Create mocks base method.
func (m *MockDatasetService) Create(ctx context.Context, res *interfaces.Resource) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", ctx, res)
	ret0, _ := ret[0].(error)
	return ret0
}

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

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

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

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

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

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

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

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

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

// DeleteDocumentsByQuery mocks base method.
func (m *MockDatasetService) DeleteDocumentsByQuery(ctx context.Context, indexName string, res *interfaces.Resource, params *interfaces.ResourceDataQueryParams) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteDocumentsByQuery", ctx, indexName, res, params)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteDocumentsByQuery indicates an expected call of DeleteDocumentsByQuery.
func (mr *MockDatasetServiceMockRecorder) DeleteDocumentsByQuery(ctx, indexName, res, params any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDocumentsByQuery", reflect.TypeOf((*MockDatasetService)(nil).DeleteDocumentsByQuery), ctx, indexName, res, params)
}

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

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

// ListDocuments mocks base method.
func (m *MockDatasetService) ListDocuments(ctx context.Context, indexName string, res *interfaces.Resource, params *interfaces.ResourceDataQueryParams) ([]map[string]any, int64, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListDocuments", ctx, indexName, res, params)
	ret0, _ := ret[0].([]map[string]any)
	ret1, _ := ret[1].(int64)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// ListDocuments indicates an expected call of ListDocuments.
func (mr *MockDatasetServiceMockRecorder) ListDocuments(ctx, indexName, res, params any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDocuments", reflect.TypeOf((*MockDatasetService)(nil).ListDocuments), ctx, indexName, res, params)
}

// Update mocks base method.
func (m *MockDatasetService) Update(ctx context.Context, res *interfaces.Resource) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Update", ctx, res)
	ret0, _ := ret[0].(error)
	return ret0
}

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

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

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