-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBanRequest.java
More file actions
58 lines (47 loc) · 1.32 KB
/
BanRequest.java
File metadata and controls
58 lines (47 loc) · 1.32 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
/*
* ========================================================================
* 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 org.jetbrains.annotations.Nullable;
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class BanRequest {
@JsonProperty("target_user_id")
private String targetUserID;
@Nullable
@JsonProperty("banned_by_id")
private String bannedByID;
@Nullable
@JsonProperty("channel_cid")
private String channelCid;
@Nullable
@JsonProperty("delete_messages")
private String deleteMessages;
@Nullable
@JsonProperty("ip_ban")
private Boolean ipBan;
@Nullable
@JsonProperty("reason")
private String reason;
@Nullable
@JsonProperty("shadow")
private Boolean shadow;
@Nullable
@JsonProperty("timeout")
private Integer timeout;
@Nullable
@JsonProperty("banned_by")
private UserRequest bannedBy;
}