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-03-26T16:14:53.869723549Z[Etc/UTC]") public class Message extends BaseMessage
A representation of a message sent by a user of Symphony.
  • Field Details

  • Constructor Details

    • Message

      public Message()
  • Method Details

    • message

      public Message message(String message)
    • getMessage

      public String getMessage()
      Message text in MessageML
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • fromUserId

      public Message fromUserId(Long fromUserId)
    • getFromUserId

      public Long 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

      public void setFromUserId(Long fromUserId)
    • equals

      public boolean equals(Object o)
      Return true if this Message object is equal to o.
      Overrides:
      equals in class BaseMessage
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseMessage
    • toString

      public String toString()
      Overrides:
      toString in class BaseMessage