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.String[]Filters shared messages based on the owner extension.String[]Filters shared messages based on the owner extension type.Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) Format: int32A `syncToken` value from the previous sync response (for `ISync` mode only, mandatory)Type of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISyncString[]Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconversationId(Long conversationId) distinctConversations(Boolean distinctConversations) messageType(String[] messageType) ownerExtensionType(String[] ownerExtensionType) 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
A `syncToken` value from the previous sync response (for `ISync` mode only, mandatory) -
syncType
Type of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISync -
voicemailOwner
Deprecated. Filters voicemail messages based on the owner extension. Supported if the 'SharedVoicemail' feature is enabled. Default: Personal Enum: Any, Personal, Shared -
owner
Filters shared messages based on the owner extension. Supported if the 'SharedVoicemail' or 'CallQueueSmsRecipient' feature is enabled. Default: Personal Enum: Any, Personal, Shared -
ownerExtensionType
Filters shared messages based on the owner extension type. Supported if "SharedVoicemail" or "CallQueueSmsRecipient" feature is enabled. Enum: User, Department, Announcement, Voicemail, DigitalUser, VirtualUser, FaxUser, PagingOnly, SharedLinesGroup, DelegatedLinesGroup, GroupCallPickup, IvrMenu, ApplicationExtension, ProxyAdmin, RoomConnector, ParkLocation, Limited, Bot, Site, Room, FlexibleUser, Unknown
-
-
Constructor Details
-
SyncMessagesParameters
public SyncMessagesParameters()
-
-
Method Details
-
conversationId
-
dateFrom
-
dateTo
-
direction
-
distinctConversations
-
messageType
-
recordCount
-
syncToken
-
syncType
-
voicemailOwner
-
owner
-
ownerExtensionType
-