// Code generated by mockery v2.9.4. DO NOT EDIT.

package repository

import (
	apigatewayv2 "github.com/aws/aws-sdk-go/service/apigatewayv2"
	mock "github.com/stretchr/testify/mock"
)

// MockApiGatewayV2Repository is an autogenerated mock type for the ApiGatewayV2Repository type
type MockApiGatewayV2Repository struct {
	mock.Mock
}

// ListAllApiAuthorizers provides a mock function with given fields: _a0
func (_m *MockApiGatewayV2Repository) ListAllApiAuthorizers(_a0 string) ([]*apigatewayv2.Authorizer, error) {
	ret := _m.Called(_a0)

	var r0 []*apigatewayv2.Authorizer
	if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.Authorizer); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*apigatewayv2.Authorizer)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// ListAllApiRoutes provides a mock function with given fields: apiId
func (_m *MockApiGatewayV2Repository) ListAllApiRoutes(apiId *string) ([]*apigatewayv2.Route, error) {
	ret := _m.Called(apiId)

	var r0 []*apigatewayv2.Route
	if rf, ok := ret.Get(0).(func(*string) []*apigatewayv2.Route); ok {
		r0 = rf(apiId)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*apigatewayv2.Route)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(*string) error); ok {
		r1 = rf(apiId)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// ListAllApis provides a mock function with given fields:
func (_m *MockApiGatewayV2Repository) ListAllApis() ([]*apigatewayv2.Api, error) {
	ret := _m.Called()

	var r0 []*apigatewayv2.Api
	if rf, ok := ret.Get(0).(func() []*apigatewayv2.Api); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*apigatewayv2.Api)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// ListAllVpcLinks provides a mock function with given fields:
func (_m *MockApiGatewayV2Repository) ListAllVpcLinks() ([]*apigatewayv2.VpcLink, error) {
	ret := _m.Called()

	var r0 []*apigatewayv2.VpcLink
	if rf, ok := ret.Get(0).(func() []*apigatewayv2.VpcLink); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*apigatewayv2.VpcLink)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
