Class Draft.DraftMessage

  • Enclosing class:
    Draft

    public static class Draft.DraftMessage
    extends java.lang.Object
    A draft message.
    • Constructor Detail

      • DraftMessage

        public DraftMessage()
    • Method Detail

      • getId

        @Nullable
        public @Nullable java.lang.String getId()
      • getText

        @Nullable
        public @Nullable java.lang.String getText()
      • getHtml

        @Nullable
        public @Nullable java.lang.String getHtml()
      • getMml

        @Nullable
        public @Nullable java.lang.String getMml()
      • getParentId

        @Nullable
        public @Nullable java.lang.String getParentId()
      • getShowInChannel

        @Nullable
        public @Nullable java.lang.Boolean getShowInChannel()
      • getAttachments

        @Nullable
        public @Nullable java.util.List<Message.Attachment> getAttachments()
      • getMentionedUsers

        @Nullable
        public @Nullable java.util.List<User> getMentionedUsers()
      • getCustom

        @Nullable
        public @Nullable java.util.Map<java.lang.String,​java.lang.Object> getCustom()
      • getQuotedMessageId

        @Nullable
        public @Nullable java.lang.String getQuotedMessageId()
      • getType

        @Nullable
        public @Nullable java.lang.String getType()
      • getSilent

        @Nullable
        public @Nullable java.lang.Boolean getSilent()
      • getPollId

        @Nullable
        public @Nullable java.lang.String getPollId()
      • setId

        public void setId​(@Nullable
                          @Nullable java.lang.String id)
      • setText

        public void setText​(@Nullable
                            @Nullable java.lang.String text)
      • setHtml

        public void setHtml​(@Nullable
                            @Nullable java.lang.String html)
      • setMml

        public void setMml​(@Nullable
                           @Nullable java.lang.String mml)
      • setParentId

        public void setParentId​(@Nullable
                                @Nullable java.lang.String parentId)
      • setShowInChannel

        public void setShowInChannel​(@Nullable
                                     @Nullable java.lang.Boolean showInChannel)
      • setAttachments

        public void setAttachments​(@Nullable
                                   @Nullable java.util.List<Message.Attachment> attachments)
      • setMentionedUsers

        public void setMentionedUsers​(@Nullable
                                      @Nullable java.util.List<User> mentionedUsers)
      • setCustom

        public void setCustom​(@Nullable
                              @Nullable java.util.Map<java.lang.String,​java.lang.Object> custom)
      • setQuotedMessageId

        public void setQuotedMessageId​(@Nullable
                                       @Nullable java.lang.String quotedMessageId)
      • setType

        public void setType​(@Nullable
                            @Nullable java.lang.String type)
      • setSilent

        public void setSilent​(@Nullable
                              @Nullable java.lang.Boolean silent)
      • setPollId

        public void setPollId​(@Nullable
                              @Nullable java.lang.String pollId)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object