-
Notifications
You must be signed in to change notification settings - Fork 228
Expand file tree
/
Copy pathActionsResponse.java
More file actions
55 lines (49 loc) · 1.88 KB
/
ActionsResponse.java
File metadata and controls
55 lines (49 loc) · 1.88 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
package com.slack.api.audit.response;
import com.google.gson.annotations.SerializedName;
import com.slack.api.audit.AuditApiResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
@Data
@EqualsAndHashCode(callSuper = false)
public class ActionsResponse implements AuditApiResponse {
private transient String rawBody;
@Deprecated // when an error is returned, it will be an exception instead
private boolean ok = true;
@Deprecated // when an error is returned, it will be an exception instead
private String warning;
@Deprecated // when an error is returned, it will be an exception instead
private String error;
@Deprecated // when an error is returned, it will be an exception instead
private String needed;
@Deprecated // when an error is returned, it will be an exception instead
private String provided;
private Actions actions;
@Data
public static class Actions {
private List<String> workspaceOrOrg;
private List<String> user;
private List<String> file;
private List<String> channel;
private List<String> app;
private List<String> message;
private List<String> workflowBuilder;
private List<String> barrier;
private List<String> huddle;
private List<String> anomaly;
@SerializedName("slack_cli")
private List<String> slackCLI;
private List<String> subteam;
private List<String> role;
private List<String> accountTypeRole;
private List<String> appApprovalAutomationRule;
private List<String> workflowV2;
private List<String> canvas;
private List<String> function;
private List<String> salesElevate;
private List<String> slackFirstCrm;
private List<String> nativeDlp;
private List<String> template;
private List<String> list;
}
}