package com.kryptnostic.directory.v1;

import java.util.Set;
import java.util.UUID;

import com.kryptnostic.directory.v1.model.response.PublicKeyEnvelope;
import com.kryptnostic.kodex.v1.exceptions.types.ResourceNotFoundException;
import com.kryptnostic.sharing.v1.models.NotificationPreference;

public interface DirectoryClient {
    Set<UUID> listUsersInRealm( String realm );

    PublicKeyEnvelope getPublicKey( UUID id ) throws ResourceNotFoundException;

    @Deprecated
    NotificationPreference getNotificationPreference();

    @Deprecated
    void setNotificationPreference( NotificationPreference preference );
}

@@ -36,30 +36,8 @@
 1;%0A%0A
-import java.util.Set;%0A
 impo
@@ -311,11 +311,16 @@
     
-Set
+Iterable
 %3CUUI

change return type to Iterable<UUID>