Package com.symphony.bdk.gen.api.model
Class Message
java.lang.Object
com.symphony.bdk.gen.api.model.BaseMessage
com.symphony.bdk.gen.api.model.Message
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-05T16:35:19.322971670Z[Etc/UTC]")
public class Message
extends BaseMessage
A representation of a message sent by a user of Symphony.
-
Field Summary
Fields inherited from class com.symphony.bdk.gen.api.model.BaseMessage
JSON_PROPERTY_ID, JSON_PROPERTY_MESSAGE_TYPE, JSON_PROPERTY_STREAM_ID, JSON_PROPERTY_TIMESTAMP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this Message object is equal to o.fromUserId
(Long fromUserId) the Symphony userId of the user who sent the message.Message text in MessageMLint
hashCode()
void
setFromUserId
(Long fromUserId) void
setMessage
(String message) toString()
Methods inherited from class com.symphony.bdk.gen.api.model.BaseMessage
getId, getMessageType, getStreamId, getTimestamp, id, messageType, setId, setMessageType, setStreamId, setTimestamp, streamId, timestamp
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_FROM_USER_ID
- See Also:
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
message
-
getMessage
Message text in MessageML- Returns:
- message
-
setMessage
-
fromUserId
-
getFromUserId
the Symphony userId of the user who sent the message. This will be populated by the server (and actually ignored if included when sending a message).- Returns:
- fromUserId
-
setFromUserId
-
equals
Return true if this Message object is equal to o.- Overrides:
equals
in classBaseMessage
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseMessage
-
toString
- Overrides:
toString
in classBaseMessage
-