Class ApplicationCommandInteractionDataImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandInteractionDataImpl
- All Implemented Interfaces:
Entity,ApplicationCommandInteractionData,HasName,Snowflake,Timestamped,RequiresCatnip
public class ApplicationCommandInteractionDataImpl
extends Object
implements ApplicationCommandInteractionData, RequiresCatnip
- Since:
- 12/10/20.
- Author:
- amy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle -
Constructor Summary
ConstructorsConstructorDescriptionApplicationCommandInteractionDataImpl(Catnip catnip, long idAsLong, String name, List<ApplicationCommandInteractionDataOption> options) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, idMethods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
ApplicationCommandInteractionDataImpl
public ApplicationCommandInteractionDataImpl() -
ApplicationCommandInteractionDataImpl
public ApplicationCommandInteractionDataImpl(Catnip catnip, long idAsLong, String name, List<ApplicationCommandInteractionDataOption> options)
-
-
Method Details
-
catnip
- Specified by:
catnipin interfaceRequiresCatnip
-
builder
public static ApplicationCommandInteractionDataImpl.ApplicationCommandInteractionDataImplBuilder builder() -
catnip
Description copied from interface:EntityReturns the catnip instance associated with this entity. -
idAsLong
public long idAsLong()Description copied from interface:SnowflakeThe ID of this snowflake, as a long. -
name
-
options
- Specified by:
optionsin interfaceApplicationCommandInteractionData
-
idAsLong
- Returns:
this.
-
name
- Returns:
this.
-
options
public ApplicationCommandInteractionDataImpl options(List<ApplicationCommandInteractionDataOption> options) - Returns:
this.
-