java.lang.Object
com.github.jamesnetherton.zulip.client.api.draft.Draft

public class Draft extends Object
Defines a Zulip draft
  • Constructor Details

    • Draft

      public Draft()
  • Method Details

    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getType

      public DraftType getType()
    • setType

      public void setType(DraftType type)
    • getTo

      public List<Long> getTo()
    • setTo

      public void setTo(List<Long> to)
    • getTopic

      public String getTopic()
    • setTopic

      public void setTopic(String topic)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • getTimestamp

      public Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(Instant timestamp)