update
This commit is contained in:
46
src/main/java/com/yutou/biliapi/bean/live/LiveDanmuInfo.java
Normal file
46
src/main/java/com/yutou/biliapi/bean/live/LiveDanmuInfo.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package com.yutou.biliapi.bean.live;
|
||||
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class LiveDanmuInfo {
|
||||
@JSONField(name = "group")
|
||||
private String group;
|
||||
|
||||
@JSONField(name = "business_id")
|
||||
private int businessId;
|
||||
|
||||
@JSONField(name = "refresh_row_factor")
|
||||
private double refreshRowFactor;
|
||||
|
||||
@JSONField(name = "refresh_rate")
|
||||
private int refreshRate;
|
||||
|
||||
@JSONField(name = "max_delay")
|
||||
private int maxDelay;
|
||||
|
||||
@JSONField(name = "token")
|
||||
private String token;
|
||||
|
||||
@JSONField(name = "host_list")
|
||||
private List<Host> hostList;
|
||||
|
||||
@Data
|
||||
public static class Host {
|
||||
|
||||
@JSONField(name = "host")
|
||||
private String host;
|
||||
|
||||
@JSONField(name = "port")
|
||||
private int port;
|
||||
|
||||
@JSONField(name = "wss_port")
|
||||
private int wssPort;
|
||||
|
||||
@JSONField(name = "ws_port")
|
||||
private int wsPort;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user