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

// 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"
)

// MockBYOIPPrefixsService is a mock of BYOIPPrefixsService interface.
type MockBYOIPPrefixsService struct {
	ctrl     *gomock.Controller
	recorder *MockBYOIPPrefixsServiceMockRecorder
	isgomock struct{}
}

// MockBYOIPPrefixsServiceMockRecorder is the mock recorder for MockBYOIPPrefixsService.
type MockBYOIPPrefixsServiceMockRecorder struct {
	mock *MockBYOIPPrefixsService
}

// NewMockBYOIPPrefixsService creates a new mock instance.
func NewMockBYOIPPrefixsService(ctrl *gomock.Controller) *MockBYOIPPrefixsService {
	mock := &MockBYOIPPrefixsService{ctrl: ctrl}
	mock.recorder = &MockBYOIPPrefixsServiceMockRecorder{mock}
	return mock
}

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

// Create mocks base method.
func (m *MockBYOIPPrefixsService) Create(ficr *godo.BYOIPPrefixCreateReq) (*godo.BYOIPPrefixCreateResp, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Create", ficr)
	ret0, _ := ret[0].(*godo.BYOIPPrefixCreateResp)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

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

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

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

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

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

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

// GetPrefixResources indicates an expected call of GetPrefixResources.
func (mr *MockBYOIPPrefixsServiceMockRecorder) GetPrefixResources(prefixUUID any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPrefixResources", reflect.TypeOf((*MockBYOIPPrefixsService)(nil).GetPrefixResources), prefixUUID)
}

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

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

// Update mocks base method.
func (m *MockBYOIPPrefixsService) Update(prefixUUID string, ucr *godo.BYOIPPrefixUpdateReq) (*do.BYOIPPrefix, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Update", prefixUUID, ucr)
	ret0, _ := ret[0].(*do.BYOIPPrefix)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Update indicates an expected call of Update.
func (mr *MockBYOIPPrefixsServiceMockRecorder) Update(prefixUUID, ucr any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockBYOIPPrefixsService)(nil).Update), prefixUUID, ucr)
}
