Package com.ringcentral.definitions
Class GetSMSMessageInfoResponse
java.lang.Object
com.ringcentral.definitions.GetSMSMessageInfoResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of message attachmentsMessage availability status.SMS and Pager only.Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-timeSMS only.Text message direction.Internal identifier of a message Format: int64Date/time when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-timeMessage status.Message priority Enum: Normal, HighMessage read status Enum: Read, UnreadSMS only.SMS only.Message subject.Recipient informationMessage type Enum: Fax, SMS, VoiceMail, Pager, TextCanonical URI of a message Format: uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments
(MessageAttachmentInfo[] attachments) availability
(String availability) conversation
(ConversationInfo conversation) conversationId
(Long conversationId) creationTime
(String creationTime) deliveryErrorCode
(String deliveryErrorCode) lastModifiedTime
(String lastModifiedTime) messageStatus
(String messageStatus) readStatus
(String readStatus) smsDeliveryTime
(String smsDeliveryTime) smsSendingAttemptsCount
(Long smsSendingAttemptsCount)
-
Field Details
-
id
Internal identifier of a message Format: int64 -
uri
Canonical URI of a message Format: uri -
attachments
List of message attachments -
availability
Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly Enum: Alive, Deleted, Purged -
conversationId
SMS and Pager only. Identifier of a conversation that the message belongs to Format: int64 -
conversation
-
creationTime
Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-time -
deliveryErrorCode
SMS only. Delivery error code returned by gateway -
direction
Text message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound Enum: Inbound, Outbound -
from
-
lastModifiedTime
Date/time when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-time -
messageStatus
Message status. Different message types may have different allowed status values. For outbound faxes the aggregated message status is returned. If, for outbound message, a status for at least one recipient is 'Queued', then the 'Queued' value is returned. If a status for at least one recipient is 'SendingFailed', then the 'SendingFailed' value is returned. In other cases the 'Sent' status is returned Enum: Queued, Sent, Delivered, DeliveryFailed, SendingFailed, Received -
priority
Message priority Enum: Normal, High -
readStatus
Message read status Enum: Read, Unread -
smsDeliveryTime
SMS only. The date/time when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral Format: date-time -
smsSendingAttemptsCount
SMS only. Number of attempts made to send an outbound SMS to the Gateway (if Gateway is temporary unavailable) Format: int32 -
subject
Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment -
to
Recipient information -
type
Message type Enum: Fax, SMS, VoiceMail, Pager, Text
-
-
Constructor Details
-
GetSMSMessageInfoResponse
public GetSMSMessageInfoResponse()
-
-
Method Details
-
id
-
uri
-
attachments
-
availability
-
conversationId
-
conversation
-
creationTime
-
deliveryErrorCode
-
direction
-
from
-
lastModifiedTime
-
messageStatus
-
priority
-
readStatus
-
smsDeliveryTime
-
smsSendingAttemptsCount
-
subject
-
to
-
type
-