Class MessagingMessage
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.MessagingMessage
-
public class MessagingMessage extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessagingMessage.Builder
-
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<MessagingAttachment>> 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<java.util.List<MessagingAttachment>>attachments()List of attachments in the messageorg.openapitools.jackson.nullable.JsonNullable<Author>author()Author of the messagestatic MessagingMessage.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<MessagingMessageContent>content()Content of the messageorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()Timestamp when the message was createdbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>parentMessageId()ID of the parent message if this is a replyorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()Timestamp when the message was last updatedMessagingMessagewithAttachments(java.util.List<MessagingAttachment> attachments)List of attachments in the messageMessagingMessagewithAttachments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<MessagingAttachment>> attachments)List of attachments in the messageMessagingMessagewithAuthor(Author author)Author of the messageMessagingMessagewithAuthor(org.openapitools.jackson.nullable.JsonNullable<? extends Author> author)Author of the messageMessagingMessagewithContent(MessagingMessageContent content)Content of the messageMessagingMessagewithContent(org.openapitools.jackson.nullable.JsonNullable<? extends MessagingMessageContent> content)Content of the messageMessagingMessagewithCreatedAt(java.time.OffsetDateTime createdAt)Timestamp when the message was createdMessagingMessagewithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)Timestamp when the message was createdMessagingMessagewithId(java.lang.String id)Unique identifierMessagingMessagewithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierMessagingMessagewithParentMessageId(java.lang.String parentMessageId)ID of the parent message if this is a replyMessagingMessagewithParentMessageId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentMessageId)ID of the parent message if this is a replyMessagingMessagewithRemoteId(java.lang.String remoteId)Provider's unique identifierMessagingMessagewithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierMessagingMessagewithUpdatedAt(java.time.OffsetDateTime updatedAt)Timestamp when the message was last updatedMessagingMessagewithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)Timestamp when the message was last updated
-
-
-
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<MessagingAttachment>> 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<MessagingAttachment>> 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
-
builder
public static MessagingMessage.Builder builder()
-
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
-
withContent
public MessagingMessage withContent(MessagingMessageContent content)
Content of the message
-
withContent
public MessagingMessage withContent(org.openapitools.jackson.nullable.JsonNullable<? extends MessagingMessageContent> content)
Content of the message
-
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<MessagingAttachment> attachments)
List of attachments in the message
-
withAttachments
public MessagingMessage withAttachments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<MessagingAttachment>> attachments)
List of attachments in the message
-
withAuthor
public MessagingMessage withAuthor(Author author)
Author of 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-