Class MessagingMessage


  • public class MessagingMessage
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MessagingMessage()  
      MessagingMessage​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends MessagingMessageContent> content, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentMessageId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> attachments, org.openapitools.jackson.nullable.JsonNullable<? extends Author> author, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)  
    • Constructor Detail

      • MessagingMessage

        public MessagingMessage​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                                org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                                org.openapitools.jackson.nullable.JsonNullable<? extends MessagingMessageContent> content,
                                org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentMessageId,
                                org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> attachments,
                                org.openapitools.jackson.nullable.JsonNullable<? extends Author> author,
                                org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                                org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      • MessagingMessage

        public MessagingMessage()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        Unique identifier
      • remoteId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
        Provider's unique identifier
      • content

        public org.openapitools.jackson.nullable.JsonNullable<MessagingMessageContent> content()
        Content of the message
      • parentMessageId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentMessageId()
        ID of the parent message if this is a reply
      • attachments

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> attachments()
        List of attachments in the message
      • author

        public org.openapitools.jackson.nullable.JsonNullable<Author> author()
        Author of the message
      • createdAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
        Timestamp when the message was created
      • updatedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
        Timestamp when the message was last updated
      • withId

        public MessagingMessage withId​(java.lang.String id)
        Unique identifier
      • withId

        public MessagingMessage withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • withRemoteId

        public MessagingMessage withRemoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • withRemoteId

        public MessagingMessage withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • withParentMessageId

        public MessagingMessage withParentMessageId​(java.lang.String parentMessageId)
        ID of the parent message if this is a reply
      • withParentMessageId

        public MessagingMessage withParentMessageId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentMessageId)
        ID of the parent message if this is a reply
      • withAttachments

        public MessagingMessage withAttachments​(java.util.List<java.lang.String> attachments)
        List of attachments in the message
      • withAttachments

        public MessagingMessage withAttachments​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> attachments)
        List of attachments in the message
      • withAuthor

        public MessagingMessage withAuthor​(org.openapitools.jackson.nullable.JsonNullable<? extends Author> author)
        Author of the message
      • withCreatedAt

        public MessagingMessage withCreatedAt​(java.time.OffsetDateTime createdAt)
        Timestamp when the message was created
      • withCreatedAt

        public MessagingMessage withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        Timestamp when the message was created
      • withUpdatedAt

        public MessagingMessage withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        Timestamp when the message was last updated
      • withUpdatedAt

        public MessagingMessage withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        Timestamp when the message was last updated
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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