Class InviteImpl.InviteChannelImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.InviteImpl.InviteChannelImpl
- All Implemented Interfaces:
Entity
,Invite.InviteChannel
,HasName
,Snowflake
,Timestamped
,RequiresCatnip
- Enclosing class:
- InviteImpl
public static class InviteImpl.InviteChannelImpl
extends Object
implements Invite.InviteChannel, RequiresCatnip
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Constructor Summary
ConstructorDescriptionInviteChannelImpl
(Catnip catnip, long idAsLong, String name, Channel.ChannelType type) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, id
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
InviteChannelImpl
public InviteChannelImpl() -
InviteChannelImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
idAsLong
public long idAsLong()Description copied from interface:Snowflake
The ID of this snowflake, as a long. -
name
-
type
- Specified by:
type
in interfaceInvite.InviteChannel
-
idAsLong
- Returns:
this
.
-
name
- Returns:
this
.
-
type
- Returns:
this
.
-