forked from slackapi/java-slack-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSchemasResponse.java
More file actions
96 lines (82 loc) · 2.09 KB
/
SchemasResponse.java
File metadata and controls
96 lines (82 loc) · 2.09 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
package com.slack.api.audit.response;
import com.slack.api.audit.AuditApiResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
@Data
@EqualsAndHashCode(callSuper = false)
public class SchemasResponse implements AuditApiResponse {
private boolean ok;
private String warning;
private String error;
private String needed;
private String provided;
private List<Schema> schemas;
@Data
public static class Schema {
private String type;
private Workspace workspace;
private Enterprise enterprise;
private User user;
private File file;
private Channel channel;
private App app;
private Message message;
private Workflow workflow;
}
@Data
public static class Workspace {
private String id;
private String name;
private String domain;
}
@Data
public static class Enterprise {
private String id;
private String name;
private String domain;
}
@Data
public static class User {
private String id;
private String name;
private String email;
private String team;
}
@Data
public static class File {
private String id;
private String name;
private String filetype;
private String title;
}
@Data
public static class Channel {
private String id;
private String name;
private String privacy;
private String isShared;
private String isOrgShared;
private String teamsSharedWith;
}
@Data
public static class App {
private String id;
private String name;
private String isWorkflowApp;
private String isDistributed;
private String isDirectoryApproved;
private String scopes;
}
@Data
public static class Message {
private String team;
private String channel;
private String timestamp;
}
@Data
public static class Workflow {
private String id;
private String name;
}
}