// Code generated by sdkgen. DO NOT EDIT.

package saml

import (
	"context"

	"google.golang.org/grpc"
)

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

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

// Certificate gets CertificateService client
func (o *OrganizationManagerSAML) Certificate() *CertificateServiceClient {
	return &CertificateServiceClient{getConn: o.getConn}
}

// Federation gets FederationService client
func (o *OrganizationManagerSAML) Federation() *FederationServiceClient {
	return &FederationServiceClient{getConn: o.getConn}
}
