@@ -41,6 +41,18 @@ public interface OboMessageService {
4141 */
4242 List <V4Message > listMessages (@ Nonnull V4Stream stream , @ Nonnull Instant since , @ Nonnull PaginationAttribute pagination );
4343
44+ /**
45+ * Get messages from an existing stream. Additionally returns any attachments associated with the message.
46+ *
47+ * @param stream the stream where to look for messages
48+ * @param since instant of the earliest possible date of the first message returned.
49+ * @param until instant of the last possible date of the last message returned.
50+ * @param pagination The skip and limit for pagination.
51+ * @return the list of matching messages in the stream.
52+ * @see <a href="https://developers.symphony.com/restapi/reference/messages-v4">Messages</a>
53+ */
54+ List <V4Message > listMessages (@ Nonnull V4Stream stream , @ Nonnull Instant since , Instant until , @ Nonnull PaginationAttribute pagination );
55+
4456 /**
4557 * Get messages from an existing stream with default limit equals 50.
4658 * Additionally returns any attachments associated with the message.
@@ -52,6 +64,19 @@ public interface OboMessageService {
5264 */
5365 List <V4Message > listMessages (@ Nonnull V4Stream stream , @ Nonnull Instant since );
5466
67+ /**
68+ * Get messages from an existing stream with default limit equals 50.
69+ * Additionally returns any attachments associated with the message.
70+ *
71+ * @param stream the stream where to look for messages
72+ * @param since instant of the earliest possible date of the first message returned.
73+ * @param until instant of the last possible date of the last message returned.
74+ * @return the list of matching messages in the stream.
75+ * @see <a href="https://developers.symphony.com/restapi/reference/messages-v4">Messages</a>
76+ */
77+ List <V4Message > listMessages (@ Nonnull V4Stream stream , @ Nonnull Instant since , Instant until );
78+
79+
5580 /**
5681 * Get messages from an existing stream. Additionally returns any attachments associated with the message.
5782 *
@@ -63,6 +88,18 @@ public interface OboMessageService {
6388 */
6489 List <V4Message > listMessages (@ Nonnull String streamId , @ Nonnull Instant since , @ Nonnull PaginationAttribute pagination );
6590
91+ /**
92+ * Get messages from an existing stream. Additionally returns any attachments associated with the message.
93+ *
94+ * @param streamId the streamID where to look for messages
95+ * @param since instant of the earliest possible date of the first message returned.
96+ * @param until instant of the last possible date of the last message returned.
97+ * @param pagination The skip and limit for pagination.
98+ * @return the list of matching messages in the stream.
99+ * @see <a href="https://developers.symphony.com/restapi/reference/messages-v4">Messages</a>
100+ */
101+ List <V4Message > listMessages (@ Nonnull String streamId , @ Nonnull Instant since , Instant until , @ Nonnull PaginationAttribute pagination );
102+
66103 /**
67104 * Get messages from an existing stream with default limit equals 50.
68105 * Additionally returns any attachments associated with the message.
@@ -74,6 +111,18 @@ public interface OboMessageService {
74111 */
75112 List <V4Message > listMessages (@ Nonnull String streamId , @ Nonnull Instant since );
76113
114+ /**
115+ * Get messages from an existing stream with default limit equals 50.
116+ * Additionally returns any attachments associated with the message.
117+ *
118+ * @param streamId the streamID where to look for messages
119+ * @param since instant of the earliest possible date of the first message returned.
120+ * @param until instant of the last possible date of the last message returned.
121+ * @return the list of matching messages in the stream.
122+ * @see <a href="https://developers.symphony.com/restapi/reference/messages-v4">Messages</a>
123+ */
124+ List <V4Message > listMessages (@ Nonnull String streamId , @ Nonnull Instant since , Instant until );
125+
77126 /**
78127 * Sends a message to the stream ID of the passed {@link V4Stream} object.
79128 *
0 commit comments