// Code generated by sdkgen. DO NOT EDIT.

// nolint
package certificatemanager

import (
	"context"

	"google.golang.org/grpc"

	certificatemanager "github.com/yandex-cloud/go-genproto/yandex/cloud/certificatemanager/v1"
)

//revive:disable

// CertificateContentServiceClient is a certificatemanager.CertificateContentServiceClient with
// lazy GRPC connection initialization.
type CertificateContentServiceClient struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// Get implements certificatemanager.CertificateContentServiceClient
func (c *CertificateContentServiceClient) Get(ctx context.Context, in *certificatemanager.GetCertificateContentRequest, opts ...grpc.CallOption) (*certificatemanager.GetCertificateContentResponse, error) {
	conn, err := c.getConn(ctx)
	if err != nil {
		return nil, err
	}
	return certificatemanager.NewCertificateContentServiceClient(conn).Get(ctx, in, opts...)
}
