// Code generated by MockGen. DO NOT EDIT.
//
// Generated by this command:
//
//

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

import (
	context "context"
	http "net/http"
	reflect "reflect"

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

// MockConfigSvcAPI is a mock of ConfigSvcAPI interface.
type MockConfigSvcAPI struct {
	ctrl     *gomock.Controller
	recorder *MockConfigSvcAPIMockRecorder
	isgomock struct{}
}

// MockConfigSvcAPIMockRecorder is the mock recorder for MockConfigSvcAPI.
type MockConfigSvcAPIMockRecorder struct {
	mock *MockConfigSvcAPI
}

// NewMockConfigSvcAPI creates a new mock instance.
func NewMockConfigSvcAPI(ctrl *gomock.Controller) *MockConfigSvcAPI {
	mock := &MockConfigSvcAPI{ctrl: ctrl}
	mock.recorder = &MockConfigSvcAPIMockRecorder{mock}
	return mock
}

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

// ListConfigs mocks base method.
func (m *MockConfigSvcAPI) ListConfigs(ctx context.Context) ApiListConfigsRequest {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListConfigs", ctx)
	ret0, _ := ret[0].(ApiListConfigsRequest)
	return ret0
}

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

// ListConfigsExecute mocks base method.
func (m *MockConfigSvcAPI) ListConfigsExecute(r ApiListConfigsRequest) (*ConfigSvcListConfigsResponse, *http.Response, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ListConfigsExecute", r)
	ret0, _ := ret[0].(*ConfigSvcListConfigsResponse)
	ret1, _ := ret[1].(*http.Response)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

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

// SaveConfig mocks base method.
func (m *MockConfigSvcAPI) SaveConfig(ctx context.Context) ApiSaveConfigRequest {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SaveConfig", ctx)
	ret0, _ := ret[0].(ApiSaveConfigRequest)
	return ret0
}

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

// SaveConfigExecute mocks base method.
func (m *MockConfigSvcAPI) SaveConfigExecute(r ApiSaveConfigRequest) (map[string]any, *http.Response, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SaveConfigExecute", r)
	ret0, _ := ret[0].(map[string]any)
	ret1, _ := ret[1].(*http.Response)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

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