cn.blankcat.dto.role.GuildRoles Maven / Gradle / Ivy
package cn.blankcat.dto.role;
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)
// GuildRoles 频道用户组列表返回
public class GuildRoles {
@JsonProperty("guild_id")
private String guildId;
private List roles;
@JsonProperty("role_num_limit")
private String numLimit;
}