java.lang.Object
com.github.jamesnetherton.zulip.client.Zulip
All Implemented Interfaces:
Closeable, AutoCloseable

public final class Zulip extends Object implements Closeable
The Zulip client. The entrypoint to accessing Zulip REST APIs.
  • Constructor Details

  • Method Details

    • channels

      public StreamService channels()
      Access the collection of channel Zulip APIs.

      Since channels are analogous to streams. The StreamService is returned.

      Returns:
      The StreamService Zulip channel APIs
    • drafts

      public DraftService drafts()
      Access the collection of draft Zulip APIs.
      Returns:
      The DraftService Zulip draft APIs
    • events

      public EventService events()
      Access the collection of event Zulip APIs.
      Returns:
      The EventService Zulip event APIs
    • invitations

      public InvitationService invitations()
      Access the collection of invitation Zulip APIs.
      Returns:
      The InvitationService Zulip event APIs
    • messages

      public MessageService messages()
      Access the collection of message Zulip APIs.
      Returns:
      The MessageService Zulip message APIs
    • server

      public ServerService server()
      Access the collection of server and organization Zulip APIs.
      Returns:
      The ServerService Zulip server and organization APIs
    • snippets

      public SnippetService snippets()
      Access the collection of saved snippet Zulip APIs.
      Returns:
      The SnippetService Zulip saved snippet APIs
    • streams

      public StreamService streams()
      Access the collection of stream Zulip APIs.
      Returns:
      The StreamService Zulip stream APIs
    • users

      public UserService users()
      Access the collection of user Zulip APIs.
      Returns:
      The UserService Zulip user APIs
    • close

      public void close()
      Closes the underlying HTTP client and frees up resources.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable