// Code generated by MockGen. DO NOT EDIT.
// Source: ./internel/svc/project/project.go

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

import (
	context "context"
	reflect "reflect"

	gomock "github.com/golang/mock/gomock"
	utils "github.com/tidbcloud/account/central/utils"
	central "github.com/tidbcloud/account/idl/pbgen/proto/central"
	entity "github.com/tidbcloud/account/internel/dao/entity"
	project "github.com/tidbcloud/account/internel/dao/project"
	dto "github.com/tidbcloud/account/internel/dto"
)

// MockProjectSvcIface is a mock of ProjectSvcIface interface.
type MockProjectSvcIface struct {
	ctrl     *gomock.Controller
	recorder *MockProjectSvcIfaceMockRecorder
}

// MockProjectSvcIfaceMockRecorder is the mock recorder for MockProjectSvcIface.
type MockProjectSvcIfaceMockRecorder struct {
	mock *MockProjectSvcIface
}

// NewMockProjectSvcIface creates a new mock instance.
func NewMockProjectSvcIface(ctrl *gomock.Controller) *MockProjectSvcIface {
	mock := &MockProjectSvcIface{ctrl: ctrl}
	mock.recorder = &MockProjectSvcIfaceMockRecorder{mock}
	return mock
}

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

// AdvancedListProjectsByPage mocks base method.
func (m *MockProjectSvcIface) AdvancedListProjectsByPage(ctx context.Context, pageParams dto.PageParams) (*utils.Paginator, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AdvancedListProjectsByPage", ctx, pageParams)
	ret0, _ := ret[0].(*utils.Paginator)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// AdvancedListProjectsByPage indicates an expected call of AdvancedListProjectsByPage.
func (mr *MockProjectSvcIfaceMockRecorder) AdvancedListProjectsByPage(ctx, pageParams interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AdvancedListProjectsByPage", reflect.TypeOf((*MockProjectSvcIface)(nil).AdvancedListProjectsByPage), ctx, pageParams)
}

// CreateProject mocks base method.
func (m *MockProjectSvcIface) CreateProject(ctx context.Context, req project.CreateProjectReq) (*entity.Project, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CreateProject", ctx, req)
	ret0, _ := ret[0].(*entity.Project)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// CreateProject indicates an expected call of CreateProject.
func (mr *MockProjectSvcIfaceMockRecorder) CreateProject(ctx, req interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateProject", reflect.TypeOf((*MockProjectSvcIface)(nil).CreateProject), ctx, req)
}

// DeleteProject mocks base method.
func (m *MockProjectSvcIface) DeleteProject(ctx context.Context, projectId uint64) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DeleteProject", ctx, projectId)
	ret0, _ := ret[0].(error)
	return ret0
}

// DeleteProject indicates an expected call of DeleteProject.
func (mr *MockProjectSvcIfaceMockRecorder) DeleteProject(ctx, projectId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteProject", reflect.TypeOf((*MockProjectSvcIface)(nil).DeleteProject), ctx, projectId)
}

// GetProjectByID mocks base method.
func (m *MockProjectSvcIface) GetProjectByID(ctx context.Context, projectID uint64) (*entity.Project, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetProjectByID", ctx, projectID)
	ret0, _ := ret[0].(*entity.Project)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetProjectByID indicates an expected call of GetProjectByID.
func (mr *MockProjectSvcIfaceMockRecorder) GetProjectByID(ctx, projectID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProjectByID", reflect.TypeOf((*MockProjectSvcIface)(nil).GetProjectByID), ctx, projectID)
}

// GetUserOrgsProjects mocks base method.
func (m *MockProjectSvcIface) GetUserOrgsProjects(ctx context.Context, userId uint64) ([]*central.OrgInfo, []*central.ProjectInfo, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetUserOrgsProjects", ctx, userId)
	ret0, _ := ret[0].([]*central.OrgInfo)
	ret1, _ := ret[1].([]*central.ProjectInfo)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// GetUserOrgsProjects indicates an expected call of GetUserOrgsProjects.
func (mr *MockProjectSvcIfaceMockRecorder) GetUserOrgsProjects(ctx, userId interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserOrgsProjects", reflect.TypeOf((*MockProjectSvcIface)(nil).GetUserOrgsProjects), ctx, userId)
}

// ListActiveProjectsByOrgID mocks base method.
func (m *MockProjectSvcIface) ListActiveProjectsByOrgID(ctx context.Context, orgID uint64) ([]entity.Project, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListActiveProjectsByOrgID", ctx, orgID)
	ret0, _ := ret[0].([]entity.Project)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ListActiveProjectsByOrgID indicates an expected call of ListActiveProjectsByOrgID.
func (mr *MockProjectSvcIfaceMockRecorder) ListActiveProjectsByOrgID(ctx, orgID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListActiveProjectsByOrgID", reflect.TypeOf((*MockProjectSvcIface)(nil).ListActiveProjectsByOrgID), ctx, orgID)
}

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

// ListActiveProjectsByOrgIDs indicates an expected call of ListActiveProjectsByOrgIDs.
func (mr *MockProjectSvcIfaceMockRecorder) ListActiveProjectsByOrgIDs(ctx, orgIDs interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListActiveProjectsByOrgIDs", reflect.TypeOf((*MockProjectSvcIface)(nil).ListActiveProjectsByOrgIDs), ctx, orgIDs)
}

// ListProjects mocks base method.
func (m *MockProjectSvcIface) ListProjects(ctx context.Context, orgIDs, projectIDs []uint64, status []string) ([]entity.Project, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListProjects", ctx, orgIDs, projectIDs, status)
	ret0, _ := ret[0].([]entity.Project)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ListProjects indicates an expected call of ListProjects.
func (mr *MockProjectSvcIfaceMockRecorder) ListProjects(ctx, orgIDs, projectIDs, status interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListProjects", reflect.TypeOf((*MockProjectSvcIface)(nil).ListProjects), ctx, orgIDs, projectIDs, status)
}

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

// ListUserVisibleProjectIds indicates an expected call of ListUserVisibleProjectIds.
func (mr *MockProjectSvcIfaceMockRecorder) ListUserVisibleProjectIds(ctx, userID, orgID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserVisibleProjectIds", reflect.TypeOf((*MockProjectSvcIface)(nil).ListUserVisibleProjectIds), ctx, userID, orgID)
}

// ListUserVisibleProjects mocks base method.
func (m *MockProjectSvcIface) ListUserVisibleProjects(ctx context.Context, userID uint64, orgID []uint64) ([]entity.Project, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListUserVisibleProjects", ctx, userID, orgID)
	ret0, _ := ret[0].([]entity.Project)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ListUserVisibleProjects indicates an expected call of ListUserVisibleProjects.
func (mr *MockProjectSvcIfaceMockRecorder) ListUserVisibleProjects(ctx, userID, orgID interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserVisibleProjects", reflect.TypeOf((*MockProjectSvcIface)(nil).ListUserVisibleProjects), ctx, userID, orgID)
}

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

// UpdateProjectName indicates an expected call of UpdateProjectName.
func (mr *MockProjectSvcIfaceMockRecorder) UpdateProjectName(ctx, projectId, projectName interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateProjectName", reflect.TypeOf((*MockProjectSvcIface)(nil).UpdateProjectName), ctx, projectId, projectName)
}
