func (s *displayService) ListManageableRepositoryRoles(ctx context.Context, repositoryId string) (roles []v1alpha1.RepositoryRole, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListManageableRepositoryRoles(
		ctx,
		&v1alpha1.ListManageableRepositoryRolesRequest{
			RepositoryId: repositoryId,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Roles, nil
}
// ListManageableRepositoryRoles returns which roles should be displayed
// to the user when they are managing contributors on the repository.
ListManageableRepositoryRoles returns which roles should be displayed
to the user when they are managing contributors on the repository.
// ListManageableRepositoryRoles returns which roles should be displayed // to the user when they are managing contributors on the repository .
func (s *displayService) ListManageableRepositoryRoles(ctx context.Context, repositoryId string) (roles []v1alpha1.RepositoryRole, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListManageableRepositoryRoles(
		ctx,
		&v1alpha1.ListManageableRepositoryRolesRequest{
			RepositoryId: repositoryId,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Roles, nil
}
func ( s * displayService ) ListManageableRepositoryRoles ( ctx context . Context , repositoryId string ) ( roles [ ] v1alpha1 . RepositoryRole , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . ListManageableRepositoryRoles ( ctx , & v1alpha1 . ListManageableRepositoryRolesRequest { RepositoryId : repositoryId , } , ) if err != nil { return nil , err } return response . Roles , nil }
ListManageableRepositoryRoles returns which roles should be displayed
to the user when they are managing contributors on the repository.
ListManageableRepositoryRoles returns which roles should be displayed to the user when they are managing contributors on the repository .