// Code generated by sdkgen. DO NOT EDIT.

package stt

import (
	"context"

	"google.golang.org/grpc"
)

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

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

// Stt gets SttService client
func (s *STT) Stt() *SttServiceClient {
	return &SttServiceClient{getConn: s.getConn}
}
