Class MessageDetails


  • public final class MessageDetails
    extends java.lang.Object
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        A unique identifier associated with the message you wish to retrieve (results from a send).
      • getStatus

        public MessageStatus getStatus()
        Returns:
        The current status of the message.
      • getEnqueued

        public int getEnqueued()
        Returns:
        A UTC timestamp at which Courier received the message request. Stored as a millisecond representation of the Unix epoch.
      • getSent

        public int getSent()
        Returns:
        A UTC timestamp at which Courier passed the message to the Integration provider. Stored as a millisecond representation of the Unix epoch.
      • getDelivered

        public int getDelivered()
        Returns:
        A UTC timestamp at which the Integration provider delivered the message. Stored as a millisecond representation of the Unix epoch.
      • getOpened

        public int getOpened()
        Returns:
        A UTC timestamp at which the recipient opened a message for the first time. Stored as a millisecond representation of the Unix epoch.
      • getClicked

        public int getClicked()
        Returns:
        A UTC timestamp at which the recipient clicked on a tracked link for the first time. Stored as a millisecond representation of the Unix epoch.
      • getRecipient

        public java.lang.String getRecipient()
        Returns:
        A unique identifier associated with the recipient of the delivered message.
      • getEvent

        public java.lang.String getEvent()
        Returns:
        A unique identifier associated with the event of the delivered message.
      • getNotification

        public java.lang.String getNotification()
        Returns:
        A unique identifier associated with the notification of the delivered message.
      • getError

        public java.util.Optional<java.lang.String> getError()
        Returns:
        A message describing the error that occurred.
      • getReason

        public java.util.Optional<Reason> getReason()
        Returns:
        The reason for the current status of the message.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object