Package com.ringcentral.definitions
Class ListMessagesParameters
java.lang.Object
com.ringcentral.definitions.ListMessagesParameters
Query parameters for operation listMessages
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
Specifies the availability status for resulting messages.Specifies a conversation identifier for the resulting messagesStart date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.End date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.String[]
Direction for resulting messages.If `true`, then the latest messages per every conversation ID are returnedString[]
Type of resulting messages.Indicates a page number to retrieve.Indicates a page size (number of items) Format: int32 Default: 100Phone number.String[]
Read status for resulting messages. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailability
(String[] availability) conversationId
(String conversationId) distinctConversations
(Boolean distinctConversations) messageType
(String[] messageType) phoneNumber
(String phoneNumber) readStatus
(String[] readStatus)
-
Field Details
-
availability
Specifies the availability status for resulting messages. Multiple values are accepted Enum: Alive, Deleted, Purged -
conversationId
Specifies a conversation identifier for the resulting messages -
dateFrom
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
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 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 of resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted Enum: Fax, SMS, VoiceMail, Pager -
readStatus
Read status for resulting messages. Multiple values are accepted Enum: Read, Unread -
page
Indicates a page number to retrieve. Only positive number values are accepted Format: int32 Default: 1 -
perPage
Indicates a page size (number of items) Format: int32 Default: 100 -
phoneNumber
Phone number. If specified, messages are returned for this particular phone number only
-
-
Constructor Details
-
ListMessagesParameters
public ListMessagesParameters()
-
-
Method Details
-
availability
-
conversationId
-
dateFrom
-
dateTo
-
direction
-
distinctConversations
-
messageType
-
readStatus
-
page
-
perPage
-
phoneNumber
-