// Code generated by MockGen. DO NOT EDIT.
// Source: git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/api/alarm (interfaces: Store)
//
// Generated by this command:
//
//	mockgen -destination=../../../mocks/lib/api/alarm/alarm.go git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/api/alarm Store
//

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

import (
	context "context"
	reflect "reflect"

	alarm "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/api/alarm"
	export "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/api/export"
	link "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/canopsis/link"
	gomock "go.uber.org/mock/gomock"
)

// MockStore is a mock of Store interface.
type MockStore struct {
	ctrl     *gomock.Controller
	recorder *MockStoreMockRecorder
	isgomock struct{}
}

// MockStoreMockRecorder is the mock recorder for MockStore.
type MockStoreMockRecorder struct {
	mock *MockStore
}

// NewMockStore creates a new mock instance.
func NewMockStore(ctrl *gomock.Controller) *MockStore {
	mock := &MockStore{ctrl: ctrl}
	mock.recorder = &MockStoreMockRecorder{mock}
	return mock
}

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

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

// Count indicates an expected call of Count.
func (mr *MockStoreMockRecorder) Count(ctx, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Count", reflect.TypeOf((*MockStore)(nil).Count), ctx, r, userID)
}

// Export mocks base method.
func (m *MockStore) Export(ctx context.Context, t export.Task) (export.DataCursor, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Export", ctx, t)
	ret0, _ := ret[0].(export.DataCursor)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

// Find mocks base method.
func (m *MockStore) Find(ctx context.Context, r alarm.ListRequestWithPagination, userID string) (*alarm.AggregationResult, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Find", ctx, r, userID)
	ret0, _ := ret[0].(*alarm.AggregationResult)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Find indicates an expected call of Find.
func (mr *MockStoreMockRecorder) Find(ctx, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Find", reflect.TypeOf((*MockStore)(nil).Find), ctx, r, userID)
}

// FindByComponent mocks base method.
func (m *MockStore) FindByComponent(ctx context.Context, r alarm.ListByComponentRequest, userID string) (*alarm.AggregationResult, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "FindByComponent", ctx, r, userID)
	ret0, _ := ret[0].(*alarm.AggregationResult)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// FindByComponent indicates an expected call of FindByComponent.
func (mr *MockStoreMockRecorder) FindByComponent(ctx, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindByComponent", reflect.TypeOf((*MockStore)(nil).FindByComponent), ctx, r, userID)
}

// FindByService mocks base method.
func (m *MockStore) FindByService(ctx context.Context, id string, r alarm.ListByServiceRequest, userID string) (*alarm.AggregationResult, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "FindByService", ctx, id, r, userID)
	ret0, _ := ret[0].(*alarm.AggregationResult)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// FindByService indicates an expected call of FindByService.
func (mr *MockStoreMockRecorder) FindByService(ctx, id, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindByService", reflect.TypeOf((*MockStore)(nil).FindByService), ctx, id, r, userID)
}

// FindResolved mocks base method.
func (m *MockStore) FindResolved(ctx context.Context, r alarm.ResolvedListRequest, userID string) (*alarm.AggregationResult, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "FindResolved", ctx, r, userID)
	ret0, _ := ret[0].(*alarm.AggregationResult)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// FindResolved indicates an expected call of FindResolved.
func (mr *MockStoreMockRecorder) FindResolved(ctx, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FindResolved", reflect.TypeOf((*MockStore)(nil).FindResolved), ctx, r, userID)
}

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

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

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

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

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

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

// GetDetails mocks base method.
func (m *MockStore) GetDetails(ctx context.Context, r alarm.DetailsRequest, userID string) (*alarm.Details, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetDetails", ctx, r, userID)
	ret0, _ := ret[0].(*alarm.Details)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetDetails indicates an expected call of GetDetails.
func (mr *MockStoreMockRecorder) GetDetails(ctx, r, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDetails", reflect.TypeOf((*MockStore)(nil).GetDetails), ctx, r, userID)
}

// GetDisplayNames mocks base method.
func (m *MockStore) GetDisplayNames(ctx context.Context, r alarm.GetDisplayNamesRequest) (*alarm.GetDisplayNamesResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetDisplayNames", ctx, r)
	ret0, _ := ret[0].(*alarm.GetDisplayNamesResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

// GetInstructionExecutionStatuses mocks base method.
func (m *MockStore) GetInstructionExecutionStatuses(ctx context.Context, alarmIDs []string, assignedInstructionsMap map[string][]alarm.AssignedInstruction) (map[string]alarm.ExecutionStatus, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetInstructionExecutionStatuses", ctx, alarmIDs, assignedInstructionsMap)
	ret0, _ := ret[0].(map[string]alarm.ExecutionStatus)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetInstructionExecutionStatuses indicates an expected call of GetInstructionExecutionStatuses.
func (mr *MockStoreMockRecorder) GetInstructionExecutionStatuses(ctx, alarmIDs, assignedInstructionsMap any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstructionExecutionStatuses", reflect.TypeOf((*MockStore)(nil).GetInstructionExecutionStatuses), ctx, alarmIDs, assignedInstructionsMap)
}

// GetLinks mocks base method.
func (m *MockStore) GetLinks(ctx context.Context, ruleId string, alarmIds []string, userID string) ([]link.Link, bool, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLinks", ctx, ruleId, alarmIds, userID)
	ret0, _ := ret[0].([]link.Link)
	ret1, _ := ret[1].(bool)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// GetLinks indicates an expected call of GetLinks.
func (mr *MockStoreMockRecorder) GetLinks(ctx, ruleId, alarmIds, userID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLinks", reflect.TypeOf((*MockStore)(nil).GetLinks), ctx, ruleId, alarmIds, userID)
}

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

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