cn.blankcat.dto.member.Member Maven / Gradle / Ivy
package cn.blankcat.dto.member;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// Member 群成员
public class Member {
@JsonProperty("guild_id")
private String guildId;
@JsonProperty("joined_at")
private String joinedAt;
private String nick;
private User user;
private List roles;
private Boolean deaf;
private Boolean mute;
private Boolean pending;
}