// Code generated by sdkgen. DO NOT EDIT.

package vision

import (
	"context"

	"google.golang.org/grpc"
)

// Vision provides access to "vision" component of Yandex.Cloud
type Vision struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewVision creates instance of Vision
func NewVision(g func(ctx context.Context) (*grpc.ClientConn, error)) *Vision {
	return &Vision{g}
}

// Vision gets VisionService client
func (v *Vision) Vision() *VisionServiceClient {
	return &VisionServiceClient{getConn: v.getConn}
}
