Package com.ringcentral.definitions
Class MessageListMessageResponse
java.lang.Object
com.ringcentral.definitions.MessageListMessageResponse
The short detail of the message in the get batch response
-
Field Summary
FieldsModifier and TypeFieldDescriptionInternal identifier of a batch the message was submitted in Example: 12345Cost of a message Format: double Example: 0.007The time at which the message was created Format: date-timeDirection of the SMS message Enum: Inbound, OutboundThe RC error code of the message sending failure reason Example: SMS-RC-503Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format from which the message is sent Example: +15551234567The Id of the message Format: int64 Example: 1234The time at which the messages was last updated Format: date-timeCurrent status of a message Example: Queued Enum: Queued, Delivered, Sent, SendingFailed, DeliveryFailedNumber of segments of a message Format: int32 Example: 1Text of a message.String[]
Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format to which a message is sent Example: +15551234567 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(String creationTime) lastModifiedTime
(String lastModifiedTime) messageStatus
(String messageStatus) segmentCount
(Long segmentCount)
-
Field Details
-
id
The Id of the message Format: int64 Example: 1234 -
batchId
Internal identifier of a batch the message was submitted in Example: 12345 -
from
Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format from which the message is sent Example: +15551234567 -
to
Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format to which a message is sent Example: +15551234567 -
creationTime
The time at which the message was created Format: date-time -
lastModifiedTime
The time at which the messages was last updated Format: date-time -
messageStatus
Current status of a message Example: Queued Enum: Queued, Delivered, Sent, SendingFailed, DeliveryFailed -
segmentCount
Number of segments of a message Format: int32 Example: 1 -
text
Text of a message. Returned if the `view` parameter is set to 'Detailed' -
cost
Cost of a message Format: double Example: 0.007 -
direction
Direction of the SMS message Enum: Inbound, Outbound -
errorCode
The RC error code of the message sending failure reason Example: SMS-RC-503
-
-
Constructor Details
-
MessageListMessageResponse
public MessageListMessageResponse()
-
-
Method Details
-
id
-
batchId
-
from
-
to
-
creationTime
-
lastModifiedTime
-
messageStatus
-
segmentCount
-
text
-
cost
-
direction
-
errorCode
-