// Code generated by sdkgen. DO NOT EDIT.

package idp

import (
	"context"

	"google.golang.org/grpc"
)

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

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

// Userpool gets UserpoolService client
func (o *OrganizationManagerIdp) Userpool() *UserpoolServiceClient {
	return &UserpoolServiceClient{getConn: o.getConn}
}

// User gets UserService client
func (o *OrganizationManagerIdp) User() *UserServiceClient {
	return &UserServiceClient{getConn: o.getConn}
}
