// Code generated by client-gen. DO NOT EDIT.

package fake

import (
	v1 "github.com/openshift/api/operator/v1"
	operatorv1 "github.com/openshift/client-go/operator/applyconfigurations/operator/v1"
	typedoperatorv1 "github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1"
	gentype "k8s.io/client-go/gentype"
)

// fakeServiceCatalogAPIServers implements ServiceCatalogAPIServerInterface
type fakeServiceCatalogAPIServers struct {
	*gentype.FakeClientWithListAndApply[*v1.ServiceCatalogAPIServer, *v1.ServiceCatalogAPIServerList, *operatorv1.ServiceCatalogAPIServerApplyConfiguration]
	Fake *FakeOperatorV1
}

func newFakeServiceCatalogAPIServers(fake *FakeOperatorV1) typedoperatorv1.ServiceCatalogAPIServerInterface {
	return &fakeServiceCatalogAPIServers{
		gentype.NewFakeClientWithListAndApply[*v1.ServiceCatalogAPIServer, *v1.ServiceCatalogAPIServerList, *operatorv1.ServiceCatalogAPIServerApplyConfiguration](
			fake.Fake,
			"",
			v1.SchemeGroupVersion.WithResource("servicecatalogapiservers"),
			v1.SchemeGroupVersion.WithKind("ServiceCatalogAPIServer"),
			func() *v1.ServiceCatalogAPIServer { return &v1.ServiceCatalogAPIServer{} },
			func() *v1.ServiceCatalogAPIServerList { return &v1.ServiceCatalogAPIServerList{} },
			func(dst, src *v1.ServiceCatalogAPIServerList) { dst.ListMeta = src.ListMeta },
			func(list *v1.ServiceCatalogAPIServerList) []*v1.ServiceCatalogAPIServer {
				return gentype.ToPointerSlice(list.Items)
			},
			func(list *v1.ServiceCatalogAPIServerList, items []*v1.ServiceCatalogAPIServer) {
				list.Items = gentype.FromPointerSlice(items)
			},
		),
		fake,
	}
}
