Package io.getstream.chat.java.models
Class Draft.DraftMessage
- java.lang.Object
-
- io.getstream.chat.java.models.Draft.DraftMessage
-
- Enclosing class:
- Draft
public static class Draft.DraftMessage extends java.lang.ObjectA draft message.
-
-
Constructor Summary
Constructors Constructor Description DraftMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@Nullable java.util.List<Message.Attachment>getAttachments()@Nullable java.util.Map<java.lang.String,java.lang.Object>getCustom()@Nullable java.lang.StringgetHtml()@Nullable java.lang.StringgetId()@Nullable java.util.List<User>getMentionedUsers()@Nullable java.lang.StringgetMml()@Nullable java.lang.StringgetParentId()@Nullable java.lang.StringgetPollId()@Nullable java.lang.StringgetQuotedMessageId()@Nullable java.lang.BooleangetShowInChannel()@Nullable java.lang.BooleangetSilent()@Nullable java.lang.StringgetText()@Nullable java.lang.StringgetType()inthashCode()voidsetAttachments(@Nullable java.util.List<Message.Attachment> attachments)voidsetCustom(@Nullable java.util.Map<java.lang.String,java.lang.Object> custom)voidsetHtml(@Nullable java.lang.String html)voidsetId(@Nullable java.lang.String id)voidsetMentionedUsers(@Nullable java.util.List<User> mentionedUsers)voidsetMml(@Nullable java.lang.String mml)voidsetParentId(@Nullable java.lang.String parentId)voidsetPollId(@Nullable java.lang.String pollId)voidsetQuotedMessageId(@Nullable java.lang.String quotedMessageId)voidsetShowInChannel(@Nullable java.lang.Boolean showInChannel)voidsetSilent(@Nullable java.lang.Boolean silent)voidsetText(@Nullable java.lang.String text)voidsetType(@Nullable java.lang.String type)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-