discord4j.discordjson.json.AuditEntryInfoData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discord-json Show documentation
Show all versions of discord-json Show documentation
Discord entity domain as immutable Jackson objects
package discord4j.discordjson.json;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.Id;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;
@Value.Immutable
@JsonSerialize(as = ImmutableAuditEntryInfoData.class)
@JsonDeserialize(as = ImmutableAuditEntryInfoData.class)
public interface AuditEntryInfoData {
static ImmutableAuditEntryInfoData.Builder builder() {
return ImmutableAuditEntryInfoData.builder();
}
@JsonProperty("delete_member_days")
Possible deleteMemberDays();
@JsonProperty("members_removed")
Possible membersRemoved();
@JsonProperty("channel_id")
Possible channelId();
@JsonProperty("message_id")
Possible messageId();
@JsonProperty("application_id")
Possible applicationId();
Possible count();
Possible id();
Possible type();
@JsonProperty("integration_type")
Possible integrationType();
@JsonProperty("role_name")
Possible roleName();
@JsonProperty("auto_moderation_rule_name")
Possible autoModerationRuleName();
@JsonProperty("auto_moderation_rule_trigger_type")
Possible autoModerationRuleTriggerType();
}