Package com.ringcentral.definitions
Class MessageDetailsResponse
java.lang.Object
com.ringcentral.definitions.MessageDetailsResponse
Complete details of the message
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe batch in which the message was submitted Example: batch12345Cost of a message Format: double Example: 0.007The time when this is message was created.Direction 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 was sent Example: +15551234567Internal identifier of a message Example: 1234The time when this message was last updated.Current status of a message Example: Queued Enum: Queued, Delivered, Sent, SendingFailed, DeliveryFailedNumber of segments of a message Format: int32 Example: 1Text of a message, maximum number of characters is 1000 Example: Hello, World!String[]
List of phone numbers in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format to which the message was 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
Internal identifier of a message Example: 1234 -
from
Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format from which the message was sent Example: +15551234567 -
to
List of phone numbers in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format to which the message was sent Example: +15551234567 -
text
Text of a message, maximum number of characters is 1000 Example: Hello, World! -
creationTime
The time when this is message was created. Format: date-time -
lastModifiedTime
The time when this message 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 -
cost
Cost of a message Format: double Example: 0.007 -
batchId
The batch in which the message was submitted Example: batch12345 -
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
-
MessageDetailsResponse
public MessageDetailsResponse()
-
-
Method Details
-
id
-
from
-
to
-
text
-
creationTime
-
lastModifiedTime
-
messageStatus
-
segmentCount
-
cost
-
batchId
-
direction
-
errorCode
-