-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAddCommentRequest.java
More file actions
93 lines (76 loc) · 2.08 KB
/
Copy pathAddCommentRequest.java
File metadata and controls
93 lines (76 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
/**
* Add a comment or reply Adds a comment to an object (e.g., activity) or a reply to an existing
* comment, and broadcasts appropriate events
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class AddCommentRequest {
@Nullable
@JsonProperty("comment")
private String comment;
/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("copy_custom_to_notification")
private Boolean copyCustomToNotification;
@Nullable
@JsonProperty("create_notification_activity")
private Boolean createNotificationActivity;
@Nullable
@JsonProperty("force_moderation")
private Boolean forceModeration;
@Nullable
@JsonProperty("id")
private String id;
@Nullable
@JsonProperty("object_id")
private String objectID;
@Nullable
@JsonProperty("object_type")
private String objectType;
@Nullable
@JsonProperty("parent_id")
private String parentID;
@Nullable
@JsonProperty("skip_enrich_url")
private Boolean skipEnrichUrl;
@Nullable
@JsonProperty("skip_push")
private Boolean skipPush;
@Nullable
@JsonProperty("user_id")
private String userID;
@Nullable
@JsonProperty("attachments")
private List<Attachment> attachments;
@Nullable
@JsonProperty("mentioned_user_ids")
private List<String> mentionedUserIds;
@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
@Nullable
@JsonProperty("user")
private UserRequest user;
}