// Code generated by MockGen. DO NOT EDIT.
// Source: spaces_keys.go
//
// Generated by this command:
//
//	mockgen -source spaces_keys.go -package=mocks SpacesKeysService
//

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

import (
	reflect "reflect"

	do "github.com/digitalocean/doctl/do"
	godo "github.com/digitalocean/godo"
	gomock "go.uber.org/mock/gomock"
)

// MockSpacesKeysService is a mock of SpacesKeysService interface.
type MockSpacesKeysService struct {
	ctrl     *gomock.Controller
	recorder *MockSpacesKeysServiceMockRecorder
	isgomock struct{}
}

// MockSpacesKeysServiceMockRecorder is the mock recorder for MockSpacesKeysService.
type MockSpacesKeysServiceMockRecorder struct {
	mock *MockSpacesKeysService
}

// NewMockSpacesKeysService creates a new mock instance.
func NewMockSpacesKeysService(ctrl *gomock.Controller) *MockSpacesKeysService {
	mock := &MockSpacesKeysService{ctrl: ctrl}
	mock.recorder = &MockSpacesKeysServiceMockRecorder{mock}
	return mock
}

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

// Create mocks base method.
func (m *MockSpacesKeysService) Create(arg0 *godo.SpacesKeyCreateRequest) (*do.SpacesKey, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", arg0)
	ret0, _ := ret[0].(*do.SpacesKey)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

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

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

// Get mocks base method.
func (m *MockSpacesKeysService) Get(arg0 string) (*do.SpacesKey, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Get", arg0)
	ret0, _ := ret[0].(*do.SpacesKey)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Get indicates an expected call of Get.
func (mr *MockSpacesKeysServiceMockRecorder) Get(arg0 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSpacesKeysService)(nil).Get), arg0)
}

// List mocks base method.
func (m *MockSpacesKeysService) List() ([]do.SpacesKey, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "List")
	ret0, _ := ret[0].([]do.SpacesKey)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

// Update mocks base method.
func (m *MockSpacesKeysService) Update(arg0 string, arg1 *godo.SpacesKeyUpdateRequest) (*do.SpacesKey, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Update", arg0, arg1)
	ret0, _ := ret[0].(*do.SpacesKey)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Update indicates an expected call of Update.
func (mr *MockSpacesKeysServiceMockRecorder) Update(arg0, arg1 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockSpacesKeysService)(nil).Update), arg0, arg1)
}
