-
public final class ActivityAddCommentRequestA request for adding comment when interacting with Activity.
-
-
Field Summary
Fields Modifier and Type Field Description private final AddCommentRequestrequestprivate final List<UploadPayload<FeedUploadContext>>attachmentUploads
-
Constructor Summary
Constructors Constructor Description ActivityAddCommentRequest(String comment, String activityId, List<Attachment> attachments, Boolean createNotificationActivity, Map<String, Object> custom, String id, List<String> mentionedUserIds, String parentId, Boolean skipEnrichUrl, List<UploadPayload<FeedUploadContext>> attachmentUploads)Creates a request to add a comment to an activity.
-
Method Summary
Modifier and Type Method Description final AddCommentRequestgetRequest()final List<UploadPayload<FeedUploadContext>>getAttachmentUploads()-
-
Constructor Detail
-
ActivityAddCommentRequest
ActivityAddCommentRequest(String comment, String activityId, List<Attachment> attachments, Boolean createNotificationActivity, Map<String, Object> custom, String id, List<String> mentionedUserIds, String parentId, Boolean skipEnrichUrl, List<UploadPayload<FeedUploadContext>> attachmentUploads)
Creates a request to add a comment to an activity.- Parameters:
comment- The content of the comment to be added.activityId- The ID of the activity to comment on.attachments- Optional list of attachments to include with the comment.createNotificationActivity- Optional flag to create a notification activity.custom- Optional custom data to include with the comment.id- Optional custom ID for the comment.mentionedUserIds- Optional list of user IDs to mention in the comment.parentId- Optional ID of the parent comment if this is a reply.skipEnrichUrl- Optional flag to skip URL enrichment for the comment.
-
-
Method Detail
-
getRequest
final AddCommentRequest getRequest()
-
getAttachmentUploads
final List<UploadPayload<FeedUploadContext>> getAttachmentUploads()
-
-
-
-