SDK部分pojo对象添加无参数构造函数
This commit is contained in:
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
||||
public class ConferenceJoinEvent {
|
||||
public String userId;
|
||||
public String roomId;
|
||||
public boolean screenSharing;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
||||
public class ConferenceLeaveEvent {
|
||||
public String userId;
|
||||
public String roomId;
|
||||
public boolean screenSharing;
|
||||
}
|
||||
|
||||
@@ -4,4 +4,5 @@ public class ConferencePublishEvent {
|
||||
public String userId;
|
||||
public boolean video;
|
||||
public String roomId;
|
||||
public boolean screenSharing;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,5 @@ package cn.wildfirechat.pojos;
|
||||
public class ConferenceUnpublishEvent {
|
||||
public String userId;
|
||||
public String roomId;
|
||||
public boolean screenSharing;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,9 @@ public class ForwardDeviceMessageData {
|
||||
private int type;
|
||||
private byte[] data;
|
||||
|
||||
public ForwardDeviceMessageData() {
|
||||
}
|
||||
|
||||
public ForwardDeviceMessageData(String deviceId, int type, byte[] data) {
|
||||
this.deviceId = deviceId;
|
||||
this.type = type;
|
||||
|
||||
@@ -31,6 +31,9 @@ public class GroupNotificationBinaryContent {
|
||||
//value2(member or something)
|
||||
private String m;
|
||||
|
||||
public GroupNotificationBinaryContent() {
|
||||
}
|
||||
|
||||
public GroupNotificationBinaryContent(String g, String o, String n, String m) {
|
||||
this.g = g;
|
||||
this.o = o;
|
||||
|
||||
@@ -13,6 +13,9 @@ public class InputChatroomMute {
|
||||
private String chatroomId;
|
||||
private int status;
|
||||
|
||||
public InputChatroomMute() {
|
||||
}
|
||||
|
||||
public InputChatroomMute(String chatroomId, int status) {
|
||||
this.chatroomId = chatroomId;
|
||||
this.status = status;
|
||||
|
||||
@@ -5,6 +5,9 @@ public class InputGetToken {
|
||||
private String clientId;
|
||||
private Integer platform;
|
||||
|
||||
public InputGetToken() {
|
||||
}
|
||||
|
||||
public InputGetToken(String userId, String clientId, int platform) {
|
||||
this.userId = userId;
|
||||
this.clientId = clientId;
|
||||
|
||||
@@ -13,6 +13,9 @@ public class InputGetUserInfo {
|
||||
private String name;
|
||||
private String mobile;
|
||||
|
||||
public InputGetUserInfo() {
|
||||
}
|
||||
|
||||
public InputGetUserInfo(String userId, String name, String mobile) {
|
||||
this.userId = userId;
|
||||
this.name = name;
|
||||
|
||||
@@ -13,6 +13,9 @@ public class InputOutputUserBlockStatus {
|
||||
private String userId;
|
||||
private int status;
|
||||
|
||||
public InputOutputUserBlockStatus() {
|
||||
}
|
||||
|
||||
public InputOutputUserBlockStatus(String userId, int status) {
|
||||
this.userId = userId;
|
||||
this.status = status;
|
||||
|
||||
@@ -13,6 +13,9 @@ public class OutputCreateDevice {
|
||||
private String token;
|
||||
private String secret;
|
||||
|
||||
public OutputCreateDevice() {
|
||||
}
|
||||
|
||||
public OutputCreateDevice(String userId, String token, String secret) {
|
||||
this.deviceId = userId;
|
||||
this.token = token;
|
||||
|
||||
@@ -12,6 +12,9 @@ public class OutputCreateRobot {
|
||||
private String userId;
|
||||
private String secret;
|
||||
|
||||
public OutputCreateRobot() {
|
||||
}
|
||||
|
||||
public OutputCreateRobot(String userId, String secret) {
|
||||
this.userId = userId;
|
||||
this.secret = secret;
|
||||
|
||||
@@ -12,6 +12,9 @@ public class OutputCreateUser {
|
||||
private String userId;
|
||||
private String name;
|
||||
|
||||
public OutputCreateUser() {
|
||||
}
|
||||
|
||||
public OutputCreateUser(String userId, String name) {
|
||||
this.userId = userId;
|
||||
this.name = name;
|
||||
|
||||
@@ -20,6 +20,9 @@ public class OutputDevice {
|
||||
private List<String> owners;
|
||||
private String extra;
|
||||
|
||||
public OutputDevice() {
|
||||
}
|
||||
|
||||
public OutputDevice(String deviceId, String token, String secret) {
|
||||
this.deviceId = deviceId;
|
||||
this.token = token;
|
||||
|
||||
@@ -14,6 +14,9 @@ public class OutputLoginData {
|
||||
private String userId;
|
||||
private String token;
|
||||
|
||||
public OutputLoginData() {
|
||||
}
|
||||
|
||||
public OutputLoginData(String userId, String token) {
|
||||
this.userId = userId;
|
||||
this.token = token;
|
||||
|
||||
@@ -13,6 +13,9 @@ public class OutputNotifyChannelSubscribeStatus {
|
||||
private String channelId;
|
||||
private int status;
|
||||
|
||||
public OutputNotifyChannelSubscribeStatus() {
|
||||
}
|
||||
|
||||
public OutputNotifyChannelSubscribeStatus(String userId, String channelId, boolean subscirbed) {
|
||||
this.userId = userId;
|
||||
this.channelId = channelId;
|
||||
|
||||
@@ -16,6 +16,9 @@ public class OutputRouteData { ;
|
||||
private int shortPort;
|
||||
private String secret;
|
||||
|
||||
public OutputRouteData() {
|
||||
}
|
||||
|
||||
public OutputRouteData(List<String> serverIPs, int longPort, int shortPort, String secret) {
|
||||
this.serverIPs = serverIPs;
|
||||
this.longPort = longPort;
|
||||
|
||||
Reference in New Issue
Block a user