Interface IMuteEntry
- All Known Implementing Classes:
MuteEntry
public interface IMuteEntry
The IMuteEntry interface represents a mute entry in a system.
It provides methods to retrieve various details about the mute entry.
-
Method Summary
Modifier and TypeMethodDescriptioncreated()
Returns the date when the mute entry was created.expires()
Retrieves the expiration information of the mute entry.name()
Retrieves the name of the mute entry.reason()
Retrieves the reason for the mute entry.source()
Returns the source of the mute entry.uuid()
Generates a new universally unique identifier (UUID).
-
Method Details
-
uuid
UUID uuid()Generates a new universally unique identifier (UUID).- Returns:
- a new UUID
-
name
String name()Retrieves the name of the mute entry.- Returns:
- The name of the mute entry.
-
source
String source()Returns the source of the mute entry.- Returns:
- the source of the mute entry
-
created
Date created()Returns the date when the mute entry was created.- Returns:
- the date when the mute entry was created
-
expires
Object expires()Retrieves the expiration information of the mute entry.- Returns:
- The expiration information of the mute entry.
-
reason
String reason()Retrieves the reason for the mute entry.- Returns:
- The reason for the mute entry.
-