func New(c rest.Interface) *UploadV1beta1Client {
	return &UploadV1beta1Client{c}
}
New creates a new UploadV1beta1Client for the given RESTClient.
package v1beta1
import (
	rest "k8s.io/client-go/rest"
	"kubevirt.io/client-go/generated/containerized-data-importer/clientset/versioned/scheme"
	v1beta1 "kubevirt.io/containerized-data-importer/pkg/apis/upload/v1beta1"
)
type UploadV1beta1Interface interface {
	RESTClient() rest.Interface
	UploadTokenRequestsGetter
}
type UploadV1beta1Client struct {
	restClient rest.Interface
}
func (c *UploadV1beta1Client) UploadTokenRequests(namespace string) UploadTokenRequestInterface {
	return newUploadTokenRequests(c, namespace)
}
func NewForConfig(c *rest.Config) (*UploadV1beta1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &UploadV1beta1Client{client}, nil
}
func NewForConfigOrDie(c *rest.Config) *UploadV1beta1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}