Class VoiceStateBean
- java.lang.Object
-
- discord4j.core.object.data.stored.VoiceStateBean
-
- All Implemented Interfaces:
Serializable
public final class VoiceStateBean extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoiceStateBean()
VoiceStateBean(GuildCreate.VoiceState voiceState, long guildId)
VoiceStateBean(VoiceStateResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getChannelId()
long
getGuildId()
String
getSessionId()
long
getUserId()
boolean
isDeaf()
boolean
isMute()
boolean
isSelfDeaf()
boolean
isSelfMute()
boolean
isSuppress()
void
setChannelId(Long channelId)
void
setDeaf(boolean deaf)
void
setGuildId(long guildId)
void
setMute(boolean mute)
void
setSelfDeaf(boolean selfDeaf)
void
setSelfMute(boolean selfMute)
void
setSessionId(String sessionId)
void
setSuppress(boolean suppress)
void
setUserId(long userId)
String
toString()
-
-
-
Constructor Detail
-
VoiceStateBean
public VoiceStateBean(GuildCreate.VoiceState voiceState, long guildId)
-
VoiceStateBean
public VoiceStateBean(VoiceStateResponse response)
-
VoiceStateBean
public VoiceStateBean()
-
-
Method Detail
-
getGuildId
public long getGuildId()
-
setGuildId
public void setGuildId(long guildId)
-
getUserId
public long getUserId()
-
setUserId
public void setUserId(long userId)
-
getSessionId
public String getSessionId()
-
setSessionId
public void setSessionId(String sessionId)
-
isDeaf
public boolean isDeaf()
-
setDeaf
public void setDeaf(boolean deaf)
-
isMute
public boolean isMute()
-
setMute
public void setMute(boolean mute)
-
isSelfDeaf
public boolean isSelfDeaf()
-
setSelfDeaf
public void setSelfDeaf(boolean selfDeaf)
-
isSelfMute
public boolean isSelfMute()
-
setSelfMute
public void setSelfMute(boolean selfMute)
-
isSuppress
public boolean isSuppress()
-
setSuppress
public void setSuppress(boolean suppress)
-
-