Class MessagingConversation.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.MessagingConversation.Builder
-
- Enclosing class:
- MessagingConversation
public static final class MessagingConversation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingConversationbuild()MessagingConversation.BuildercreatedAt(java.time.OffsetDateTime createdAt)Timestamp when the conversation was createdMessagingConversation.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)Timestamp when the conversation was createdMessagingConversation.Builderid(java.lang.String id)Unique identifierMessagingConversation.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierMessagingConversation.BuilderlastMessageAt(java.time.OffsetDateTime lastMessageAt)Timestamp of the last message in the conversationMessagingConversation.BuilderlastMessageAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastMessageAt)Timestamp of the last message in the conversationMessagingConversation.Buildername(java.lang.String name)Name or title of the conversationMessagingConversation.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)Name or title of the conversationMessagingConversation.Builderparticipants(java.util.List<java.lang.String> participants)List of participant user IDs in the conversationMessagingConversation.Builderparticipants(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> participants)List of participant user IDs in the conversationMessagingConversation.Builderprivate_(Private private_)Whether the conversation is privateMessagingConversation.Builderprivate_(org.openapitools.jackson.nullable.JsonNullable<? extends Private> private_)Whether the conversation is privateMessagingConversation.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierMessagingConversation.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifier
-
-
-
Method Detail
-
id
public MessagingConversation.Builder id(java.lang.String id)
Unique identifier
-
id
public MessagingConversation.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public MessagingConversation.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public MessagingConversation.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
participants
public MessagingConversation.Builder participants(java.util.List<java.lang.String> participants)
List of participant user IDs in the conversation
-
participants
public MessagingConversation.Builder participants(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> participants)
List of participant user IDs in the conversation
-
name
public MessagingConversation.Builder name(java.lang.String name)
Name or title of the conversation
-
name
public MessagingConversation.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
Name or title of the conversation
-
private_
public MessagingConversation.Builder private_(Private private_)
Whether the conversation is private
-
private_
public MessagingConversation.Builder private_(org.openapitools.jackson.nullable.JsonNullable<? extends Private> private_)
Whether the conversation is private
-
createdAt
public MessagingConversation.Builder createdAt(java.time.OffsetDateTime createdAt)
Timestamp when the conversation was created
-
createdAt
public MessagingConversation.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
Timestamp when the conversation was created
-
lastMessageAt
public MessagingConversation.Builder lastMessageAt(java.time.OffsetDateTime lastMessageAt)
Timestamp of the last message in the conversation
-
lastMessageAt
public MessagingConversation.Builder lastMessageAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastMessageAt)
Timestamp of the last message in the conversation
-
build
public MessagingConversation build()
-
-