Package com.symphony.bdk.gen.api.model
Class V2ImportedMessage
java.lang.Object
com.symphony.bdk.gen.api.model.V2ImportedMessage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-12T12:09:03.158689390Z[Etc/UTC]")
public class V2ImportedMessage
extends Object
A historic message to be imported into the system. The importing user must have the Content Management role. Also, the importing user must be a member of the conversation it is importing into. The user that the message is intended to have come from must also be present in the conversation. The intended message timestamp must be a valid time from the past. It cannot be a future timestamp. By design, imported messages do not stream to datafeed or firehose endpoints.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this V2ImportedMessage object is equal to o.format
(V2ImportedMessage.FormatEnum format) Get formatThe long integer userid of the Symphony user who you intend to show sent the message.The timestamp representing the time when the message was sent in the original system in milliseconds since Jan 1st 1970.Message text in MessageMLThe ID of the message in the original system.The ID of the system through which the message was originally sent.Get streamIdint
hashCode()
intendedMessageFromUserId
(Long intendedMessageFromUserId) intendedMessageTimestamp
(Long intendedMessageTimestamp) originalMessageId
(String originalMessageId) originatingSystemId
(String originatingSystemId) void
void
setIntendedMessageFromUserId
(Long intendedMessageFromUserId) void
setIntendedMessageTimestamp
(Long intendedMessageTimestamp) void
setMessage
(String message) void
setOriginalMessageId
(String originalMessageId) void
setOriginatingSystemId
(String originatingSystemId) void
setStreamId
(String streamId) toString()
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_FORMAT
- See Also:
-
JSON_PROPERTY_INTENDED_MESSAGE_TIMESTAMP
- See Also:
-
JSON_PROPERTY_INTENDED_MESSAGE_FROM_USER_ID
- See Also:
-
JSON_PROPERTY_ORIGINATING_SYSTEM_ID
- See Also:
-
JSON_PROPERTY_ORIGINAL_MESSAGE_ID
- See Also:
-
JSON_PROPERTY_STREAM_ID
- See Also:
-
-
Constructor Details
-
V2ImportedMessage
public V2ImportedMessage()
-
-
Method Details
-
message
-
getMessage
Message text in MessageML- Returns:
- message
-
setMessage
-
format
-
getFormat
Get format- Returns:
- format
-
setFormat
-
intendedMessageTimestamp
-
getIntendedMessageTimestamp
The timestamp representing the time when the message was sent in the original system in milliseconds since Jan 1st 1970.- Returns:
- intendedMessageTimestamp
-
setIntendedMessageTimestamp
-
intendedMessageFromUserId
-
getIntendedMessageFromUserId
The long integer userid of the Symphony user who you intend to show sent the message.- Returns:
- intendedMessageFromUserId
-
setIntendedMessageFromUserId
-
originatingSystemId
-
getOriginatingSystemId
The ID of the system through which the message was originally sent.- Returns:
- originatingSystemId
-
setOriginatingSystemId
-
originalMessageId
-
getOriginalMessageId
The ID of the message in the original system.- Returns:
- originalMessageId
-
setOriginalMessageId
-
streamId
-
getStreamId
Get streamId- Returns:
- streamId
-
setStreamId
-
equals
Return true if this V2ImportedMessage object is equal to o. -
hashCode
public int hashCode() -
toString
-