Class SyncMessagesParameters

java.lang.Object
com.ringcentral.definitions.SyncMessagesParameters

public class SyncMessagesParameters extends Object
Query parameters for operation syncMessages
  • Field Details

    • conversationId

      public Long conversationId
      Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only. Format: int64
    • dateFrom

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

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

      public String[] direction
      Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted Enum: Inbound, Outbound
    • distinctConversations

      public Boolean distinctConversations
      If `true`, then the latest messages per every conversation ID are returned
    • messageType

      public String[] 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

      public Long recordCount
      Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) Format: int32
    • syncToken

      public String syncToken
      Value of syncToken property of last sync request response
    • syncType

      public String syncType
      Type of message synchronization request: - FSync -- full sync - ISync -- incremental sync Enum: FSync, ISync
    • voicemailOwner

      public String[] 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