Repository navigation
Expand file tree
/
Copy pathAddActivityRequest.java
More file actions
144 lines (113 loc) · 3.07 KB
/
Copy pathAddActivityRequest.java
File metadata and controls
144 lines (113 loc) · 3.07 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*
* ========================================================================
* 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 single activity Create a new activity or update an existing one */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class AddActivityRequest {
@JsonProperty("type")
private String type;
@JsonProperty("feeds")
private List<String> feeds;
/**
* @deprecated
*/
@Deprecated
@Nullable
@JsonProperty("copy_custom_to_notification")
private Boolean copyCustomToNotification;
@Nullable
@JsonProperty("create_notification_activity")
private Boolean createNotificationActivity;
@Nullable
@JsonProperty("create_system_feeds")
private Boolean createSystemFeeds;
@Nullable
@JsonProperty("create_users")
private Boolean createUsers;
@Nullable
@JsonProperty("enrich_own_fields")
private Boolean enrichOwnFields;
@Nullable
@JsonProperty("expires_at")
private String expiresAt;
@Nullable
@JsonProperty("force_moderation")
private Boolean forceModeration;
@Nullable
@JsonProperty("id")
private String id;
@Nullable
@JsonProperty("parent_id")
private String parentID;
@Nullable
@JsonProperty("poll_id")
private String pollID;
@Nullable
@JsonProperty("restrict_replies")
private String restrictReplies;
@Nullable
@JsonProperty("skip_enrich_url")
private Boolean skipEnrichUrl;
@Nullable
@JsonProperty("skip_existing")
private Boolean skipExisting;
@Nullable
@JsonProperty("skip_push")
private Boolean skipPush;
@Nullable
@JsonProperty("text")
private String text;
@Nullable
@JsonProperty("user_id")
private String userID;
@Nullable
@JsonProperty("visibility")
private String visibility;
@Nullable
@JsonProperty("visibility_tag")
private String visibilityTag;
@Nullable
@JsonProperty("attachments")
private List<Attachment> attachments;
@Nullable
@JsonProperty("collection_refs")
private List<String> collectionRefs;
@Nullable
@JsonProperty("collections")
private List<CollectionRequest> collections;
@Nullable
@JsonProperty("filter_tags")
private List<String> filterTags;
@Nullable
@JsonProperty("interest_tags")
private List<String> interestTags;
@Nullable
@JsonProperty("mentioned_user_ids")
private List<String> mentionedUserIds;
@Nullable
@JsonProperty("custom")
private Map<String, Object> custom;
@Nullable
@JsonProperty("location")
private Location location;
@Nullable
@JsonProperty("search_data")
private Map<String, Object> searchData;
}