Package com.ringcentral.definitions
Class SyncMessagesParameters
java.lang.Object
com.ringcentral.definitions.SyncMessagesParameters
Query parameters for operation syncMessages
-
Field Summary
FieldsModifier and TypeFieldDescriptionConversation identifier for the resulting messages.The start date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.The end date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.String[]
Direction for the resulting messages.If `true`, then the latest messages per every conversation ID are returnedString[]
Type for the resulting messages.Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) Format: int32Value of syncToken property of last sync request responseType of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISyncString[]
This query parameter will filter voicemail messages based on its owner. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconversationId
(Long conversationId) distinctConversations
(Boolean distinctConversations) messageType
(String[] messageType) recordCount
(Long recordCount) voicemailOwner
(String[] voicemailOwner)
-
Field Details
-
conversationId
Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only. Format: int64 -
dateFrom
The start date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours Format: date-time -
dateTo
The end date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time Format: date-time -
direction
Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted Enum: Inbound, Outbound -
distinctConversations
If `true`, then the latest messages per every conversation ID are returned -
messageType
Type for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted Enum: Fax, SMS, VoiceMail, Pager -
recordCount
Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) Format: int32 -
syncToken
Value of syncToken property of last sync request response -
syncType
Type of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISync -
voicemailOwner
This query parameter will filter voicemail messages based on its owner. This parameter should be controlled by the 'SharedVoicemail' feature. If the feature is disabled this filter shouldn't be applied.
-
-
Constructor Details
-
SyncMessagesParameters
public SyncMessagesParameters()
-
-
Method Details
-
conversationId
-
dateFrom
-
dateTo
-
direction
-
distinctConversations
-
messageType
-
recordCount
-
syncToken
-
syncType
-
voicemailOwner
-