// Code generated by sdkgen. DO NOT EDIT.

package clouddesktop

import (
	"context"

	"google.golang.org/grpc"
)

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

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

// Desktop gets DesktopService client
func (c *CloudDesktop) Desktop() *DesktopServiceClient {
	return &DesktopServiceClient{getConn: c.getConn}
}

// DesktopGroup gets DesktopGroupService client
func (c *CloudDesktop) DesktopGroup() *DesktopGroupServiceClient {
	return &DesktopGroupServiceClient{getConn: c.getConn}
}

// DesktopImage gets DesktopImageService client
func (c *CloudDesktop) DesktopImage() *DesktopImageServiceClient {
	return &DesktopImageServiceClient{getConn: c.getConn}
}
