Package 

Class CollectionsClient

  • All Implemented Interfaces:

    
    public final class CollectionsClient
    
                        

    Client that allows you to work with collections.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • get

         final Either<StreamError, CollectionData> get(String collectionName, String collectionId)

        Get a collection by the collectionName and collectionId.

        Parameters:
        collectionName - The collection name of the expected Collection.
        collectionId - The collection id of the expected Collection.
      • delete

         final Either<StreamError, Unit> delete(String collectionName, String collectionId)

        Delete a collection by the collectionName and collectionId.

        Parameters:
        collectionName - The collection name of the Collection to be deleted.
        collectionId - The collection id of the Collection to be deleted.