Package com.aliucord.wrappers
Class GuildRoleWrapper
-
- All Implemented Interfaces:
public final class GuildRoleWrapper
Wraps the obfuscated GuildRole class to provide nice method names and require only one central update if method names change after an update
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
GuildRoleWrapper.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integer
color
private final Boolean
hoist
private final String
icon
private final Long
id
private final Boolean
managed
private final Boolean
mentionable
private final String
name
private final Long
permissions
private final Integer
position
private final GuildRoleTags
tags
private final String
unicodeEmoji
public final static GuildRoleWrapper.Companion
Companion
-
Constructor Summary
Constructors Constructor Description GuildRoleWrapper(GuildRole role)
-
Method Summary
Modifier and Type Method Description final Integer
getColor()
final Boolean
getHoist()
final String
getIcon()
final Long
getId()
final Boolean
getManaged()
final Boolean
getMentionable()
final String
getName()
final Long
getPermissions()
final Integer
getPosition()
final GuildRoleTags
getTags()
final String
getUnicodeEmoji()
final GuildRole
raw()
Returns the raw (obfuscated) GuildRole Object associated with this wrapper -
-
Method Detail
-
getManaged
final Boolean getManaged()
-
getMentionable
final Boolean getMentionable()
-
getPermissions
final Long getPermissions()
-
getPosition
final Integer getPosition()
-
getTags
final GuildRoleTags getTags()
-
getUnicodeEmoji
final String getUnicodeEmoji()
-
raw
final GuildRole raw()
Returns the raw (obfuscated) GuildRole Object associated with this wrapper
-
-
-
-