Package com.ringcentral.definitions
Class MessageBatchResponse
java.lang.Object
com.ringcentral.definitions.MessageBatchResponse
Batch of A2P SMS messages. This object provides a specification
to send message(s) to many recipients. It contains top-level attributes which apply to all messages. In addition
to that, it is possible to override this attribute for each message. This
way a single API call may be used to send individual messages to many recipients
-
Field Summary
FieldsModifier and TypeFieldDescriptionTotal number of messages in the accepted batch Format: int32 Example: 5The estimated batch cost for completed batch.The time at which the batch was created Format: date-timePhone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format from which the messages are going to be sent Example: +15551234567Unique identifier of the message batch Example: 12345The last time the batch was processed.Total number of messages currently processed in the batch Format: int32 Example: 1The list of rejected/invalid recipientsCurrent status of a message batch Example: Processing Enum: Processing, Completed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(String creationTime) lastModifiedTime
(String lastModifiedTime) processedCount
(Long processedCount) rejected
(RejectedRecipientResponseResource[] rejected)
-
Field Details
-
id
Unique identifier of the message batch Example: 12345 -
from
Phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format from which the messages are going to be sent Example: +15551234567 -
batchSize
Total number of messages in the accepted batch Format: int32 Example: 5 -
processedCount
Total number of messages currently processed in the batch Format: int32 Example: 1 -
lastModifiedTime
The last time the batch was processed. Format: date-time -
status
Current status of a message batch Example: Processing Enum: Processing, Completed -
creationTime
The time at which the batch was created Format: date-time -
rejected
The list of rejected/invalid recipients -
cost
The estimated batch cost for completed batch. Calculated after batch processing is completed. Format: double Example: 0.007
-
-
Constructor Details
-
MessageBatchResponse
public MessageBatchResponse()
-
-
Method Details
-
id
-
from
-
batchSize
-
processedCount
-
lastModifiedTime
-
status
-
creationTime
-
rejected
-
cost
-