diff --git a/rest/api/rest.api b/rest/api/rest.api index 91bf1d6b21bb..489f56a419cc 100644 --- a/rest/api/rest.api +++ b/rest/api/rest.api @@ -86,12 +86,14 @@ public abstract interface class dev/kord/rest/builder/RequestBuilder { public final class dev/kord/rest/builder/application/ApplicationRoleConnectionMetadataBuilder : dev/kord/rest/builder/RequestBuilder, dev/kord/rest/builder/interaction/LocalizedDescriptionCreateBuilder, dev/kord/rest/builder/interaction/LocalizedNameCreateBuilder { public fun (Ldev/kord/common/entity/ApplicationRoleConnectionMetadataType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public fun getDescription ()Ljava/lang/String; public fun getDescriptionLocalizations ()Ljava/util/Map; public final fun getKey ()Ljava/lang/String; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public final fun getType ()Ldev/kord/common/entity/ApplicationRoleConnectionMetadataType; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDescription (Ljava/lang/String;)V public fun setDescriptionLocalizations (Ljava/util/Map;)V @@ -105,7 +107,9 @@ public final class dev/kord/rest/builder/application/ApplicationRoleConnectionMe public final class dev/kord/rest/builder/application/ApplicationRoleConnectionMetadataRecordsBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getRecords ()Ljava/util/List; + public fun hashCode ()I public final fun record (Ldev/kord/common/entity/ApplicationRoleConnectionMetadataType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public static synthetic fun record$default (Ldev/kord/rest/builder/application/ApplicationRoleConnectionMetadataRecordsBuilder;Ldev/kord/common/entity/ApplicationRoleConnectionMetadataType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public final fun setRecords (Ljava/util/List;)V @@ -115,11 +119,13 @@ public final class dev/kord/rest/builder/application/ApplicationRoleConnectionMe public final class dev/kord/rest/builder/auditlog/AuditLogGetRequestBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAction ()Ldev/kord/common/entity/AuditLogEvent; public final fun getAfter ()Ldev/kord/common/entity/Snowflake; public final fun getBefore ()Ldev/kord/common/entity/Snowflake; public final fun getLimit ()Ljava/lang/Integer; public final fun getUserId ()Ldev/kord/common/entity/Snowflake; + public fun hashCode ()I public final fun setAction (Ldev/kord/common/entity/AuditLogEvent;)V public final fun setAfter (Ldev/kord/common/entity/Snowflake;)V public final fun setBefore (Ldev/kord/common/entity/Snowflake;)V @@ -136,7 +142,9 @@ public abstract interface class dev/kord/rest/builder/automoderation/AllowedKeyw public abstract class dev/kord/rest/builder/automoderation/AutoModerationActionBuilder : dev/kord/rest/builder/RequestBuilder { protected fun buildMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public abstract fun getType ()Ldev/kord/common/entity/AutoModerationActionType; + public fun hashCode ()I public final fun toRequest ()Ldev/kord/common/entity/DiscordAutoModerationAction; public synthetic fun toRequest ()Ljava/lang/Object; } @@ -184,6 +192,7 @@ public abstract class dev/kord/rest/builder/automoderation/AutoModerationRuleCre public final fun assignEventType (Ldev/kord/common/entity/AutoModerationRuleEventType;)V public final fun assignName (Ljava/lang/String;)V protected fun buildTriggerMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public final fun getActions ()Ljava/util/List; public final fun getEnabled ()Ljava/lang/Boolean; public final fun getEventType ()Ldev/kord/common/entity/AutoModerationRuleEventType; @@ -191,6 +200,7 @@ public abstract class dev/kord/rest/builder/automoderation/AutoModerationRuleCre public final fun getExemptRoles ()Ljava/util/List; public final fun getName ()Ljava/lang/String; public final fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setActions (Ljava/util/List;)V public final fun setEnabled (Ljava/lang/Boolean;)V public final fun setEventType (Ldev/kord/common/entity/AutoModerationRuleEventType;)V @@ -207,6 +217,7 @@ public abstract class dev/kord/rest/builder/automoderation/AutoModerationRuleMod public final fun assignEventType (Ldev/kord/common/entity/AutoModerationRuleEventType;)V public final fun assignName (Ljava/lang/String;)V protected fun buildTriggerMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public final fun getActions ()Ljava/util/List; public final fun getEnabled ()Ljava/lang/Boolean; public final fun getEventType ()Ldev/kord/common/entity/AutoModerationRuleEventType; @@ -214,6 +225,7 @@ public abstract class dev/kord/rest/builder/automoderation/AutoModerationRuleMod public final fun getExemptRoles ()Ljava/util/List; public final fun getName ()Ljava/lang/String; public final fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setActions (Ljava/util/List;)V public final fun setEnabled (Ljava/lang/Boolean;)V public final fun setEventType (Ldev/kord/common/entity/AutoModerationRuleEventType;)V @@ -227,9 +239,11 @@ public abstract class dev/kord/rest/builder/automoderation/AutoModerationRuleMod public final class dev/kord/rest/builder/automoderation/BlockMessageAutoModerationActionBuilder : dev/kord/rest/builder/automoderation/AutoModerationActionBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getCustomMessage ()Ljava/lang/String; public fun getType ()Ldev/kord/common/entity/AutoModerationActionType$BlockMessage; public synthetic fun getType ()Ldev/kord/common/entity/AutoModerationActionType; + public fun hashCode ()I public final fun setCustomMessage (Ljava/lang/String;)V } @@ -248,11 +262,13 @@ public final class dev/kord/rest/builder/automoderation/KeywordAutoModerationRul public final class dev/kord/rest/builder/automoderation/KeywordAutoModerationRuleCreateBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleCreateBuilder, dev/kord/rest/builder/automoderation/KeywordAutoModerationRuleBuilder { public fun (Ljava/lang/String;Ldev/kord/common/entity/AutoModerationRuleEventType;)V public synthetic fun buildTriggerMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public fun getAllowedKeywords ()Ljava/util/List; public fun getKeywords ()Ljava/util/List; public fun getRegexPatterns ()Ljava/util/List; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$Keyword; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setAllowedKeywords (Ljava/util/List;)V public fun setKeywords (Ljava/util/List;)V public fun setRegexPatterns (Ljava/util/List;)V @@ -260,11 +276,13 @@ public final class dev/kord/rest/builder/automoderation/KeywordAutoModerationRul public final class dev/kord/rest/builder/automoderation/KeywordAutoModerationRuleModifyBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleModifyBuilder, dev/kord/rest/builder/automoderation/KeywordAutoModerationRuleBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public fun getAllowedKeywords ()Ljava/util/List; public fun getKeywords ()Ljava/util/List; public fun getRegexPatterns ()Ljava/util/List; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$Keyword; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setAllowedKeywords (Ljava/util/List;)V public fun setKeywords (Ljava/util/List;)V public fun setRegexPatterns (Ljava/util/List;)V @@ -284,10 +302,12 @@ public final class dev/kord/rest/builder/automoderation/KeywordPresetAutoModerat public fun (Ljava/lang/String;Ldev/kord/common/entity/AutoModerationRuleEventType;)V public fun assignPresets (Ljava/util/List;)V public synthetic fun buildTriggerMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public fun getAllowedKeywords ()Ljava/util/List; public fun getPresets ()Ljava/util/List; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$KeywordPreset; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setAllowedKeywords (Ljava/util/List;)V public fun setPresets (Ljava/util/List;)V } @@ -295,10 +315,12 @@ public final class dev/kord/rest/builder/automoderation/KeywordPresetAutoModerat public final class dev/kord/rest/builder/automoderation/KeywordPresetAutoModerationRuleModifyBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleModifyBuilder, dev/kord/rest/builder/automoderation/KeywordPresetAutoModerationRuleBuilder { public fun ()V public fun assignPresets (Ljava/util/List;)V + public fun equals (Ljava/lang/Object;)Z public fun getAllowedKeywords ()Ljava/util/List; public fun getPresets ()Ljava/util/List; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$KeywordPreset; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setAllowedKeywords (Ljava/util/List;)V public fun setPresets (Ljava/util/List;)V } @@ -318,20 +340,24 @@ public final class dev/kord/rest/builder/automoderation/MentionSpamAutoModeratio public final class dev/kord/rest/builder/automoderation/MentionSpamAutoModerationRuleCreateBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleCreateBuilder, dev/kord/rest/builder/automoderation/MentionSpamAutoModerationRuleBuilder { public fun (Ljava/lang/String;Ldev/kord/common/entity/AutoModerationRuleEventType;)V public synthetic fun buildTriggerMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public fun getMentionLimit ()Ljava/lang/Integer; public fun getMentionRaidProtectionEnabled ()Ljava/lang/Boolean; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$MentionSpam; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setMentionLimit (Ljava/lang/Integer;)V public fun setMentionRaidProtectionEnabled (Ljava/lang/Boolean;)V } public final class dev/kord/rest/builder/automoderation/MentionSpamAutoModerationRuleModifyBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleModifyBuilder, dev/kord/rest/builder/automoderation/MentionSpamAutoModerationRuleBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public fun getMentionLimit ()Ljava/lang/Integer; public fun getMentionRaidProtectionEnabled ()Ljava/lang/Boolean; public fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType$MentionSpam; public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; + public fun hashCode ()I public fun setMentionLimit (Ljava/lang/Integer;)V public fun setMentionRaidProtectionEnabled (Ljava/lang/Boolean;)V } @@ -339,9 +365,11 @@ public final class dev/kord/rest/builder/automoderation/MentionSpamAutoModeratio public final class dev/kord/rest/builder/automoderation/SendAlertMessageAutoModerationActionBuilder : dev/kord/rest/builder/automoderation/AutoModerationActionBuilder { public fun (Ldev/kord/common/entity/Snowflake;)V public synthetic fun buildMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public fun getType ()Ldev/kord/common/entity/AutoModerationActionType$SendAlertMessage; public synthetic fun getType ()Ldev/kord/common/entity/AutoModerationActionType; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V } @@ -368,9 +396,11 @@ public final class dev/kord/rest/builder/automoderation/SpamAutoModerationRuleMo public final class dev/kord/rest/builder/automoderation/TimeoutAutoModerationActionBuilder : dev/kord/rest/builder/automoderation/AutoModerationActionBuilder { public synthetic fun (JLkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun buildMetadata ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public final fun getDuration-UwyO8pc ()J public fun getType ()Ldev/kord/common/entity/AutoModerationActionType$Timeout; public synthetic fun getType ()Ldev/kord/common/entity/AutoModerationActionType; + public fun hashCode ()I public final fun setDuration-LRDsOJo (J)V } @@ -383,14 +413,18 @@ public abstract interface class dev/kord/rest/builder/automoderation/TypedAutoMo public final class dev/kord/rest/builder/automoderation/UntypedAutoModerationRuleModifyBuilder : dev/kord/rest/builder/automoderation/AutoModerationRuleModifyBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public synthetic fun getTriggerType ()Ldev/kord/common/entity/AutoModerationRuleTriggerType; public fun getTriggerType ()Ljava/lang/Void; + public fun hashCode ()I } public final class dev/kord/rest/builder/ban/BanCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getDeleteMessageDuration-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setDeleteMessageDuration-BwNAW2A (Lkotlin/time/Duration;)V public fun setReason (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/GuildBanCreateRequest; @@ -400,11 +434,13 @@ public final class dev/kord/rest/builder/ban/BanCreateBuilder : dev/kord/rest/bu public final class dev/kord/rest/builder/channel/CategoryCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; public fun getPermissionOverwrites ()Ljava/util/Set; public final fun getPosition ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V public fun setPermissionOverwrites (Ljava/util/Set;)V @@ -417,10 +453,12 @@ public final class dev/kord/rest/builder/channel/CategoryCreateBuilder : dev/kor public final class dev/kord/rest/builder/channel/CategoryModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getName ()Ljava/lang/String; public fun getPermissionOverwrites ()Ljava/util/Set; public final fun getPosition ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setName (Ljava/lang/String;)V public fun setPermissionOverwrites (Ljava/util/Set;)V public final fun setPosition (Ljava/lang/Integer;)V @@ -431,9 +469,11 @@ public final class dev/kord/rest/builder/channel/CategoryModifyBuilder : dev/kor public final class dev/kord/rest/builder/channel/ChannelPermissionModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ldev/kord/common/entity/OverwriteType;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAllowed ()Ldev/kord/common/entity/Permissions; public final fun getDenied ()Ldev/kord/common/entity/Permissions; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setAllowed (Ldev/kord/common/entity/Permissions;)V public final fun setDenied (Ldev/kord/common/entity/Permissions;)V public fun setReason (Ljava/lang/String;)V @@ -444,6 +484,7 @@ public final class dev/kord/rest/builder/channel/ChannelPermissionModifyBuilder public final class dev/kord/rest/builder/channel/ForumChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAvailableTags ()Ljava/util/List; public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultForumLayout ()Ldev/kord/common/entity/ForumLayoutType; @@ -461,6 +502,7 @@ public final class dev/kord/rest/builder/channel/ForumChannelCreateBuilder : dev public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvailableTags (Ljava/util/List;)V public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultForumLayout (Ldev/kord/common/entity/ForumLayoutType;)V @@ -487,6 +529,7 @@ public final class dev/kord/rest/builder/channel/ForumChannelCreateBuilder : dev public final class dev/kord/rest/builder/channel/ForumChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAvailableTags ()Ljava/util/List; public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultForumLayout ()Ldev/kord/common/entity/ForumLayoutType; @@ -504,6 +547,7 @@ public final class dev/kord/rest/builder/channel/ForumChannelModifyBuilder : dev public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvailableTags (Ljava/util/List;)V public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultForumLayout (Ldev/kord/common/entity/ForumLayoutType;)V @@ -529,10 +573,12 @@ public final class dev/kord/rest/builder/channel/ForumChannelModifyBuilder : dev public final class dev/kord/rest/builder/channel/ForumTagBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getModerated ()Ljava/lang/Boolean; public final fun getName ()Ljava/lang/String; public final fun getReactionEmojiId ()Ldev/kord/common/entity/Snowflake; public final fun getReactionEmojiName ()Ljava/lang/String; + public fun hashCode ()I public final fun setModerated (Ljava/lang/Boolean;)V public final fun setName (Ljava/lang/String;)V public final fun setReactionEmojiId (Ldev/kord/common/entity/Snowflake;)V @@ -543,7 +589,9 @@ public final class dev/kord/rest/builder/channel/ForumTagBuilder : dev/kord/rest public final class dev/kord/rest/builder/channel/GuildChannelPositionModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getSwaps ()Ljava/util/List; + public fun hashCode ()I public final fun move (Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;)V public final fun move (Lkotlin/Pair;)V public final fun move ([Lkotlin/Pair;)V @@ -554,10 +602,12 @@ public final class dev/kord/rest/builder/channel/GuildChannelPositionModifyBuild public final class dev/kord/rest/builder/channel/GuildChannelSwapBuilder { public fun (Ldev/kord/common/entity/Snowflake;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getLockPermissionsToParent ()Ljava/lang/Boolean; public final fun getParentId ()Ldev/kord/common/entity/Snowflake; public final fun getPosition ()Ljava/lang/Integer; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setLockPermissionsToParent (Ljava/lang/Boolean;)V public final fun setParentId (Ldev/kord/common/entity/Snowflake;)V @@ -567,6 +617,7 @@ public final class dev/kord/rest/builder/channel/GuildChannelSwapBuilder { public final class dev/kord/rest/builder/channel/InviteCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getMaxAge-FghU774 ()Lkotlin/time/Duration; public final fun getMaxUses ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; @@ -575,6 +626,7 @@ public final class dev/kord/rest/builder/channel/InviteCreateBuilder : dev/kord/ public final fun getTargetUserId ()Ldev/kord/common/entity/Snowflake; public final fun getTemporary ()Ljava/lang/Boolean; public final fun getUnique ()Ljava/lang/Boolean; + public fun hashCode ()I public final fun setMaxAge-BwNAW2A (Lkotlin/time/Duration;)V public final fun setMaxUses (Ljava/lang/Integer;)V public fun setReason (Ljava/lang/String;)V @@ -590,6 +642,7 @@ public final class dev/kord/rest/builder/channel/InviteCreateBuilder : dev/kord/ public final class dev/kord/rest/builder/channel/MediaChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAvailableTags ()Ljava/util/List; public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultReactionEmoji ()Ldev/kord/common/entity/DefaultReaction; @@ -606,6 +659,7 @@ public final class dev/kord/rest/builder/channel/MediaChannelCreateBuilder : dev public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvailableTags (Ljava/util/List;)V public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultReactionEmoji (Ldev/kord/common/entity/DefaultReaction;)V @@ -631,6 +685,7 @@ public final class dev/kord/rest/builder/channel/MediaChannelCreateBuilder : dev public final class dev/kord/rest/builder/channel/MediaChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAvailableTags ()Ljava/util/List; public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultReactionEmoji ()Ldev/kord/common/entity/DefaultReaction; @@ -647,6 +702,7 @@ public final class dev/kord/rest/builder/channel/MediaChannelModifyBuilder : dev public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvailableTags (Ljava/util/List;)V public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultReactionEmoji (Ldev/kord/common/entity/DefaultReaction;)V @@ -672,6 +728,7 @@ public final class dev/kord/rest/builder/channel/MediaChannelModifyBuilder : dev public final class dev/kord/rest/builder/channel/NewsChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; @@ -680,6 +737,7 @@ public final class dev/kord/rest/builder/channel/NewsChannelCreateBuilder : dev/ public final fun getPosition ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V @@ -695,6 +753,7 @@ public final class dev/kord/rest/builder/channel/NewsChannelCreateBuilder : dev/ public final class dev/kord/rest/builder/channel/NewsChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; @@ -704,6 +763,7 @@ public final class dev/kord/rest/builder/channel/NewsChannelModifyBuilder : dev/ public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V @@ -719,8 +779,10 @@ public final class dev/kord/rest/builder/channel/NewsChannelModifyBuilder : dev/ public final class dev/kord/rest/builder/channel/PermissionOverwriteBuilder { public fun (Ldev/kord/common/entity/OverwriteType;Ldev/kord/common/entity/Snowflake;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAllowed ()Ldev/kord/common/entity/Permissions; public final fun getDenied ()Ldev/kord/common/entity/Permissions; + public fun hashCode ()I public final fun setAllowed (Ldev/kord/common/entity/Permissions;)V public final fun setDenied (Ldev/kord/common/entity/Permissions;)V public final fun toOverwrite ()Ldev/kord/common/entity/Overwrite; @@ -758,6 +820,7 @@ public final class dev/kord/rest/builder/channel/PermissionOverwritesModifyBuild public final class dev/kord/rest/builder/channel/StageChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getBitrate ()Ljava/lang/Integer; public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; @@ -767,6 +830,7 @@ public final class dev/kord/rest/builder/channel/StageChannelCreateBuilder : dev public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getUserLimit ()Ljava/lang/Integer; + public fun hashCode ()I public final fun setBitrate (Ljava/lang/Integer;)V public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V @@ -783,6 +847,7 @@ public final class dev/kord/rest/builder/channel/StageChannelCreateBuilder : dev public final class dev/kord/rest/builder/channel/StageVoiceChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getBitrate ()Ljava/lang/Integer; public final fun getName ()Ljava/lang/String; public final fun getParentId ()Ldev/kord/common/entity/Snowflake; @@ -791,6 +856,7 @@ public final class dev/kord/rest/builder/channel/StageVoiceChannelModifyBuilder public fun getReason ()Ljava/lang/String; public final fun getRtcRegion ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setBitrate (Ljava/lang/Integer;)V public final fun setName (Ljava/lang/String;)V public final fun setParentId (Ldev/kord/common/entity/Snowflake;)V @@ -806,6 +872,7 @@ public final class dev/kord/rest/builder/channel/StageVoiceChannelModifyBuilder public final class dev/kord/rest/builder/channel/TextChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultThreadRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public final fun getName ()Ljava/lang/String; @@ -816,6 +883,7 @@ public final class dev/kord/rest/builder/channel/TextChannelCreateBuilder : dev/ public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultThreadRateLimitPerUser-BwNAW2A (Lkotlin/time/Duration;)V public final fun setName (Ljava/lang/String;)V @@ -833,6 +901,7 @@ public final class dev/kord/rest/builder/channel/TextChannelCreateBuilder : dev/ public final class dev/kord/rest/builder/channel/TextChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getDefaultThreadRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public final fun getName ()Ljava/lang/String; @@ -843,6 +912,7 @@ public final class dev/kord/rest/builder/channel/TextChannelModifyBuilder : dev/ public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefaultAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setDefaultThreadRateLimitPerUser-BwNAW2A (Lkotlin/time/Duration;)V public final fun setName (Ljava/lang/String;)V @@ -860,6 +930,7 @@ public final class dev/kord/rest/builder/channel/TextChannelModifyBuilder : dev/ public final class dev/kord/rest/builder/channel/VoiceChannelCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesCreateBuilder { public fun (Ljava/lang/String;)V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getBitrate ()Ljava/lang/Integer; public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; @@ -868,6 +939,7 @@ public final class dev/kord/rest/builder/channel/VoiceChannelCreateBuilder : dev public final fun getPosition ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; public final fun getUserLimit ()Ljava/lang/Integer; + public fun hashCode ()I public final fun setBitrate (Ljava/lang/Integer;)V public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V @@ -883,6 +955,7 @@ public final class dev/kord/rest/builder/channel/VoiceChannelCreateBuilder : dev public final class dev/kord/rest/builder/channel/VoiceChannelModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder, dev/kord/rest/builder/channel/PermissionOverwritesModifyBuilder { public fun ()V public fun addOverwrite (Ldev/kord/common/entity/Overwrite;)V + public fun equals (Ljava/lang/Object;)Z public final fun getBitrate ()Ljava/lang/Integer; public final fun getName ()Ljava/lang/String; public final fun getNsfw ()Ljava/lang/Boolean; @@ -894,6 +967,7 @@ public final class dev/kord/rest/builder/channel/VoiceChannelModifyBuilder : dev public final fun getTopic ()Ljava/lang/String; public final fun getUserLimit ()Ljava/lang/Integer; public final fun getVideoQualityMode ()Ldev/kord/common/entity/VideoQualityMode; + public fun hashCode ()I public final fun setBitrate (Ljava/lang/Integer;)V public final fun setName (Ljava/lang/String;)V public final fun setNsfw (Ljava/lang/Boolean;)V @@ -911,12 +985,14 @@ public final class dev/kord/rest/builder/channel/VoiceChannelModifyBuilder : dev public final class dev/kord/rest/builder/channel/thread/StartForumThreadBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAppliedTags ()Ljava/util/List; public final fun getAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getMessage ()Ldev/kord/rest/builder/message/create/ForumMessageCreateBuilder; public final fun getName ()Ljava/lang/String; public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun message (Ljava/lang/String;)V public final fun message (Lkotlin/jvm/functions/Function1;)V public final fun setAppliedTags (Ljava/util/List;)V @@ -935,12 +1011,14 @@ public final class dev/kord/rest/builder/channel/thread/StartForumThreadBuilderK public final class dev/kord/rest/builder/channel/thread/StartThreadBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;Ldev/kord/common/entity/ChannelType;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getInvitable ()Ljava/lang/Boolean; public final fun getName ()Ljava/lang/String; public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; public final fun getType ()Ldev/kord/common/entity/ChannelType; + public fun hashCode ()I public final fun setAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setInvitable (Ljava/lang/Boolean;)V public final fun setName (Ljava/lang/String;)V @@ -952,10 +1030,12 @@ public final class dev/kord/rest/builder/channel/thread/StartThreadBuilder : dev public final class dev/kord/rest/builder/channel/thread/StartThreadWithMessageBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; public final fun getName ()Ljava/lang/String; public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V public final fun setName (Ljava/lang/String;)V public final fun setRateLimitPerUser-BwNAW2A (Lkotlin/time/Duration;)V @@ -966,6 +1046,7 @@ public final class dev/kord/rest/builder/channel/thread/StartThreadWithMessageBu public final class dev/kord/rest/builder/channel/thread/ThreadModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAppliedTags ()Ljava/util/List; public final fun getArchived ()Ljava/lang/Boolean; public final fun getAutoArchiveDuration ()Ldev/kord/common/entity/ArchiveDuration; @@ -975,6 +1056,7 @@ public final class dev/kord/rest/builder/channel/thread/ThreadModifyBuilder : de public final fun getName ()Ljava/lang/String; public final fun getRateLimitPerUser-FghU774 ()Lkotlin/time/Duration; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setAppliedTags (Ljava/util/List;)V public final fun setArchived (Ljava/lang/Boolean;)V public final fun setAutoArchiveDuration (Ldev/kord/common/entity/ArchiveDuration;)V @@ -998,7 +1080,9 @@ public final class dev/kord/rest/builder/component/ActionRowBuilder : dev/kord/r public synthetic fun build ()Ldev/kord/common/entity/DiscordComponent; public final fun channelSelect (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public static synthetic fun channelSelect$default (Ldev/kord/rest/builder/component/ActionRowBuilder;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V + public fun equals (Ljava/lang/Object;)Z public final fun getComponents ()Ljava/util/List; + public fun hashCode ()I public final fun interactionButton (Ldev/kord/common/entity/ButtonStyle;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public final fun linkButton (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V public final fun mentionableSelect (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V @@ -1013,17 +1097,21 @@ public final class dev/kord/rest/builder/component/ActionRowBuilder : dev/kord/r } public abstract class dev/kord/rest/builder/component/ActionRowComponentBuilder : dev/kord/rest/builder/component/ComponentBuilder { + public fun equals (Ljava/lang/Object;)Z public final fun getDisabled ()Ljava/lang/Boolean; protected final fun get_disabled ()Ldev/kord/common/entity/optional/OptionalBoolean; + public fun hashCode ()I public final fun setDisabled (Ljava/lang/Boolean;)V } public abstract class dev/kord/rest/builder/component/ButtonBuilder : dev/kord/rest/builder/component/ActionRowComponentBuilder { public abstract fun build ()Ldev/kord/common/entity/DiscordChatComponent; + public fun equals (Ljava/lang/Object;)Z public final fun getEmoji ()Ldev/kord/common/entity/DiscordPartialEmoji; public final fun getLabel ()Ljava/lang/String; protected final fun get_emoji ()Ldev/kord/common/entity/optional/Optional; protected final fun get_label ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I public final fun setEmoji (Ldev/kord/common/entity/DiscordPartialEmoji;)V public final fun setLabel (Ljava/lang/String;)V } @@ -1032,8 +1120,10 @@ public final class dev/kord/rest/builder/component/ButtonBuilder$InteractionButt public fun (Ldev/kord/common/entity/ButtonStyle;Ljava/lang/String;)V public fun build ()Ldev/kord/common/entity/DiscordChatComponent; public synthetic fun build ()Ldev/kord/common/entity/DiscordComponent; + public fun equals (Ljava/lang/Object;)Z public final fun getCustomId ()Ljava/lang/String; public final fun getStyle ()Ldev/kord/common/entity/ButtonStyle; + public fun hashCode ()I public final fun setCustomId (Ljava/lang/String;)V public final fun setStyle (Ldev/kord/common/entity/ButtonStyle;)V } @@ -1042,14 +1132,18 @@ public final class dev/kord/rest/builder/component/ButtonBuilder$LinkButtonBuild public fun (Ljava/lang/String;)V public fun build ()Ldev/kord/common/entity/DiscordChatComponent; public synthetic fun build ()Ldev/kord/common/entity/DiscordComponent; + public fun equals (Ljava/lang/Object;)Z public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I public final fun setUrl (Ljava/lang/String;)V } public final class dev/kord/rest/builder/component/ChannelSelectBuilder : dev/kord/rest/builder/component/SelectMenuBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelTypes ()Ljava/util/List; public final fun getDefaultChannels ()Ljava/util/List; + public fun hashCode ()I public final fun setChannelTypes (Ljava/util/List;)V } @@ -1059,8 +1153,10 @@ public abstract interface class dev/kord/rest/builder/component/ComponentBuilder public final class dev/kord/rest/builder/component/MentionableSelectBuilder : dev/kord/rest/builder/component/SelectMenuBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultRoles ()Ljava/util/List; public final fun getDefaultUsers ()Ljava/util/List; + public fun hashCode ()I } public abstract interface class dev/kord/rest/builder/component/MessageComponentBuilder : dev/kord/rest/builder/component/ComponentBuilder { @@ -1068,7 +1164,9 @@ public abstract interface class dev/kord/rest/builder/component/MessageComponent public final class dev/kord/rest/builder/component/RoleSelectBuilder : dev/kord/rest/builder/component/SelectMenuBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultRoles ()Ljava/util/List; + public fun hashCode ()I } public abstract class dev/kord/rest/builder/component/SelectMenuBuilder : dev/kord/rest/builder/component/ActionRowComponentBuilder { @@ -1078,10 +1176,12 @@ public abstract class dev/kord/rest/builder/component/SelectMenuBuilder : dev/ko protected fun buildChannelTypes ()Ldev/kord/common/entity/optional/Optional; protected fun buildDefaultValues ()Ldev/kord/common/entity/optional/Optional; protected fun buildOptions ()Ldev/kord/common/entity/optional/Optional; + public fun equals (Ljava/lang/Object;)Z public final fun getAllowedValues ()Lkotlin/ranges/ClosedRange; public final fun getCustomId ()Ljava/lang/String; public final fun getPlaceholder ()Ljava/lang/String; protected abstract fun getType ()Ldev/kord/common/entity/ComponentType; + public fun hashCode ()I public final fun setAllowedValues (Lkotlin/ranges/ClosedRange;)V public final fun setCustomId (Ljava/lang/String;)V public final fun setPlaceholder (Ljava/lang/String;)V @@ -1096,11 +1196,13 @@ public final class dev/kord/rest/builder/component/SelectMenuBuilderKt { public final class dev/kord/rest/builder/component/SelectOptionBuilder { public fun (Ljava/lang/String;Ljava/lang/String;)V public final fun build ()Ldev/kord/common/entity/DiscordSelectOption; + public fun equals (Ljava/lang/Object;)Z public final fun getDefault ()Ljava/lang/Boolean; public final fun getDescription ()Ljava/lang/String; public final fun getEmoji ()Ldev/kord/common/entity/DiscordPartialEmoji; public final fun getLabel ()Ljava/lang/String; public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefault (Ljava/lang/Boolean;)V public final fun setDescription (Ljava/lang/String;)V public final fun setEmoji (Ldev/kord/common/entity/DiscordPartialEmoji;)V @@ -1110,7 +1212,9 @@ public final class dev/kord/rest/builder/component/SelectOptionBuilder { public final class dev/kord/rest/builder/component/StringSelectBuilder : dev/kord/rest/builder/component/SelectMenuBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getOptions ()Ljava/util/List; + public fun hashCode ()I public final fun setOptions (Ljava/util/List;)V } @@ -1118,6 +1222,7 @@ public final class dev/kord/rest/builder/component/TextInputBuilder : dev/kord/r public fun (Ldev/kord/common/entity/TextInputStyle;Ljava/lang/String;Ljava/lang/String;)V public synthetic fun build ()Ldev/kord/common/entity/DiscordComponent; public fun build ()Ldev/kord/common/entity/DiscordTextInputComponent; + public fun equals (Ljava/lang/Object;)Z public final fun getAllowedLength ()Lkotlin/ranges/ClosedRange; public final fun getCustomId ()Ljava/lang/String; public final fun getLabel ()Ljava/lang/String; @@ -1125,6 +1230,7 @@ public final class dev/kord/rest/builder/component/TextInputBuilder : dev/kord/r public final fun getRequired ()Ljava/lang/Boolean; public final fun getStyle ()Ldev/kord/common/entity/TextInputStyle; public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I public final fun setAllowedLength (Lkotlin/ranges/ClosedRange;)V public final fun setCustomId (Ljava/lang/String;)V public final fun setLabel (Ljava/lang/String;)V @@ -1136,14 +1242,18 @@ public final class dev/kord/rest/builder/component/TextInputBuilder : dev/kord/r public final class dev/kord/rest/builder/component/UserSelectBuilder : dev/kord/rest/builder/component/SelectMenuBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultUsers ()Ljava/util/List; + public fun hashCode ()I } public final class dev/kord/rest/builder/guild/CurrentVoiceStateModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getRequestToSpeakTimestamp ()Lkotlinx/datetime/Instant; public final fun getSuppress ()Ljava/lang/Boolean; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setRequestToSpeakTimestamp (Lkotlinx/datetime/Instant;)V public final fun setSuppress (Ljava/lang/Boolean;)V @@ -1153,10 +1263,12 @@ public final class dev/kord/rest/builder/guild/CurrentVoiceStateModifyBuilder : public final class dev/kord/rest/builder/guild/EmojiCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;Ldev/kord/rest/Image;)V + public fun equals (Ljava/lang/Object;)Z public final fun getImage ()Ldev/kord/rest/Image; public final fun getName ()Ljava/lang/String; public fun getReason ()Ljava/lang/String; public final fun getRoles ()Ljava/util/Set; + public fun hashCode ()I public final fun setImage (Ldev/kord/rest/Image;)V public final fun setName (Ljava/lang/String;)V public fun setReason (Ljava/lang/String;)V @@ -1167,9 +1279,11 @@ public final class dev/kord/rest/builder/guild/EmojiCreateBuilder : dev/kord/res public final class dev/kord/rest/builder/guild/EmojiModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getName ()Ljava/lang/String; public fun getReason ()Ljava/lang/String; public final fun getRoles ()Ljava/util/Set; + public fun hashCode ()I public final fun setName (Ljava/lang/String;)V public fun setReason (Ljava/lang/String;)V public final fun setRoles (Ljava/util/Set;)V @@ -1181,6 +1295,7 @@ public final class dev/kord/rest/builder/guild/GuildCreateBuilder : dev/kord/res public fun (Ljava/lang/String;)V public final fun category (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/Snowflake; public static synthetic fun category$default (Ldev/kord/rest/builder/guild/GuildCreateBuilder;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/kord/common/entity/Snowflake; + public fun equals (Ljava/lang/Object;)Z public final fun everyoneRole (Lkotlin/jvm/functions/Function1;)V public final fun forumChannel (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/Snowflake; public static synthetic fun forumChannel$default (Ldev/kord/rest/builder/guild/GuildCreateBuilder;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/kord/common/entity/Snowflake; @@ -1197,6 +1312,7 @@ public final class dev/kord/rest/builder/guild/GuildCreateBuilder : dev/kord/res public final fun getSnowflakeGenerator ()Ljava/util/Iterator; public final fun getSystemChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getVerificationLevel ()Ldev/kord/common/entity/VerificationLevel; + public fun hashCode ()I public final fun mediaChannel (Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;)Ldev/kord/common/entity/Snowflake; public static synthetic fun mediaChannel$default (Ldev/kord/rest/builder/guild/GuildCreateBuilder;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/kord/common/entity/Snowflake; public final fun newUniqueSnowflake ()Ldev/kord/common/entity/Snowflake; @@ -1222,6 +1338,7 @@ public final class dev/kord/rest/builder/guild/GuildCreateBuilder : dev/kord/res public final class dev/kord/rest/builder/guild/GuildModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAfkChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getAfkTimeout-FghU774 ()Lkotlin/time/Duration; public final fun getBanner ()Ldev/kord/rest/Image; @@ -1240,6 +1357,7 @@ public final class dev/kord/rest/builder/guild/GuildModifyBuilder : dev/kord/res public final fun getSplash ()Ldev/kord/rest/Image; public final fun getSystemChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getVerificationLevel ()Ldev/kord/common/entity/VerificationLevel; + public fun hashCode ()I public final fun setAfkChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setAfkTimeout-BwNAW2A (Lkotlin/time/Duration;)V public final fun setBanner (Ldev/kord/rest/Image;)V @@ -1264,11 +1382,13 @@ public final class dev/kord/rest/builder/guild/GuildModifyBuilder : dev/kord/res public final class dev/kord/rest/builder/guild/GuildOnboardingModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getDefaultChannelIds ()Ljava/util/List; public final fun getEnabled ()Ljava/lang/Boolean; public final fun getMode ()Ldev/kord/common/entity/OnboardingMode; public final fun getPrompts ()Ljava/util/List; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setDefaultChannelIds (Ljava/util/List;)V public final fun setEnabled (Ljava/lang/Boolean;)V public final fun setMode (Ldev/kord/common/entity/OnboardingMode;)V @@ -1286,9 +1406,11 @@ public final class dev/kord/rest/builder/guild/GuildOnboardingModifyBuilderKt { public final class dev/kord/rest/builder/guild/GuildWidgetModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getEnabled ()Ljava/lang/Boolean; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setEnabled (Ljava/lang/Boolean;)V public fun setReason (Ljava/lang/String;)V @@ -1298,6 +1420,7 @@ public final class dev/kord/rest/builder/guild/GuildWidgetModifyBuilder : dev/ko public final class dev/kord/rest/builder/guild/OnboardingPromptBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ldev/kord/common/entity/OnboardingPromptType;Ljava/lang/String;ZZZ)V + public fun equals (Ljava/lang/Object;)Z public final fun getId ()Ldev/kord/common/entity/Snowflake; public final fun getInOnboarding ()Z public final fun getOptions ()Ljava/util/List; @@ -1305,6 +1428,7 @@ public final class dev/kord/rest/builder/guild/OnboardingPromptBuilder : dev/kor public final fun getSingleSelect ()Z public final fun getTitle ()Ljava/lang/String; public final fun getType ()Ldev/kord/common/entity/OnboardingPromptType; + public fun hashCode ()I public final fun setId (Ldev/kord/common/entity/Snowflake;)V public final fun setInOnboarding (Z)V public final fun setRequired (Z)V @@ -1317,10 +1441,12 @@ public final class dev/kord/rest/builder/guild/OnboardingPromptBuilder : dev/kor public final class dev/kord/rest/builder/guild/OnboardingPromptOptionBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelIds ()Ljava/util/List; public final fun getDescription ()Ljava/lang/String; public final fun getRoleIds ()Ljava/util/List; public final fun getTitle ()Ljava/lang/String; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setTitle (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/OnboardingPromptOptionRequest; @@ -1329,6 +1455,7 @@ public final class dev/kord/rest/builder/guild/OnboardingPromptOptionBuilder : d public final class dev/kord/rest/builder/guild/ScheduledEventCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;Ldev/kord/common/entity/GuildScheduledEventPrivacyLevel;Lkotlinx/datetime/Instant;Ldev/kord/common/entity/ScheduledEntityType;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getDescription ()Ljava/lang/String; public final fun getEntityMetadata ()Ldev/kord/common/entity/GuildScheduledEventEntityMetadata; @@ -1339,6 +1466,7 @@ public final class dev/kord/rest/builder/guild/ScheduledEventCreateBuilder : dev public fun getReason ()Ljava/lang/String; public final fun getScheduledEndTime ()Lkotlinx/datetime/Instant; public final fun getScheduledStartTime ()Lkotlinx/datetime/Instant; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setDescription (Ljava/lang/String;)V public final fun setEntityMetadata (Ldev/kord/common/entity/GuildScheduledEventEntityMetadata;)V @@ -1355,9 +1483,11 @@ public final class dev/kord/rest/builder/guild/ScheduledEventCreateBuilder : dev public final class dev/kord/rest/builder/guild/StickerModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; public final fun getTags ()Ljava/lang/String; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setName (Ljava/lang/String;)V public final fun setTags (Ljava/lang/String;)V @@ -1367,8 +1497,10 @@ public final class dev/kord/rest/builder/guild/StickerModifyBuilder : dev/kord/r public final class dev/kord/rest/builder/guild/VoiceStateModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ldev/kord/common/entity/Snowflake;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getSuppress ()Ljava/lang/Boolean; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setSuppress (Ljava/lang/Boolean;)V public fun toRequest ()Ldev/kord/rest/json/request/VoiceStateModifyRequest; @@ -1377,10 +1509,12 @@ public final class dev/kord/rest/builder/guild/VoiceStateModifyBuilder : dev/kor public final class dev/kord/rest/builder/guild/WelcomeScreenChannelBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getDescription ()Ljava/lang/String; public final fun getEmojiId ()Ldev/kord/common/entity/Snowflake; public final fun getEmojiName ()Ljava/lang/String; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setDescription (Ljava/lang/String;)V public final fun setEmojiId (Ldev/kord/common/entity/Snowflake;)V @@ -1391,10 +1525,12 @@ public final class dev/kord/rest/builder/guild/WelcomeScreenChannelBuilder : dev public final class dev/kord/rest/builder/guild/WelcomeScreenModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getEnabled ()Ljava/lang/Boolean; public fun getReason ()Ljava/lang/String; public final fun getWelcomeScreenChannels ()Ljava/util/List; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setEnabled (Ljava/lang/Boolean;)V public fun setReason (Ljava/lang/String;)V @@ -1406,10 +1542,12 @@ public final class dev/kord/rest/builder/guild/WelcomeScreenModifyBuilder : dev/ public final class dev/kord/rest/builder/integration/IntegrationModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getEnableEmoticons ()Ljava/lang/Boolean; public final fun getExpireBehavior ()Ldev/kord/common/entity/IntegrationExpireBehavior; public final fun getExpirePeriodInDays ()Ljava/lang/Integer; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setEnableEmoticons (Ljava/lang/Boolean;)V public final fun setExpireBehavior (Ldev/kord/common/entity/IntegrationExpireBehavior;)V public final fun setExpirePeriodInDays (Ljava/lang/Integer;)V @@ -1456,7 +1594,9 @@ public abstract class dev/kord/rest/builder/interaction/BaseChoiceBuilder : dev/ public abstract fun choice (Ljava/lang/String;Ljava/lang/Object;Ldev/kord/common/entity/optional/Optional;)V public final fun choice (Ljava/lang/String;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V public static synthetic fun choice$default (Ldev/kord/rest/builder/interaction/BaseChoiceBuilder;Ljava/lang/String;Ljava/lang/Object;Ldev/kord/common/entity/optional/Optional;ILjava/lang/Object;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChoices ()Ljava/util/List; + public fun hashCode ()I public final fun setChoices (Ljava/util/List;)V public fun toRequest ()Ldev/kord/common/entity/ApplicationCommandOption; public synthetic fun toRequest ()Ljava/lang/Object; @@ -1464,7 +1604,9 @@ public abstract class dev/kord/rest/builder/interaction/BaseChoiceBuilder : dev/ public abstract class dev/kord/rest/builder/interaction/BaseCommandOptionBuilder : dev/kord/rest/builder/interaction/OptionsBuilder { public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/ApplicationCommandOptionType;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun equals (Ljava/lang/Object;)Z public final fun getOptions ()Ljava/util/List; + public fun hashCode ()I public final fun setOptions (Ljava/util/List;)V public fun toRequest ()Ldev/kord/common/entity/ApplicationCommandOption; public synthetic fun toRequest ()Ljava/lang/Object; @@ -1481,7 +1623,9 @@ public final class dev/kord/rest/builder/interaction/BooleanBuilder : dev/kord/r public final class dev/kord/rest/builder/interaction/ChannelBuilder : dev/kord/rest/builder/interaction/OptionsBuilder { public fun (Ljava/lang/String;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelTypes ()Ljava/util/List; + public fun hashCode ()I public final fun setChannelTypes (Ljava/util/List;)V public fun toRequest ()Ldev/kord/common/entity/ApplicationCommandOption; public synthetic fun toRequest ()Ljava/lang/Object; @@ -1500,6 +1644,7 @@ public final class dev/kord/rest/builder/interaction/ChatInputCreateBuilderImpl public fun (Ljava/lang/String;Ljava/lang/String;)V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDescription ()Ljava/lang/String; @@ -1510,6 +1655,7 @@ public final class dev/kord/rest/builder/interaction/ChatInputCreateBuilderImpl public fun getNsfw ()Ljava/lang/Boolean; public fun getOptions ()Ljava/util/List; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1535,6 +1681,7 @@ public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilder$Defa public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalChatInputModifyBuilder { public fun ()V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDescription ()Ljava/lang/String; @@ -1544,6 +1691,7 @@ public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilderImpl public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getOptions ()Ljava/util/List; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1560,9 +1708,11 @@ public final class dev/kord/rest/builder/interaction/ChatInputModifyBuilderImpl public final class dev/kord/rest/builder/interaction/ChoiceLocalizationsBuilder : dev/kord/rest/builder/interaction/LocalizedNameCreateBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public final fun get_nameLocalizations ()Ldev/kord/common/entity/optional/Optional; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setName (Ljava/lang/String;)V public fun setNameLocalizations (Ljava/util/Map;)V @@ -1764,6 +1914,7 @@ public final class dev/kord/rest/builder/interaction/MessageCommandCreateBuilder public final class dev/kord/rest/builder/interaction/MessageCommandCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalMessageCommandCreateBuilder { public fun (Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; @@ -1771,6 +1922,7 @@ public final class dev/kord/rest/builder/interaction/MessageCommandCreateBuilder public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1791,12 +1943,14 @@ public final class dev/kord/rest/builder/interaction/MessageCommandModifyBuilder public final class dev/kord/rest/builder/interaction/MessageCommandModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalMessageCommandModifyBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1811,9 +1965,11 @@ public final class dev/kord/rest/builder/interaction/MessageCommandModifyBuilder public final class dev/kord/rest/builder/interaction/ModalBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;Ljava/lang/String;)V public final fun actionRow (Lkotlin/jvm/functions/Function1;)V + public fun equals (Ljava/lang/Object;)Z public final fun getComponents ()Ljava/util/List; public final fun getCustomId ()Ljava/lang/String; public final fun getTitle ()Ljava/lang/String; + public fun hashCode ()I public final fun setCustomId (Ljava/lang/String;)V public final fun setTitle (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/common/entity/DiscordModal; @@ -1822,7 +1978,9 @@ public final class dev/kord/rest/builder/interaction/ModalBuilder : dev/kord/res public abstract class dev/kord/rest/builder/interaction/MultiApplicationCommandBuilder { public final fun build ()Ljava/util/List; + public fun equals (Ljava/lang/Object;)Z public final fun getCommands ()Ljava/util/List; + public fun hashCode ()I } public final class dev/kord/rest/builder/interaction/MultiApplicationCommandBuilderKt { @@ -1842,8 +2000,10 @@ public final class dev/kord/rest/builder/interaction/NumberOptionBuilder : dev/k public abstract class dev/kord/rest/builder/interaction/NumericOptionBuilder : dev/kord/rest/builder/interaction/BaseChoiceBuilder { public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/ApplicationCommandOptionType;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun equals (Ljava/lang/Object;)Z public final fun getMaxValue ()Ljava/lang/Number; public final fun getMinValue ()Ljava/lang/Number; + public fun hashCode ()I public final fun setMaxValue (Ljava/lang/Number;)V public final fun setMinValue (Ljava/lang/Number;)V public fun toRequest ()Ldev/kord/common/entity/ApplicationCommandOption; @@ -1853,6 +2013,7 @@ public abstract class dev/kord/rest/builder/interaction/NumericOptionBuilder : d public abstract class dev/kord/rest/builder/interaction/OptionsBuilder : dev/kord/rest/builder/RequestBuilder, dev/kord/rest/builder/interaction/LocalizedDescriptionCreateBuilder, dev/kord/rest/builder/interaction/LocalizedNameCreateBuilder { public synthetic fun (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/ApplicationCommandOptionType;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun description (Ldev/kord/common/Locale;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAutocomplete ()Ljava/lang/Boolean; public final fun getDefault ()Ljava/lang/Boolean; public fun getDescription ()Ljava/lang/String; @@ -1861,6 +2022,7 @@ public abstract class dev/kord/rest/builder/interaction/OptionsBuilder : dev/kor public fun getNameLocalizations ()Ljava/util/Map; public final fun getRequired ()Ljava/lang/Boolean; public final fun getType ()Ldev/kord/common/entity/ApplicationCommandOptionType; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public final fun setAutocomplete (Ljava/lang/Boolean;)V public final fun setDefault (Ljava/lang/Boolean;)V @@ -1884,8 +2046,10 @@ public final class dev/kord/rest/builder/interaction/StringChoiceBuilder : dev/k public fun (Ljava/lang/String;Ljava/lang/String;)V public synthetic fun choice (Ljava/lang/String;Ljava/lang/Object;Ldev/kord/common/entity/optional/Optional;)V public fun choice (Ljava/lang/String;Ljava/lang/String;Ldev/kord/common/entity/optional/Optional;)V + public fun equals (Ljava/lang/Object;)Z public final fun getMaxLength ()Ljava/lang/Integer; public final fun getMinLength ()Ljava/lang/Integer; + public fun hashCode ()I public final fun setMaxLength (Ljava/lang/Integer;)V public final fun setMinLength (Ljava/lang/Integer;)V public fun toRequest ()Ldev/kord/common/entity/ApplicationCommandOption; @@ -1911,6 +2075,7 @@ public final class dev/kord/rest/builder/interaction/UserCommandCreateBuilder$De public final class dev/kord/rest/builder/interaction/UserCommandCreateBuilderImpl : dev/kord/rest/builder/interaction/GlobalUserCommandCreateBuilder { public fun (Ljava/lang/String;)V public fun disableCommandInGuilds ()V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; @@ -1918,6 +2083,7 @@ public final class dev/kord/rest/builder/interaction/UserCommandCreateBuilderImp public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; public fun getType ()Ldev/kord/common/entity/ApplicationCommandType; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1938,12 +2104,14 @@ public final class dev/kord/rest/builder/interaction/UserCommandModifyBuilder$De public final class dev/kord/rest/builder/interaction/UserCommandModifyBuilderImpl : dev/kord/rest/builder/interaction/GlobalUserCommandModifyBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public fun getDefaultMemberPermissions ()Ldev/kord/common/entity/Permissions; public fun getDefaultPermission ()Ljava/lang/Boolean; public fun getDmPermission ()Ljava/lang/Boolean; public fun getName ()Ljava/lang/String; public fun getNameLocalizations ()Ljava/util/Map; public fun getNsfw ()Ljava/lang/Boolean; + public fun hashCode ()I public fun name (Ldev/kord/common/Locale;Ljava/lang/String;)V public fun setDefaultMemberPermissions (Ldev/kord/common/entity/Permissions;)V public fun setDefaultPermission (Ljava/lang/Boolean;)V @@ -1957,11 +2125,13 @@ public final class dev/kord/rest/builder/interaction/UserCommandModifyBuilderImp public final class dev/kord/rest/builder/member/MemberAddBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDeafened ()Ljava/lang/Boolean; public final fun getMuted ()Ljava/lang/Boolean; public final fun getNickname ()Ljava/lang/String; public final fun getRoles ()Ljava/util/Set; public final fun getToken ()Ljava/lang/String; + public fun hashCode ()I public final fun setDeafened (Ljava/lang/Boolean;)V public final fun setMuted (Ljava/lang/Boolean;)V public final fun setNickname (Ljava/lang/String;)V @@ -1973,6 +2143,7 @@ public final class dev/kord/rest/builder/member/MemberAddBuilder : dev/kord/rest public final class dev/kord/rest/builder/member/MemberModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getCommunicationDisabledUntil ()Lkotlinx/datetime/Instant; public final fun getDeafened ()Ljava/lang/Boolean; public final fun getFlags ()Ldev/kord/common/entity/GuildMemberFlags; @@ -1981,6 +2152,7 @@ public final class dev/kord/rest/builder/member/MemberModifyBuilder : dev/kord/r public fun getReason ()Ljava/lang/String; public final fun getRoles ()Ljava/util/Set; public final fun getVoiceChannelId ()Ldev/kord/common/entity/Snowflake; + public fun hashCode ()I public final fun setCommunicationDisabledUntil (Lkotlinx/datetime/Instant;)V public final fun setDeafened (Ljava/lang/Boolean;)V public final fun setFlags (Ldev/kord/common/entity/GuildMemberFlags;)V @@ -1997,18 +2169,22 @@ public final class dev/kord/rest/builder/message/AllowedMentionsBuilder { public fun ()V public final fun add (Ldev/kord/common/entity/AllowedMentionType;)V public final fun build ()Ldev/kord/common/entity/AllowedMentions; + public fun equals (Ljava/lang/Object;)Z public final fun getRepliedUser ()Ljava/lang/Boolean; public final fun getRoles ()Ljava/util/Set; public final fun getTypes ()Ljava/util/Set; public final fun getUsers ()Ljava/util/Set; + public fun hashCode ()I public final fun setRepliedUser (Ljava/lang/Boolean;)V public final fun unaryPlus (Ldev/kord/common/entity/AllowedMentionType;)V } public final class dev/kord/rest/builder/message/AttachmentBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ldev/kord/common/entity/Snowflake;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getFilename ()Ljava/lang/String; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setFilename (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/AttachmentRequest; @@ -2020,6 +2196,7 @@ public final class dev/kord/rest/builder/message/EmbedBuilder : dev/kord/rest/bu public static final field ZERO_WIDTH_SPACE Ljava/lang/String; public fun ()V public final fun author (Lkotlin/jvm/functions/Function1;)V + public fun equals (Ljava/lang/Object;)Z public final fun field (Ljava/lang/String;ZLkotlin/jvm/functions/Function0;)V public final fun field (Lkotlin/jvm/functions/Function1;)V public static synthetic fun field$default (Ldev/kord/rest/builder/message/EmbedBuilder;Ljava/lang/String;ZLkotlin/jvm/functions/Function0;ILjava/lang/Object;)V @@ -2034,6 +2211,7 @@ public final class dev/kord/rest/builder/message/EmbedBuilder : dev/kord/rest/bu public final fun getTimestamp ()Lkotlinx/datetime/Instant; public final fun getTitle ()Ljava/lang/String; public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I public final fun setAuthor (Ldev/kord/rest/builder/message/EmbedBuilder$Author;)V public final fun setColor (Ldev/kord/common/Color;)V public final fun setDescription (Ljava/lang/String;)V @@ -2051,9 +2229,11 @@ public final class dev/kord/rest/builder/message/EmbedBuilder : dev/kord/rest/bu public final class dev/kord/rest/builder/message/EmbedBuilder$Author : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getIcon ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I public final fun setIcon (Ljava/lang/String;)V public final fun setName (Ljava/lang/String;)V public final fun setUrl (Ljava/lang/String;)V @@ -2071,9 +2251,11 @@ public final class dev/kord/rest/builder/message/EmbedBuilder$Companion { public final class dev/kord/rest/builder/message/EmbedBuilder$Field : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getInline ()Ljava/lang/Boolean; public final fun getName ()Ljava/lang/String; public final fun getValue ()Ljava/lang/String; + public fun hashCode ()I public final fun setInline (Ljava/lang/Boolean;)V public final fun setName (Ljava/lang/String;)V public final fun setValue (Ljava/lang/String;)V @@ -2090,8 +2272,10 @@ public final class dev/kord/rest/builder/message/EmbedBuilder$Field$Limits { public final class dev/kord/rest/builder/message/EmbedBuilder$Footer : dev/kord/rest/builder/RequestBuilder { public field text Ljava/lang/String; public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getIcon ()Ljava/lang/String; public final fun getText ()Ljava/lang/String; + public fun hashCode ()I public final fun setIcon (Ljava/lang/String;)V public final fun setText (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/EmbedFooterRequest; @@ -2114,7 +2298,9 @@ public final class dev/kord/rest/builder/message/EmbedBuilder$Limits { public final class dev/kord/rest/builder/message/EmbedBuilder$Thumbnail : dev/kord/rest/builder/RequestBuilder { public field url Ljava/lang/String; public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getUrl ()Ljava/lang/String; + public fun hashCode ()I public final fun setUrl (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/EmbedThumbnailRequest; public synthetic fun toRequest ()Ljava/lang/Object; @@ -2159,6 +2345,7 @@ public final class dev/kord/rest/builder/message/MessageBuilderKt { public abstract class dev/kord/rest/builder/message/create/AbstractMessageCreateBuilder : dev/kord/rest/builder/message/create/MessageCreateBuilder { public fun addFile (Ljava/lang/String;Lio/ktor/client/request/forms/ChannelProvider;)Ldev/kord/rest/NamedFile; + public fun equals (Ljava/lang/Object;)Z public final fun getAllowedMentions ()Ldev/kord/rest/builder/message/AllowedMentionsBuilder; public final fun getAttachments ()Ljava/util/List; public final fun getComponents ()Ljava/util/List; @@ -2169,6 +2356,7 @@ public abstract class dev/kord/rest/builder/message/create/AbstractMessageCreate public final fun getSuppressEmbeds ()Ljava/lang/Boolean; public final fun getSuppressNotifications ()Ljava/lang/Boolean; public final fun getTts ()Ljava/lang/Boolean; + public fun hashCode ()I public final fun setAllowedMentions (Ldev/kord/rest/builder/message/AllowedMentionsBuilder;)V public final fun setAttachments (Ljava/util/List;)V public final fun setComponents (Ljava/util/List;)V @@ -2182,14 +2370,18 @@ public abstract class dev/kord/rest/builder/message/create/AbstractMessageCreate public final class dev/kord/rest/builder/message/create/FollowupMessageCreateBuilder : dev/kord/rest/builder/message/create/AbstractMessageCreateBuilder, dev/kord/rest/builder/RequestBuilder { public fun (Z)V + public fun equals (Ljava/lang/Object;)Z public final fun getEphemeral ()Z + public fun hashCode ()I public fun toRequest ()Ldev/kord/rest/json/request/MultipartFollowupMessageCreateRequest; public synthetic fun toRequest ()Ljava/lang/Object; } public final class dev/kord/rest/builder/message/create/ForumMessageCreateBuilder : dev/kord/rest/builder/message/create/AbstractMessageCreateBuilder, dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getStickerIds ()Ljava/util/List; + public fun hashCode ()I public final fun setStickerIds (Ljava/util/List;)V public fun toRequest ()Ldev/kord/rest/json/request/MultipartForumThreadMessageCreateRequest; public synthetic fun toRequest ()Ljava/lang/Object; @@ -2203,7 +2395,9 @@ public final class dev/kord/rest/builder/message/create/InteractionResponseCreat public fun ()V public fun (Z)V public synthetic fun (ZILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun equals (Ljava/lang/Object;)Z public final fun getEphemeral ()Z + public fun hashCode ()I public fun toRequest ()Ldev/kord/rest/json/request/MultipartInteractionResponseCreateRequest; public synthetic fun toRequest ()Ljava/lang/Object; } @@ -2229,10 +2423,12 @@ public final class dev/kord/rest/builder/message/create/UpdateMessageInteraction public final class dev/kord/rest/builder/message/create/UserMessageCreateBuilder : dev/kord/rest/builder/message/create/AbstractMessageCreateBuilder, dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getFailIfNotExists ()Ljava/lang/Boolean; public final fun getMessageReference ()Ldev/kord/common/entity/Snowflake; public final fun getNonce ()Ljava/lang/String; public final fun getStickerIds ()Ljava/util/List; + public fun hashCode ()I public final fun setFailIfNotExists (Ljava/lang/Boolean;)V public final fun setMessageReference (Ldev/kord/common/entity/Snowflake;)V public final fun setNonce (Ljava/lang/String;)V @@ -2247,10 +2443,12 @@ public final class dev/kord/rest/builder/message/create/UserMessageCreateBuilder public final class dev/kord/rest/builder/message/create/WebhookMessageCreateBuilder : dev/kord/rest/builder/message/create/AbstractMessageCreateBuilder, dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAppliedTags ()Ljava/util/List; public final fun getAvatarUrl ()Ljava/lang/String; public final fun getThreadName ()Ljava/lang/String; public final fun getUsername ()Ljava/lang/String; + public fun hashCode ()I public final fun setAppliedTags (Ljava/util/List;)V public final fun setAvatarUrl (Ljava/lang/String;)V public final fun setThreadName (Ljava/lang/String;)V @@ -2265,6 +2463,7 @@ public final class dev/kord/rest/builder/message/create/WebhookMessageCreateBuil public abstract class dev/kord/rest/builder/message/modify/AbstractMessageModifyBuilder : dev/kord/rest/builder/message/modify/MessageModifyBuilder { public fun addFile (Ljava/lang/String;Lio/ktor/client/request/forms/ChannelProvider;)Ldev/kord/rest/NamedFile; + public fun equals (Ljava/lang/Object;)Z public final fun getAllowedMentions ()Ldev/kord/rest/builder/message/AllowedMentionsBuilder; public final fun getAttachments ()Ljava/util/List; public final fun getComponents ()Ljava/util/List; @@ -2273,6 +2472,7 @@ public abstract class dev/kord/rest/builder/message/modify/AbstractMessageModify public final fun getFiles ()Ljava/util/List; public final fun getFlags ()Ldev/kord/common/entity/MessageFlags; public final fun getSuppressEmbeds ()Ljava/lang/Boolean; + public fun hashCode ()I public final fun setAllowedMentions (Ldev/kord/rest/builder/message/AllowedMentionsBuilder;)V public final fun setAttachments (Ljava/util/List;)V public final fun setComponents (Ljava/util/List;)V @@ -2320,6 +2520,7 @@ public final class dev/kord/rest/builder/message/modify/WebhookMessageModifyBuil public final class dev/kord/rest/builder/role/RoleCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getColor ()Ldev/kord/common/Color; public final fun getHoist ()Ljava/lang/Boolean; public final fun getIcon ()Ldev/kord/rest/Image; @@ -2328,6 +2529,7 @@ public final class dev/kord/rest/builder/role/RoleCreateBuilder : dev/kord/rest/ public final fun getPermissions ()Ldev/kord/common/entity/Permissions; public fun getReason ()Ljava/lang/String; public final fun getUnicodeEmoji ()Ljava/lang/String; + public fun hashCode ()I public final fun setColor (Ldev/kord/common/Color;)V public final fun setHoist (Ljava/lang/Boolean;)V public final fun setIcon (Ldev/kord/rest/Image;)V @@ -2342,6 +2544,7 @@ public final class dev/kord/rest/builder/role/RoleCreateBuilder : dev/kord/rest/ public final class dev/kord/rest/builder/role/RoleModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getColor ()Ldev/kord/common/Color; public final fun getHoist ()Ljava/lang/Boolean; public final fun getIcon ()Ldev/kord/rest/Image; @@ -2350,6 +2553,7 @@ public final class dev/kord/rest/builder/role/RoleModifyBuilder : dev/kord/rest/ public final fun getPermissions ()Ldev/kord/common/entity/Permissions; public fun getReason ()Ljava/lang/String; public final fun getUnicodeEmoji ()Ljava/lang/String; + public fun hashCode ()I public final fun setColor (Ldev/kord/common/Color;)V public final fun setHoist (Ljava/lang/Boolean;)V public final fun setIcon (Ldev/kord/rest/Image;)V @@ -2364,7 +2568,9 @@ public final class dev/kord/rest/builder/role/RoleModifyBuilder : dev/kord/rest/ public final class dev/kord/rest/builder/role/RolePositionsModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun move (Lkotlin/Pair;)V public final fun move ([Lkotlin/Pair;)V public fun setReason (Ljava/lang/String;)V @@ -2374,6 +2580,7 @@ public final class dev/kord/rest/builder/role/RolePositionsModifyBuilder : dev/k public final class dev/kord/rest/builder/scheduled_events/ScheduledEventModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getDescription ()Ljava/lang/String; public final fun getEntityMetadata ()Ldev/kord/common/entity/GuildScheduledEventEntityMetadata; @@ -2385,6 +2592,7 @@ public final class dev/kord/rest/builder/scheduled_events/ScheduledEventModifyBu public final fun getScheduledEndTime ()Lkotlinx/datetime/Instant; public final fun getScheduledStartTime ()Lkotlinx/datetime/Instant; public final fun getStatus ()Ldev/kord/common/entity/GuildScheduledEventStatus; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setDescription (Ljava/lang/String;)V public final fun setEntityMetadata (Ldev/kord/common/entity/GuildScheduledEventEntityMetadata;)V @@ -2402,12 +2610,14 @@ public final class dev/kord/rest/builder/scheduled_events/ScheduledEventModifyBu public final class dev/kord/rest/builder/stage/StageInstanceCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ldev/kord/common/entity/Snowflake;Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getGuildScheduledEventId ()Ldev/kord/common/entity/Snowflake; public final fun getPrivacyLevel ()Ldev/kord/common/entity/StageInstancePrivacyLevel; public fun getReason ()Ljava/lang/String; public final fun getSendStartNotification ()Ljava/lang/Boolean; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setGuildScheduledEventId (Ldev/kord/common/entity/Snowflake;)V public final fun setPrivacyLevel (Ldev/kord/common/entity/StageInstancePrivacyLevel;)V @@ -2420,9 +2630,11 @@ public final class dev/kord/rest/builder/stage/StageInstanceCreateBuilder : dev/ public final class dev/kord/rest/builder/stage/StageInstanceModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getPrivacyLevel ()Ldev/kord/common/entity/StageInstancePrivacyLevel; public fun getReason ()Ljava/lang/String; public final fun getTopic ()Ljava/lang/String; + public fun hashCode ()I public final fun setPrivacyLevel (Ldev/kord/common/entity/StageInstancePrivacyLevel;)V public fun setReason (Ljava/lang/String;)V public final fun setTopic (Ljava/lang/String;)V @@ -2432,8 +2644,10 @@ public final class dev/kord/rest/builder/stage/StageInstanceModifyBuilder : dev/ public final class dev/kord/rest/builder/template/GuildFromTemplateCreateBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getImage ()Ldev/kord/rest/Image; public final fun getName ()Ljava/lang/String; + public fun hashCode ()I public final fun setImage (Ldev/kord/rest/Image;)V public final fun setName (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/GuildFromTemplateCreateRequest; @@ -2442,8 +2656,10 @@ public final class dev/kord/rest/builder/template/GuildFromTemplateCreateBuilder public final class dev/kord/rest/builder/template/GuildTemplateCreateBuilder : dev/kord/rest/builder/RequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setName (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/GuildTemplateCreateRequest; @@ -2452,8 +2668,10 @@ public final class dev/kord/rest/builder/template/GuildTemplateCreateBuilder : d public final class dev/kord/rest/builder/template/GuildTemplateModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getDescription ()Ljava/lang/String; public final fun getName ()Ljava/lang/String; + public fun hashCode ()I public final fun setDescription (Ljava/lang/String;)V public final fun setName (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/GuildTemplateModifyRequest; @@ -2462,8 +2680,10 @@ public final class dev/kord/rest/builder/template/GuildTemplateModifyBuilder : d public final class dev/kord/rest/builder/user/CurrentUserModifyBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAvatar ()Ldev/kord/rest/Image; public final fun getUsername ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvatar (Ldev/kord/rest/Image;)V public final fun setUsername (Ljava/lang/String;)V public fun toRequest ()Ldev/kord/rest/json/request/CurrentUserModifyRequest; @@ -2472,17 +2692,21 @@ public final class dev/kord/rest/builder/user/CurrentUserModifyBuilder : dev/kor public final class dev/kord/rest/builder/user/GroupDMCreateBuilder : dev/kord/rest/builder/RequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getNicknames ()Ljava/util/Map; public final fun getTokens ()Ljava/util/List; + public fun hashCode ()I public fun toRequest ()Ldev/kord/rest/json/request/GroupDMCreateRequest; public synthetic fun toRequest ()Ljava/lang/Object; } public final class dev/kord/rest/builder/webhook/WebhookCreateBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun (Ljava/lang/String;)V + public fun equals (Ljava/lang/Object;)Z public final fun getAvatar ()Ldev/kord/rest/Image; public final fun getName ()Ljava/lang/String; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvatar (Ldev/kord/rest/Image;)V public final fun setName (Ljava/lang/String;)V public fun setReason (Ljava/lang/String;)V @@ -2492,10 +2716,12 @@ public final class dev/kord/rest/builder/webhook/WebhookCreateBuilder : dev/kord public final class dev/kord/rest/builder/webhook/WebhookModifyBuilder : dev/kord/rest/builder/AuditRequestBuilder { public fun ()V + public fun equals (Ljava/lang/Object;)Z public final fun getAvatar ()Ldev/kord/rest/Image; public final fun getChannelId ()Ldev/kord/common/entity/Snowflake; public final fun getName ()Ljava/lang/String; public fun getReason ()Ljava/lang/String; + public fun hashCode ()I public final fun setAvatar (Ldev/kord/rest/Image;)V public final fun setChannelId (Ldev/kord/common/entity/Snowflake;)V public final fun setName (Ljava/lang/String;)V diff --git a/rest/api/rest.klib.api b/rest/api/rest.klib.api index 569a77c7fb97..e803773a7b05 100644 --- a/rest/api/rest.klib.api +++ b/rest/api/rest.klib.api @@ -683,6 +683,8 @@ final class dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataB final fun (): dev.kord.common.entity/ApplicationRoleConnectionMetadataType // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataBuilder.type.|(){}[0] final fun (dev.kord.common.entity/ApplicationRoleConnectionMetadataType) // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataBuilder.type.|(dev.kord.common.entity.ApplicationRoleConnectionMetadataType){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.common.entity/DiscordApplicationRoleConnectionMetadata // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataBuilder.toRequest|toRequest(){}[0] } @@ -693,6 +695,8 @@ final class dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataR final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.records.|(){}[0] final fun (kotlin.collections/MutableList) // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.records.|(kotlin.collections.MutableList){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.hashCode|hashCode(){}[0] final fun toRequest(): kotlin.collections/List // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.toRequest|toRequest(){}[0] final inline fun record(dev.kord.common.entity/ApplicationRoleConnectionMetadataType, kotlin/String, kotlin/String, kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.application/ApplicationRoleConnectionMetadataRecordsBuilder.record|record(dev.kord.common.entity.ApplicationRoleConnectionMetadataType;kotlin.String;kotlin.String;kotlin.String;kotlin.Function1){}[0] } @@ -716,6 +720,8 @@ final class dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder : dev.kord. final fun (): dev.kord.common.entity/Snowflake? // dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder.userId.|(){}[0] final fun (dev.kord.common.entity/Snowflake?) // dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder.userId.|(dev.kord.common.entity.Snowflake?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/AuditLogGetRequest // dev.kord.rest.builder.auditlog/AuditLogGetRequestBuilder.toRequest|toRequest(){}[0] } @@ -728,6 +734,9 @@ final class dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActio final var customMessage // dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActionBuilder.customMessage|{}customMessage[0] final fun (): kotlin/String? // dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActionBuilder.customMessage.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActionBuilder.customMessage.|(kotlin.String?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActionBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/BlockMessageAutoModerationActionBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder, dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder|null[0] @@ -742,6 +751,9 @@ final class dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreate final var regexPatterns // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder.regexPatterns|{}regexPatterns[0] final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder.regexPatterns.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder.regexPatterns.|(kotlin.collections.MutableList?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleCreateBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder, dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder|null[0] @@ -756,6 +768,9 @@ final class dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModify final var regexPatterns // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder.regexPatterns|{}regexPatterns[0] final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder.regexPatterns.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder.regexPatterns.|(kotlin.collections.MutableList?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/KeywordAutoModerationRuleModifyBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder, dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder|null[0] @@ -769,6 +784,8 @@ final class dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRule final fun (kotlin.collections/MutableList) // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder.presets.|(kotlin.collections.MutableList){}[0] final fun assignPresets(kotlin.collections/MutableList) // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder.assignPresets|assignPresets(kotlin.collections.MutableList){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleCreateBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder, dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder|null[0] @@ -782,6 +799,8 @@ final class dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRule final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder.presets.|(kotlin.collections.MutableList?){}[0] final fun assignPresets(kotlin.collections/MutableList) // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder.assignPresets|assignPresets(kotlin.collections.MutableList){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/KeywordPresetAutoModerationRuleModifyBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder, dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder|null[0] @@ -793,6 +812,9 @@ final class dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCr final var mentionRaidProtectionEnabled // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder.mentionRaidProtectionEnabled|{}mentionRaidProtectionEnabled[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder.mentionRaidProtectionEnabled.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder.mentionRaidProtectionEnabled.|(kotlin.Boolean?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleCreateBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder, dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder|null[0] @@ -804,6 +826,9 @@ final class dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleMo final var mentionRaidProtectionEnabled // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder.mentionRaidProtectionEnabled|{}mentionRaidProtectionEnabled[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder.mentionRaidProtectionEnabled.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder.mentionRaidProtectionEnabled.|(kotlin.Boolean?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/MentionSpamAutoModerationRuleModifyBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder : dev.kord.rest.builder.automoderation/AutoModerationActionBuilder { // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder|null[0] @@ -815,6 +840,9 @@ final class dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationA final var channelId // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder.channelId|{}channelId[0] final fun (): dev.kord.common.entity/Snowflake // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder.channelId.|(){}[0] final fun (dev.kord.common.entity/Snowflake) // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder.channelId.|(dev.kord.common.entity.Snowflake){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/SendAlertMessageAutoModerationActionBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/SpamAutoModerationRuleCreateBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder, dev.kord.rest.builder.automoderation/SpamAutoModerationRuleBuilder { // dev.kord.rest.builder.automoderation/SpamAutoModerationRuleCreateBuilder|null[0] @@ -834,6 +862,9 @@ final class dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuil final var duration // dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuilder.duration|{}duration[0] final fun (): kotlin.time/Duration // dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuilder.duration.|(){}[0] final fun (kotlin.time/Duration) // dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuilder.duration.|(kotlin.time.Duration){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/TimeoutAutoModerationActionBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder { // dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder|null[0] @@ -841,6 +872,9 @@ final class dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModify final val triggerType // dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder.triggerType|{}triggerType[0] final fun (): kotlin/Nothing? // dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder.triggerType.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/UntypedAutoModerationRuleModifyBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.ban/BanCreateBuilder : dev.kord.rest.builder/AuditRequestBuilder { // dev.kord.rest.builder.ban/BanCreateBuilder|null[0] @@ -853,6 +887,8 @@ final class dev.kord.rest.builder.ban/BanCreateBuilder : dev.kord.rest.builder/A final fun (): kotlin/String? // dev.kord.rest.builder.ban/BanCreateBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.ban/BanCreateBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.ban/BanCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.ban/BanCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildBanCreateRequest // dev.kord.rest.builder.ban/BanCreateBuilder.toRequest|toRequest(){}[0] } @@ -878,6 +914,8 @@ final class dev.kord.rest.builder.channel.thread/StartForumThreadBuilder : dev.k final fun (): kotlin/String? // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.hashCode|hashCode(){}[0] final fun message(kotlin/String) // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.message|message(kotlin.String){}[0] final fun toRequest(): dev.kord.rest.json.request/MultipartStartThreadRequest // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.toRequest|toRequest(){}[0] final inline fun message(kotlin/Function1) // dev.kord.rest.builder.channel.thread/StartForumThreadBuilder.message|message(kotlin.Function1){}[0] @@ -905,6 +943,8 @@ final class dev.kord.rest.builder.channel.thread/StartThreadBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.channel.thread/StartThreadBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel.thread/StartThreadBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel.thread/StartThreadBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel.thread/StartThreadBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/StartThreadRequest // dev.kord.rest.builder.channel.thread/StartThreadBuilder.toRequest|toRequest(){}[0] } @@ -924,6 +964,8 @@ final class dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder : final fun (): kotlin/String? // dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/StartThreadRequest // dev.kord.rest.builder.channel.thread/StartThreadWithMessageBuilder.toRequest|toRequest(){}[0] } @@ -958,6 +1000,8 @@ final class dev.kord.rest.builder.channel.thread/ThreadModifyBuilder : dev.kord. final fun (): kotlin/String? // dev.kord.rest.builder.channel.thread/ThreadModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel.thread/ThreadModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel.thread/ThreadModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel.thread/ThreadModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel.thread/ThreadModifyBuilder.toRequest|toRequest(){}[0] } @@ -980,6 +1024,8 @@ final class dev.kord.rest.builder.channel/CategoryCreateBuilder : dev.kord.rest. final fun (): kotlin/String? // dev.kord.rest.builder.channel/CategoryCreateBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/CategoryCreateBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/CategoryCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/CategoryCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/CategoryCreateBuilder.toRequest|toRequest(){}[0] } @@ -999,6 +1045,8 @@ final class dev.kord.rest.builder.channel/CategoryModifyBuilder : dev.kord.rest. final fun (): kotlin/String? // dev.kord.rest.builder.channel/CategoryModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/CategoryModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/CategoryModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/CategoryModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/CategoryModifyBuilder.toRequest|toRequest(){}[0] } @@ -1015,6 +1063,8 @@ final class dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder : dev.k final fun (): kotlin/String? // dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelPermissionEditRequest // dev.kord.rest.builder.channel/ChannelPermissionModifyBuilder.toRequest|toRequest(){}[0] } @@ -1073,6 +1123,8 @@ final class dev.kord.rest.builder.channel/ForumChannelCreateBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.hashCode|hashCode(){}[0] final fun tag(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.tag|tag(kotlin.String;kotlin.Function1){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/ForumChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1132,6 +1184,8 @@ final class dev.kord.rest.builder.channel/ForumChannelModifyBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.hashCode|hashCode(){}[0] final fun tag(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.tag|tag(kotlin.String;kotlin.Function1){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/ForumChannelModifyBuilder.toRequest|toRequest(){}[0] } @@ -1152,6 +1206,8 @@ final class dev.kord.rest.builder.channel/ForumTagBuilder : dev.kord.rest.builde final fun (): kotlin/String? // dev.kord.rest.builder.channel/ForumTagBuilder.reactionEmojiName.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/ForumTagBuilder.reactionEmojiName.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/ForumTagBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/ForumTagBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ForumTagRequest // dev.kord.rest.builder.channel/ForumTagBuilder.toRequest|toRequest(){}[0] } @@ -1162,6 +1218,8 @@ final class dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder : de final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.swaps.|(){}[0] final fun (kotlin.collections/MutableList) // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.swaps.|(kotlin.collections.MutableList){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.hashCode|hashCode(){}[0] final fun move(kotlin/Array>...) // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.move|move(kotlin.Array>...){}[0] final fun move(kotlin/Pair) // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.move|move(kotlin.Pair){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelPositionModifyRequest // dev.kord.rest.builder.channel/GuildChannelPositionModifyBuilder.toRequest|toRequest(){}[0] @@ -1184,6 +1242,8 @@ final class dev.kord.rest.builder.channel/GuildChannelSwapBuilder { // dev.kord. final fun (): kotlin/Int? // dev.kord.rest.builder.channel/GuildChannelSwapBuilder.position.|(){}[0] final fun (kotlin/Int?) // dev.kord.rest.builder.channel/GuildChannelSwapBuilder.position.|(kotlin.Int?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/GuildChannelSwapBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/GuildChannelSwapBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelPositionSwapRequest // dev.kord.rest.builder.channel/GuildChannelSwapBuilder.toRequest|toRequest(){}[0] } @@ -1215,6 +1275,8 @@ final class dev.kord.rest.builder.channel/InviteCreateBuilder : dev.kord.rest.bu final fun (): kotlin/Boolean? // dev.kord.rest.builder.channel/InviteCreateBuilder.unique.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.channel/InviteCreateBuilder.unique.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/InviteCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/InviteCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/InviteCreateRequest // dev.kord.rest.builder.channel/InviteCreateBuilder.toRequest|toRequest(){}[0] } @@ -1270,6 +1332,8 @@ final class dev.kord.rest.builder.channel/MediaChannelCreateBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.hashCode|hashCode(){}[0] final fun tag(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.tag|tag(kotlin.String;kotlin.Function1){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/MediaChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1326,6 +1390,8 @@ final class dev.kord.rest.builder.channel/MediaChannelModifyBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.toRequest|toRequest(){}[0] final inline fun tag(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.channel/MediaChannelModifyBuilder.tag|tag(kotlin.String;kotlin.Function1){}[0] } @@ -1358,6 +1424,8 @@ final class dev.kord.rest.builder.channel/NewsChannelCreateBuilder : dev.kord.re final fun (): kotlin/String? // dev.kord.rest.builder.channel/NewsChannelCreateBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/NewsChannelCreateBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/NewsChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/NewsChannelCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/NewsChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1392,6 +1460,8 @@ final class dev.kord.rest.builder.channel/NewsChannelModifyBuilder : dev.kord.re final fun (): kotlin/String? // dev.kord.rest.builder.channel/NewsChannelModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/NewsChannelModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/NewsChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/NewsChannelModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/NewsChannelModifyBuilder.toRequest|toRequest(){}[0] } @@ -1405,6 +1475,8 @@ final class dev.kord.rest.builder.channel/PermissionOverwriteBuilder { // dev.ko final fun (): dev.kord.common.entity/Permissions // dev.kord.rest.builder.channel/PermissionOverwriteBuilder.denied.|(){}[0] final fun (dev.kord.common.entity/Permissions) // dev.kord.rest.builder.channel/PermissionOverwriteBuilder.denied.|(dev.kord.common.entity.Permissions){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/PermissionOverwriteBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/PermissionOverwriteBuilder.hashCode|hashCode(){}[0] final fun toOverwrite(): dev.kord.common.entity/Overwrite // dev.kord.rest.builder.channel/PermissionOverwriteBuilder.toOverwrite|toOverwrite(){}[0] } @@ -1439,6 +1511,8 @@ final class dev.kord.rest.builder.channel/StageChannelCreateBuilder : dev.kord.r final fun (): kotlin/Int? // dev.kord.rest.builder.channel/StageChannelCreateBuilder.userLimit.|(){}[0] final fun (kotlin/Int?) // dev.kord.rest.builder.channel/StageChannelCreateBuilder.userLimit.|(kotlin.Int?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/StageChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/StageChannelCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/StageChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1470,6 +1544,8 @@ final class dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder : dev.k final fun (): kotlin/String? // dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/StageVoiceChannelModifyBuilder.toRequest|toRequest(){}[0] } @@ -1507,6 +1583,8 @@ final class dev.kord.rest.builder.channel/TextChannelCreateBuilder : dev.kord.re final fun (): kotlin/String? // dev.kord.rest.builder.channel/TextChannelCreateBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/TextChannelCreateBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/TextChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/TextChannelCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/TextChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1544,6 +1622,8 @@ final class dev.kord.rest.builder.channel/TextChannelModifyBuilder : dev.kord.re final fun (): kotlin/String? // dev.kord.rest.builder.channel/TextChannelModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.channel/TextChannelModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/TextChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/TextChannelModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/TextChannelModifyBuilder.toRequest|toRequest(){}[0] } @@ -1575,6 +1655,8 @@ final class dev.kord.rest.builder.channel/VoiceChannelCreateBuilder : dev.kord.r final fun (): kotlin/Int? // dev.kord.rest.builder.channel/VoiceChannelCreateBuilder.userLimit.|(){}[0] final fun (kotlin/Int?) // dev.kord.rest.builder.channel/VoiceChannelCreateBuilder.userLimit.|(kotlin.Int?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/VoiceChannelCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/VoiceChannelCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildChannelCreateRequest // dev.kord.rest.builder.channel/VoiceChannelCreateBuilder.toRequest|toRequest(){}[0] } @@ -1615,6 +1697,8 @@ final class dev.kord.rest.builder.channel/VoiceChannelModifyBuilder : dev.kord.r final fun (): dev.kord.common.entity/VideoQualityMode? // dev.kord.rest.builder.channel/VoiceChannelModifyBuilder.videoQualityMode.|(){}[0] final fun (dev.kord.common.entity/VideoQualityMode?) // dev.kord.rest.builder.channel/VoiceChannelModifyBuilder.videoQualityMode.|(dev.kord.common.entity.VideoQualityMode?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.channel/VoiceChannelModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.channel/VoiceChannelModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ChannelModifyPatchRequest // dev.kord.rest.builder.channel/VoiceChannelModifyBuilder.toRequest|toRequest(){}[0] } @@ -1625,6 +1709,8 @@ final class dev.kord.rest.builder.component/ActionRowBuilder : dev.kord.rest.bui final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/ActionRowBuilder.components.|(){}[0] final fun build(): dev.kord.common.entity/DiscordChatComponent // dev.kord.rest.builder.component/ActionRowBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ActionRowBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ActionRowBuilder.hashCode|hashCode(){}[0] final inline fun channelSelect(kotlin/String, kotlin/Function1 = ...) // dev.kord.rest.builder.component/ActionRowBuilder.channelSelect|channelSelect(kotlin.String;kotlin.Function1){}[0] final inline fun interactionButton(dev.kord.common.entity/ButtonStyle, kotlin/String, kotlin/Function1) // dev.kord.rest.builder.component/ActionRowBuilder.interactionButton|interactionButton(dev.kord.common.entity.ButtonStyle;kotlin.String;kotlin.Function1){}[0] final inline fun linkButton(kotlin/String, kotlin/Function1) // dev.kord.rest.builder.component/ActionRowBuilder.linkButton|linkButton(kotlin.String;kotlin.Function1){}[0] @@ -1644,6 +1730,9 @@ final class dev.kord.rest.builder.component/ChannelSelectBuilder : dev.kord.rest final var channelTypes // dev.kord.rest.builder.component/ChannelSelectBuilder.channelTypes|{}channelTypes[0] final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.component/ChannelSelectBuilder.channelTypes.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.component/ChannelSelectBuilder.channelTypes.|(kotlin.collections.MutableList?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ChannelSelectBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ChannelSelectBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/MentionableSelectBuilder : dev.kord.rest.builder.component/SelectMenuBuilder { // dev.kord.rest.builder.component/MentionableSelectBuilder|null[0] @@ -1653,6 +1742,9 @@ final class dev.kord.rest.builder.component/MentionableSelectBuilder : dev.kord. final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/MentionableSelectBuilder.defaultRoles.|(){}[0] final val defaultUsers // dev.kord.rest.builder.component/MentionableSelectBuilder.defaultUsers|{}defaultUsers[0] final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/MentionableSelectBuilder.defaultUsers.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/MentionableSelectBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/MentionableSelectBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/RoleSelectBuilder : dev.kord.rest.builder.component/SelectMenuBuilder { // dev.kord.rest.builder.component/RoleSelectBuilder|null[0] @@ -1660,6 +1752,9 @@ final class dev.kord.rest.builder.component/RoleSelectBuilder : dev.kord.rest.bu final val defaultRoles // dev.kord.rest.builder.component/RoleSelectBuilder.defaultRoles|{}defaultRoles[0] final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/RoleSelectBuilder.defaultRoles.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/RoleSelectBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/RoleSelectBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/SelectOptionBuilder { // dev.kord.rest.builder.component/SelectOptionBuilder|null[0] @@ -1682,6 +1777,8 @@ final class dev.kord.rest.builder.component/SelectOptionBuilder { // dev.kord.re final fun (kotlin/String) // dev.kord.rest.builder.component/SelectOptionBuilder.value.|(kotlin.String){}[0] final fun build(): dev.kord.common.entity/DiscordSelectOption // dev.kord.rest.builder.component/SelectOptionBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/SelectOptionBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/SelectOptionBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/StringSelectBuilder : dev.kord.rest.builder.component/SelectMenuBuilder { // dev.kord.rest.builder.component/StringSelectBuilder|null[0] @@ -1690,6 +1787,9 @@ final class dev.kord.rest.builder.component/StringSelectBuilder : dev.kord.rest. final var options // dev.kord.rest.builder.component/StringSelectBuilder.options|{}options[0] final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/StringSelectBuilder.options.|(){}[0] final fun (kotlin.collections/MutableList) // dev.kord.rest.builder.component/StringSelectBuilder.options.|(kotlin.collections.MutableList){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/StringSelectBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/StringSelectBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/TextInputBuilder : dev.kord.rest.builder.component/ActionRowComponentBuilder { // dev.kord.rest.builder.component/TextInputBuilder|null[0] @@ -1718,6 +1818,8 @@ final class dev.kord.rest.builder.component/TextInputBuilder : dev.kord.rest.bui final fun (kotlin/String?) // dev.kord.rest.builder.component/TextInputBuilder.value.|(kotlin.String?){}[0] final fun build(): dev.kord.common.entity/DiscordTextInputComponent // dev.kord.rest.builder.component/TextInputBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/TextInputBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/TextInputBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.component/UserSelectBuilder : dev.kord.rest.builder.component/SelectMenuBuilder { // dev.kord.rest.builder.component/UserSelectBuilder|null[0] @@ -1725,6 +1827,9 @@ final class dev.kord.rest.builder.component/UserSelectBuilder : dev.kord.rest.bu final val defaultUsers // dev.kord.rest.builder.component/UserSelectBuilder.defaultUsers|{}defaultUsers[0] final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.component/UserSelectBuilder.defaultUsers.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/UserSelectBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/UserSelectBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder : dev.kord.rest.builder/RequestBuilder { // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder|null[0] @@ -1740,6 +1845,8 @@ final class dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder : dev.kor final fun (): kotlin/Boolean? // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder.suppress.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder.suppress.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/CurrentVoiceStateModifyRequest // dev.kord.rest.builder.guild/CurrentVoiceStateModifyBuilder.toRequest|toRequest(){}[0] } @@ -1759,6 +1866,8 @@ final class dev.kord.rest.builder.guild/EmojiCreateBuilder : dev.kord.rest.build final fun (): kotlin.collections/MutableSet // dev.kord.rest.builder.guild/EmojiCreateBuilder.roles.|(){}[0] final fun (kotlin.collections/MutableSet) // dev.kord.rest.builder.guild/EmojiCreateBuilder.roles.|(kotlin.collections.MutableSet){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/EmojiCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/EmojiCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmojiCreateRequest // dev.kord.rest.builder.guild/EmojiCreateBuilder.toRequest|toRequest(){}[0] } @@ -1775,6 +1884,8 @@ final class dev.kord.rest.builder.guild/EmojiModifyBuilder : dev.kord.rest.build final fun (): kotlin.collections/MutableSet? // dev.kord.rest.builder.guild/EmojiModifyBuilder.roles.|(){}[0] final fun (kotlin.collections/MutableSet?) // dev.kord.rest.builder.guild/EmojiModifyBuilder.roles.|(kotlin.collections.MutableSet?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/EmojiModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/EmojiModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmojiModifyRequest // dev.kord.rest.builder.guild/EmojiModifyBuilder.toRequest|toRequest(){}[0] } @@ -1819,6 +1930,8 @@ final class dev.kord.rest.builder.guild/GuildCreateBuilder : dev.kord.rest.build final fun (): dev.kord.common.entity/VerificationLevel? // dev.kord.rest.builder.guild/GuildCreateBuilder.verificationLevel.|(){}[0] final fun (dev.kord.common.entity/VerificationLevel?) // dev.kord.rest.builder.guild/GuildCreateBuilder.verificationLevel.|(dev.kord.common.entity.VerificationLevel?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/GuildCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/GuildCreateBuilder.hashCode|hashCode(){}[0] final fun newUniqueSnowflake(): dev.kord.common.entity/Snowflake // dev.kord.rest.builder.guild/GuildCreateBuilder.newUniqueSnowflake|newUniqueSnowflake(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildCreateRequest // dev.kord.rest.builder.guild/GuildCreateBuilder.toRequest|toRequest(){}[0] final inline fun category(kotlin/String, dev.kord.common.entity/Snowflake = ..., kotlin/Function1): dev.kord.common.entity/Snowflake // dev.kord.rest.builder.guild/GuildCreateBuilder.category|category(kotlin.String;dev.kord.common.entity.Snowflake;kotlin.Function1){}[0] @@ -1888,6 +2001,8 @@ final class dev.kord.rest.builder.guild/GuildModifyBuilder : dev.kord.rest.build final fun (): dev.kord.common.entity/VerificationLevel? // dev.kord.rest.builder.guild/GuildModifyBuilder.verificationLevel.|(){}[0] final fun (dev.kord.common.entity/VerificationLevel?) // dev.kord.rest.builder.guild/GuildModifyBuilder.verificationLevel.|(dev.kord.common.entity.VerificationLevel?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/GuildModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/GuildModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildModifyRequest // dev.kord.rest.builder.guild/GuildModifyBuilder.toRequest|toRequest(){}[0] } @@ -1910,6 +2025,8 @@ final class dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder : dev.kord. final fun (): kotlin/String? // dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildOnboardingModifyRequest // dev.kord.rest.builder.guild/GuildOnboardingModifyBuilder.toRequest|toRequest(){}[0] } @@ -1926,6 +2043,8 @@ final class dev.kord.rest.builder.guild/GuildWidgetModifyBuilder : dev.kord.rest final fun (): kotlin/String? // dev.kord.rest.builder.guild/GuildWidgetModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.guild/GuildWidgetModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/GuildWidgetModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/GuildWidgetModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildWidgetModifyRequest // dev.kord.rest.builder.guild/GuildWidgetModifyBuilder.toRequest|toRequest(){}[0] } @@ -1954,6 +2073,8 @@ final class dev.kord.rest.builder.guild/OnboardingPromptBuilder : dev.kord.rest. final fun (): dev.kord.common.entity/OnboardingPromptType // dev.kord.rest.builder.guild/OnboardingPromptBuilder.type.|(){}[0] final fun (dev.kord.common.entity/OnboardingPromptType) // dev.kord.rest.builder.guild/OnboardingPromptBuilder.type.|(dev.kord.common.entity.OnboardingPromptType){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/OnboardingPromptBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/OnboardingPromptBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/OnboardingPromptRequest // dev.kord.rest.builder.guild/OnboardingPromptBuilder.toRequest|toRequest(){}[0] } @@ -1972,6 +2093,8 @@ final class dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder : dev.kord final fun (): kotlin/String // dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder.title.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder.title.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/OnboardingPromptOptionRequest // dev.kord.rest.builder.guild/OnboardingPromptOptionBuilder.toRequest|toRequest(){}[0] } @@ -2009,6 +2132,8 @@ final class dev.kord.rest.builder.guild/ScheduledEventCreateBuilder : dev.kord.r final fun (): kotlinx.datetime/Instant // dev.kord.rest.builder.guild/ScheduledEventCreateBuilder.scheduledStartTime.|(){}[0] final fun (kotlinx.datetime/Instant) // dev.kord.rest.builder.guild/ScheduledEventCreateBuilder.scheduledStartTime.|(kotlinx.datetime.Instant){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/ScheduledEventCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/ScheduledEventCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildScheduledEventCreateRequest // dev.kord.rest.builder.guild/ScheduledEventCreateBuilder.toRequest|toRequest(){}[0] } @@ -2025,6 +2150,8 @@ final class dev.kord.rest.builder.guild/StickerModifyBuilder : dev.kord.rest.bui final fun (): kotlin/String? // dev.kord.rest.builder.guild/StickerModifyBuilder.tags.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.guild/StickerModifyBuilder.tags.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/StickerModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/StickerModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildStickerModifyRequest // dev.kord.rest.builder.guild/StickerModifyBuilder.toRequest|toRequest(){}[0] } @@ -2038,6 +2165,8 @@ final class dev.kord.rest.builder.guild/VoiceStateModifyBuilder : dev.kord.rest. final fun (): kotlin/Boolean? // dev.kord.rest.builder.guild/VoiceStateModifyBuilder.suppress.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.guild/VoiceStateModifyBuilder.suppress.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/VoiceStateModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/VoiceStateModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/VoiceStateModifyRequest // dev.kord.rest.builder.guild/VoiceStateModifyBuilder.toRequest|toRequest(){}[0] } @@ -2057,6 +2186,8 @@ final class dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder : dev.kord.r final fun (): kotlin/String? // dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder.emojiName.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder.emojiName.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.common.entity/DiscordWelcomeScreenChannel // dev.kord.rest.builder.guild/WelcomeScreenChannelBuilder.toRequest|toRequest(){}[0] } @@ -2076,6 +2207,8 @@ final class dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder : dev.kord.re final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.welcomeScreenChannels.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.welcomeScreenChannels.|(kotlin.collections.MutableList?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildWelcomeScreenModifyRequest // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.toRequest|toRequest(){}[0] final inline fun welcomeChannel(dev.kord.common.entity/Snowflake, kotlin/String, kotlin/Function1) // dev.kord.rest.builder.guild/WelcomeScreenModifyBuilder.welcomeChannel|welcomeChannel(dev.kord.common.entity.Snowflake;kotlin.String;kotlin.Function1){}[0] } @@ -2096,6 +2229,8 @@ final class dev.kord.rest.builder.integration/IntegrationModifyBuilder : dev.kor final fun (): kotlin/String? // dev.kord.rest.builder.integration/IntegrationModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.integration/IntegrationModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.integration/IntegrationModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.integration/IntegrationModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildIntegrationModifyRequest // dev.kord.rest.builder.integration/IntegrationModifyBuilder.toRequest|toRequest(){}[0] } @@ -2114,6 +2249,8 @@ final class dev.kord.rest.builder.interaction/ChannelBuilder : dev.kord.rest.bui final fun (): kotlin.collections/List? // dev.kord.rest.builder.interaction/ChannelBuilder.channelTypes.|(){}[0] final fun (kotlin.collections/List?) // dev.kord.rest.builder.interaction/ChannelBuilder.channelTypes.|(kotlin.collections.List?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/ChannelBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/ChannelBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/ChannelBuilder.toRequest|toRequest(){}[0] } @@ -2151,6 +2288,8 @@ final class dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl : dev.k final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.options.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.options.|(kotlin.collections.MutableList?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.builder.interaction/ChatInputCreateBuilderImpl.toRequest|toRequest(){}[0] } @@ -2185,6 +2324,8 @@ final class dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl : dev.k final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.options.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.options.|(kotlin.collections.MutableList?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.builder.interaction/ChatInputModifyBuilderImpl.toRequest|toRequest(){}[0] } @@ -2200,6 +2341,9 @@ final class dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder : dev.k final var nameLocalizations // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.nameLocalizations|{}nameLocalizations[0] final fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.nameLocalizations.|(){}[0] final fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.nameLocalizations.|(kotlin.collections.MutableMap?){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/ChoiceLocalizationsBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder : dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder { // dev.kord.rest.builder.interaction/GlobalMultiApplicationCommandBuilder|null[0] @@ -2259,6 +2403,8 @@ final class dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl : final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.nsfw.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.builder.interaction/MessageCommandCreateBuilderImpl.toRequest|toRequest(){}[0] } @@ -2284,6 +2430,8 @@ final class dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl : final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.nsfw.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.builder.interaction/MessageCommandModifyBuilderImpl.toRequest|toRequest(){}[0] } @@ -2300,6 +2448,8 @@ final class dev.kord.rest.builder.interaction/ModalBuilder : dev.kord.rest.build final fun (): kotlin/String // dev.kord.rest.builder.interaction/ModalBuilder.title.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.interaction/ModalBuilder.title.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/ModalBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/ModalBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.common.entity/DiscordModal // dev.kord.rest.builder.interaction/ModalBuilder.toRequest|toRequest(){}[0] final inline fun actionRow(kotlin/Function1) // dev.kord.rest.builder.interaction/ModalBuilder.actionRow|actionRow(kotlin.Function1){}[0] } @@ -2325,6 +2475,8 @@ final class dev.kord.rest.builder.interaction/StringChoiceBuilder : dev.kord.res final fun (kotlin/Int?) // dev.kord.rest.builder.interaction/StringChoiceBuilder.minLength.|(kotlin.Int?){}[0] final fun choice(kotlin/String, kotlin/String, dev.kord.common.entity.optional/Optional?>) // dev.kord.rest.builder.interaction/StringChoiceBuilder.choice|choice(kotlin.String;kotlin.String;dev.kord.common.entity.optional.Optional?>){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/StringChoiceBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/StringChoiceBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/StringChoiceBuilder.toRequest|toRequest(){}[0] } @@ -2361,6 +2513,8 @@ final class dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl : dev final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.nsfw.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandCreateRequest // dev.kord.rest.builder.interaction/UserCommandCreateBuilderImpl.toRequest|toRequest(){}[0] } @@ -2386,6 +2540,8 @@ final class dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl : dev final fun (): kotlin/Boolean? // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.nsfw.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.nsfw.|(kotlin.Boolean?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ApplicationCommandModifyRequest // dev.kord.rest.builder.interaction/UserCommandModifyBuilderImpl.toRequest|toRequest(){}[0] } @@ -2408,6 +2564,8 @@ final class dev.kord.rest.builder.member/MemberAddBuilder : dev.kord.rest.builde final fun (): kotlin/String // dev.kord.rest.builder.member/MemberAddBuilder.token.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.member/MemberAddBuilder.token.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.member/MemberAddBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.member/MemberAddBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildMemberAddRequest // dev.kord.rest.builder.member/MemberAddBuilder.toRequest|toRequest(){}[0] } @@ -2439,6 +2597,8 @@ final class dev.kord.rest.builder.member/MemberModifyBuilder : dev.kord.rest.bui final fun (): dev.kord.common.entity/Snowflake? // dev.kord.rest.builder.member/MemberModifyBuilder.voiceChannelId.|(){}[0] final fun (dev.kord.common.entity/Snowflake?) // dev.kord.rest.builder.member/MemberModifyBuilder.voiceChannelId.|(dev.kord.common.entity.Snowflake?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.member/MemberModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.member/MemberModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildMemberModifyRequest // dev.kord.rest.builder.member/MemberModifyBuilder.toRequest|toRequest(){}[0] } @@ -2448,6 +2608,8 @@ final class dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder : final val ephemeral // dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder.ephemeral|{}ephemeral[0] final fun (): kotlin/Boolean // dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder.ephemeral.|(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/MultipartFollowupMessageCreateRequest // dev.kord.rest.builder.message.create/FollowupMessageCreateBuilder.toRequest|toRequest(){}[0] } @@ -2458,6 +2620,8 @@ final class dev.kord.rest.builder.message.create/ForumMessageCreateBuilder : dev final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.message.create/ForumMessageCreateBuilder.stickerIds.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.message.create/ForumMessageCreateBuilder.stickerIds.|(kotlin.collections.MutableList?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/ForumMessageCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/ForumMessageCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/MultipartForumThreadMessageCreateRequest // dev.kord.rest.builder.message.create/ForumMessageCreateBuilder.toRequest|toRequest(){}[0] } @@ -2467,6 +2631,8 @@ final class dev.kord.rest.builder.message.create/InteractionResponseCreateBuilde final val ephemeral // dev.kord.rest.builder.message.create/InteractionResponseCreateBuilder.ephemeral|{}ephemeral[0] final fun (): kotlin/Boolean // dev.kord.rest.builder.message.create/InteractionResponseCreateBuilder.ephemeral.|(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/InteractionResponseCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/InteractionResponseCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/MultipartInteractionResponseCreateRequest // dev.kord.rest.builder.message.create/InteractionResponseCreateBuilder.toRequest|toRequest(){}[0] } @@ -2492,6 +2658,8 @@ final class dev.kord.rest.builder.message.create/UserMessageCreateBuilder : dev. final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.message.create/UserMessageCreateBuilder.stickerIds.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.message.create/UserMessageCreateBuilder.stickerIds.|(kotlin.collections.MutableList?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/UserMessageCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/UserMessageCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/MultipartMessageCreateRequest // dev.kord.rest.builder.message.create/UserMessageCreateBuilder.toRequest|toRequest(){}[0] } @@ -2511,6 +2679,8 @@ final class dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder : d final fun (): kotlin/String? // dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder.username.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder.username.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/MultiPartWebhookExecuteRequest // dev.kord.rest.builder.message.create/WebhookMessageCreateBuilder.toRequest|toRequest(){}[0] } @@ -2555,6 +2725,8 @@ final class dev.kord.rest.builder.message/AllowedMentionsBuilder { // dev.kord.r final fun (dev.kord.common.entity/AllowedMentionType).unaryPlus() // dev.kord.rest.builder.message/AllowedMentionsBuilder.unaryPlus|unaryPlus@dev.kord.common.entity.AllowedMentionType(){}[0] final fun add(dev.kord.common.entity/AllowedMentionType) // dev.kord.rest.builder.message/AllowedMentionsBuilder.add|add(dev.kord.common.entity.AllowedMentionType){}[0] final fun build(): dev.kord.common.entity/AllowedMentions // dev.kord.rest.builder.message/AllowedMentionsBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/AllowedMentionsBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/AllowedMentionsBuilder.hashCode|hashCode(){}[0] } final class dev.kord.rest.builder.message/AttachmentBuilder : dev.kord.rest.builder/RequestBuilder { // dev.kord.rest.builder.message/AttachmentBuilder|null[0] @@ -2567,6 +2739,8 @@ final class dev.kord.rest.builder.message/AttachmentBuilder : dev.kord.rest.buil final fun (): kotlin/String? // dev.kord.rest.builder.message/AttachmentBuilder.filename.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.message/AttachmentBuilder.filename.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/AttachmentBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/AttachmentBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/AttachmentRequest // dev.kord.rest.builder.message/AttachmentBuilder.toRequest|toRequest(){}[0] } @@ -2604,6 +2778,8 @@ final class dev.kord.rest.builder.message/EmbedBuilder : dev.kord.rest.builder/R final fun (): kotlin/String? // dev.kord.rest.builder.message/EmbedBuilder.url.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.message/EmbedBuilder.url.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/EmbedBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/EmbedBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmbedRequest // dev.kord.rest.builder.message/EmbedBuilder.toRequest|toRequest(){}[0] final inline fun author(kotlin/Function1) // dev.kord.rest.builder.message/EmbedBuilder.author|author(kotlin.Function1){}[0] final inline fun field(kotlin/Function1) // dev.kord.rest.builder.message/EmbedBuilder.field|field(kotlin.Function1){}[0] @@ -2624,6 +2800,8 @@ final class dev.kord.rest.builder.message/EmbedBuilder : dev.kord.rest.builder/R final fun (): kotlin/String? // dev.kord.rest.builder.message/EmbedBuilder.Author.url.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.message/EmbedBuilder.Author.url.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/EmbedBuilder.Author.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/EmbedBuilder.Author.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmbedAuthorRequest // dev.kord.rest.builder.message/EmbedBuilder.Author.toRequest|toRequest(){}[0] final object Limits { // dev.kord.rest.builder.message/EmbedBuilder.Author.Limits|null[0] @@ -2645,6 +2823,8 @@ final class dev.kord.rest.builder.message/EmbedBuilder : dev.kord.rest.builder/R final fun (): kotlin/String // dev.kord.rest.builder.message/EmbedBuilder.Field.value.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.message/EmbedBuilder.Field.value.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/EmbedBuilder.Field.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/EmbedBuilder.Field.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmbedFieldRequest // dev.kord.rest.builder.message/EmbedBuilder.Field.toRequest|toRequest(){}[0] final object Limits { // dev.kord.rest.builder.message/EmbedBuilder.Field.Limits|null[0] @@ -2665,6 +2845,8 @@ final class dev.kord.rest.builder.message/EmbedBuilder : dev.kord.rest.builder/R final fun (): kotlin/String // dev.kord.rest.builder.message/EmbedBuilder.Footer.text.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.message/EmbedBuilder.Footer.text.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/EmbedBuilder.Footer.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/EmbedBuilder.Footer.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmbedFooterRequest // dev.kord.rest.builder.message/EmbedBuilder.Footer.toRequest|toRequest(){}[0] final object Limits { // dev.kord.rest.builder.message/EmbedBuilder.Footer.Limits|null[0] @@ -2680,6 +2862,8 @@ final class dev.kord.rest.builder.message/EmbedBuilder : dev.kord.rest.builder/R final fun (): kotlin/String // dev.kord.rest.builder.message/EmbedBuilder.Thumbnail.url.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.message/EmbedBuilder.Thumbnail.url.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message/EmbedBuilder.Thumbnail.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.message/EmbedBuilder.Thumbnail.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/EmbedThumbnailRequest // dev.kord.rest.builder.message/EmbedBuilder.Thumbnail.toRequest|toRequest(){}[0] } @@ -2728,6 +2912,8 @@ final class dev.kord.rest.builder.role/RoleCreateBuilder : dev.kord.rest.builder final fun (): kotlin/String? // dev.kord.rest.builder.role/RoleCreateBuilder.unicodeEmoji.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.role/RoleCreateBuilder.unicodeEmoji.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.role/RoleCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.role/RoleCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildRoleCreateRequest // dev.kord.rest.builder.role/RoleCreateBuilder.toRequest|toRequest(){}[0] } @@ -2759,6 +2945,8 @@ final class dev.kord.rest.builder.role/RoleModifyBuilder : dev.kord.rest.builder final fun (): kotlin/String? // dev.kord.rest.builder.role/RoleModifyBuilder.unicodeEmoji.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.role/RoleModifyBuilder.unicodeEmoji.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.role/RoleModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.role/RoleModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildRoleModifyRequest // dev.kord.rest.builder.role/RoleModifyBuilder.toRequest|toRequest(){}[0] } @@ -2769,6 +2957,8 @@ final class dev.kord.rest.builder.role/RolePositionsModifyBuilder : dev.kord.res final fun (): kotlin/String? // dev.kord.rest.builder.role/RolePositionsModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.role/RolePositionsModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.role/RolePositionsModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.role/RolePositionsModifyBuilder.hashCode|hashCode(){}[0] final fun move(kotlin/Array>...) // dev.kord.rest.builder.role/RolePositionsModifyBuilder.move|move(kotlin.Array>...){}[0] final fun move(kotlin/Pair) // dev.kord.rest.builder.role/RolePositionsModifyBuilder.move|move(kotlin.Pair){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildRolePositionModifyRequest // dev.kord.rest.builder.role/RolePositionsModifyBuilder.toRequest|toRequest(){}[0] @@ -2811,6 +3001,8 @@ final class dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder : final fun (): dev.kord.common.entity/GuildScheduledEventStatus? // dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder.status.|(){}[0] final fun (dev.kord.common.entity/GuildScheduledEventStatus?) // dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder.status.|(dev.kord.common.entity.GuildScheduledEventStatus?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/ScheduledEventModifyRequest // dev.kord.rest.builder.scheduled_events/ScheduledEventModifyBuilder.toRequest|toRequest(){}[0] } @@ -2836,6 +3028,8 @@ final class dev.kord.rest.builder.stage/StageInstanceCreateBuilder : dev.kord.re final fun (): kotlin/String // dev.kord.rest.builder.stage/StageInstanceCreateBuilder.topic.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.stage/StageInstanceCreateBuilder.topic.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.stage/StageInstanceCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.stage/StageInstanceCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/StageInstanceCreateRequest // dev.kord.rest.builder.stage/StageInstanceCreateBuilder.toRequest|toRequest(){}[0] } @@ -2852,6 +3046,8 @@ final class dev.kord.rest.builder.stage/StageInstanceModifyBuilder : dev.kord.re final fun (): kotlin/String? // dev.kord.rest.builder.stage/StageInstanceModifyBuilder.topic.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.stage/StageInstanceModifyBuilder.topic.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.stage/StageInstanceModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.stage/StageInstanceModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/StageInstanceModifyRequest // dev.kord.rest.builder.stage/StageInstanceModifyBuilder.toRequest|toRequest(){}[0] } @@ -2865,6 +3061,8 @@ final class dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder : dev. final fun (): kotlin/String // dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder.name.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder.name.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildFromTemplateCreateRequest // dev.kord.rest.builder.template/GuildFromTemplateCreateBuilder.toRequest|toRequest(){}[0] } @@ -2878,6 +3076,8 @@ final class dev.kord.rest.builder.template/GuildTemplateCreateBuilder : dev.kord final fun (): kotlin/String // dev.kord.rest.builder.template/GuildTemplateCreateBuilder.name.|(){}[0] final fun (kotlin/String) // dev.kord.rest.builder.template/GuildTemplateCreateBuilder.name.|(kotlin.String){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.template/GuildTemplateCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.template/GuildTemplateCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildTemplateCreateRequest // dev.kord.rest.builder.template/GuildTemplateCreateBuilder.toRequest|toRequest(){}[0] } @@ -2891,6 +3091,8 @@ final class dev.kord.rest.builder.template/GuildTemplateModifyBuilder : dev.kord final fun (): kotlin/String? // dev.kord.rest.builder.template/GuildTemplateModifyBuilder.name.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.template/GuildTemplateModifyBuilder.name.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.template/GuildTemplateModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.template/GuildTemplateModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GuildTemplateModifyRequest // dev.kord.rest.builder.template/GuildTemplateModifyBuilder.toRequest|toRequest(){}[0] } @@ -2904,6 +3106,8 @@ final class dev.kord.rest.builder.user/CurrentUserModifyBuilder : dev.kord.rest. final fun (): kotlin/String? // dev.kord.rest.builder.user/CurrentUserModifyBuilder.username.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.user/CurrentUserModifyBuilder.username.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.user/CurrentUserModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.user/CurrentUserModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/CurrentUserModifyRequest // dev.kord.rest.builder.user/CurrentUserModifyBuilder.toRequest|toRequest(){}[0] } @@ -2915,6 +3119,8 @@ final class dev.kord.rest.builder.user/GroupDMCreateBuilder : dev.kord.rest.buil final val tokens // dev.kord.rest.builder.user/GroupDMCreateBuilder.tokens|{}tokens[0] final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.user/GroupDMCreateBuilder.tokens.|(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.user/GroupDMCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.user/GroupDMCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/GroupDMCreateRequest // dev.kord.rest.builder.user/GroupDMCreateBuilder.toRequest|toRequest(){}[0] } @@ -2931,6 +3137,8 @@ final class dev.kord.rest.builder.webhook/WebhookCreateBuilder : dev.kord.rest.b final fun (): kotlin/String? // dev.kord.rest.builder.webhook/WebhookCreateBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.webhook/WebhookCreateBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.webhook/WebhookCreateBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.webhook/WebhookCreateBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/WebhookCreateRequest // dev.kord.rest.builder.webhook/WebhookCreateBuilder.toRequest|toRequest(){}[0] } @@ -2950,6 +3158,8 @@ final class dev.kord.rest.builder.webhook/WebhookModifyBuilder : dev.kord.rest.b final fun (): kotlin/String? // dev.kord.rest.builder.webhook/WebhookModifyBuilder.reason.|(){}[0] final fun (kotlin/String?) // dev.kord.rest.builder.webhook/WebhookModifyBuilder.reason.|(kotlin.String?){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.webhook/WebhookModifyBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.webhook/WebhookModifyBuilder.hashCode|hashCode(){}[0] final fun toRequest(): dev.kord.rest.json.request/WebhookModifyRequest // dev.kord.rest.builder.webhook/WebhookModifyBuilder.toRequest|toRequest(){}[0] } @@ -6993,6 +7203,8 @@ sealed class <#A: kotlin/Any?, #B: dev.kord.common.entity/Choice> dev.kord.rest. abstract fun choice(kotlin/String, #A, dev.kord.common.entity.optional/Optional?> = ...) // dev.kord.rest.builder.interaction/BaseChoiceBuilder.choice|choice(kotlin.String;1:0;dev.kord.common.entity.optional.Optional?>){}[0] final inline fun choice(kotlin/String, #A, kotlin/Function1) // dev.kord.rest.builder.interaction/BaseChoiceBuilder.choice|choice(kotlin.String;1:0;kotlin.Function1){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/BaseChoiceBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/BaseChoiceBuilder.hashCode|hashCode(){}[0] open fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/BaseChoiceBuilder.toRequest|toRequest(){}[0] } @@ -7422,6 +7634,8 @@ sealed class <#A: kotlin/Number, #B: dev.kord.common.entity/Choice> dev.kord.res final fun (): #A? // dev.kord.rest.builder.interaction/NumericOptionBuilder.minValue.|(){}[0] final fun (#A?) // dev.kord.rest.builder.interaction/NumericOptionBuilder.minValue.|(1:0?){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/NumericOptionBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/NumericOptionBuilder.hashCode|hashCode(){}[0] open fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/NumericOptionBuilder.toRequest|toRequest(){}[0] } @@ -7433,6 +7647,8 @@ sealed class dev.kord.rest.builder.automoderation/AutoModerationActionBuilder : final fun toRequest(): dev.kord.common.entity/DiscordAutoModerationAction // dev.kord.rest.builder.automoderation/AutoModerationActionBuilder.toRequest|toRequest(){}[0] open fun buildMetadata(): dev.kord.common.entity.optional/Optional // dev.kord.rest.builder.automoderation/AutoModerationActionBuilder.buildMetadata|buildMetadata(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/AutoModerationActionBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/AutoModerationActionBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder : dev.kord.rest.builder.automoderation/TypedAutoModerationRuleBuilder, dev.kord.rest.builder/AuditRequestBuilder { // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder|null[0] @@ -7465,6 +7681,8 @@ sealed class dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilde final fun assignName(kotlin/String) // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder.assignName|assignName(kotlin.String){}[0] final fun toRequest(): dev.kord.rest.json.request/AutoModerationRuleCreateRequest // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder.toRequest|toRequest(){}[0] open fun buildTriggerMetadata(): dev.kord.common.entity.optional/Optional // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder.buildTriggerMetadata|buildTriggerMetadata(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/AutoModerationRuleCreateBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder : dev.kord.rest.builder.automoderation/AutoModerationRuleBuilder, dev.kord.rest.builder/AuditRequestBuilder { // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder|null[0] @@ -7497,6 +7715,8 @@ sealed class dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilde final fun assignName(kotlin/String) // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder.assignName|assignName(kotlin.String){}[0] final fun toRequest(): dev.kord.rest.json.request/AutoModerationRuleModifyRequest // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder.toRequest|toRequest(){}[0] open fun buildTriggerMetadata(): dev.kord.common.entity.optional/Optional // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder.buildTriggerMetadata|buildTriggerMetadata(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.automoderation/AutoModerationRuleModifyBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.component/ActionRowComponentBuilder : dev.kord.rest.builder.component/ComponentBuilder { // dev.kord.rest.builder.component/ActionRowComponentBuilder|null[0] @@ -7507,6 +7727,9 @@ sealed class dev.kord.rest.builder.component/ActionRowComponentBuilder : dev.kor final var disabled // dev.kord.rest.builder.component/ActionRowComponentBuilder.disabled|{}disabled[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.component/ActionRowComponentBuilder.disabled.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.component/ActionRowComponentBuilder.disabled.|(kotlin.Boolean?){}[0] + + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ActionRowComponentBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ActionRowComponentBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.component/ButtonBuilder : dev.kord.rest.builder.component/ActionRowComponentBuilder { // dev.kord.rest.builder.component/ButtonBuilder|null[0] @@ -7524,6 +7747,8 @@ sealed class dev.kord.rest.builder.component/ButtonBuilder : dev.kord.rest.build final fun (kotlin/String?) // dev.kord.rest.builder.component/ButtonBuilder.label.|(kotlin.String?){}[0] abstract fun build(): dev.kord.common.entity/DiscordChatComponent // dev.kord.rest.builder.component/ButtonBuilder.build|build(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ButtonBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ButtonBuilder.hashCode|hashCode(){}[0] final class InteractionButtonBuilder : dev.kord.rest.builder.component/ButtonBuilder { // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder|null[0] constructor (dev.kord.common.entity/ButtonStyle, kotlin/String) // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder.|(dev.kord.common.entity.ButtonStyle;kotlin.String){}[0] @@ -7536,6 +7761,8 @@ sealed class dev.kord.rest.builder.component/ButtonBuilder : dev.kord.rest.build final fun (dev.kord.common.entity/ButtonStyle) // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder.style.|(dev.kord.common.entity.ButtonStyle){}[0] final fun build(): dev.kord.common.entity/DiscordChatComponent // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ButtonBuilder.InteractionButtonBuilder.hashCode|hashCode(){}[0] } final class LinkButtonBuilder : dev.kord.rest.builder.component/ButtonBuilder { // dev.kord.rest.builder.component/ButtonBuilder.LinkButtonBuilder|null[0] @@ -7546,6 +7773,8 @@ sealed class dev.kord.rest.builder.component/ButtonBuilder : dev.kord.rest.build final fun (kotlin/String) // dev.kord.rest.builder.component/ButtonBuilder.LinkButtonBuilder.url.|(kotlin.String){}[0] final fun build(): dev.kord.common.entity/DiscordChatComponent // dev.kord.rest.builder.component/ButtonBuilder.LinkButtonBuilder.build|build(){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/ButtonBuilder.LinkButtonBuilder.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/ButtonBuilder.LinkButtonBuilder.hashCode|hashCode(){}[0] } } @@ -7569,6 +7798,8 @@ sealed class dev.kord.rest.builder.component/SelectMenuBuilder : dev.kord.rest.b open fun buildChannelTypes(): dev.kord.common.entity.optional/Optional> // dev.kord.rest.builder.component/SelectMenuBuilder.buildChannelTypes|buildChannelTypes(){}[0] open fun buildDefaultValues(): dev.kord.common.entity.optional/Optional> // dev.kord.rest.builder.component/SelectMenuBuilder.buildDefaultValues|buildDefaultValues(){}[0] open fun buildOptions(): dev.kord.common.entity.optional/Optional> // dev.kord.rest.builder.component/SelectMenuBuilder.buildOptions|buildOptions(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.component/SelectMenuBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.component/SelectMenuBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.interaction/BaseCommandOptionBuilder : dev.kord.rest.builder.interaction/OptionsBuilder { // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder|null[0] @@ -7578,6 +7809,8 @@ sealed class dev.kord.rest.builder.interaction/BaseCommandOptionBuilder : dev.ko final fun (): kotlin.collections/MutableList? // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder.options.|(){}[0] final fun (kotlin.collections/MutableList?) // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder.options.|(kotlin.collections.MutableList?){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder.hashCode|hashCode(){}[0] open fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/BaseCommandOptionBuilder.toRequest|toRequest(){}[0] } @@ -7588,6 +7821,8 @@ sealed class dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder { final fun (): kotlin.collections/MutableList // dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder.commands.|(){}[0] final fun build(): kotlin.collections/List // dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder.build|build(){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/MultiApplicationCommandBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.interaction/OptionsBuilder : dev.kord.rest.builder.interaction/LocalizedDescriptionCreateBuilder, dev.kord.rest.builder.interaction/LocalizedNameCreateBuilder, dev.kord.rest.builder/RequestBuilder { // dev.kord.rest.builder.interaction/OptionsBuilder|null[0] @@ -7618,6 +7853,8 @@ sealed class dev.kord.rest.builder.interaction/OptionsBuilder : dev.kord.rest.bu open fun (): kotlin.collections/MutableMap? // dev.kord.rest.builder.interaction/OptionsBuilder.nameLocalizations.|(){}[0] open fun (kotlin.collections/MutableMap?) // dev.kord.rest.builder.interaction/OptionsBuilder.nameLocalizations.|(kotlin.collections.MutableMap?){}[0] + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.interaction/OptionsBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.interaction/OptionsBuilder.hashCode|hashCode(){}[0] open fun toRequest(): dev.kord.common.entity/ApplicationCommandOption // dev.kord.rest.builder.interaction/OptionsBuilder.toRequest|toRequest(){}[0] } @@ -7654,6 +7891,9 @@ sealed class dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder : final var tts // dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder.tts|{}tts[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder.tts.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder.tts.|(kotlin.Boolean?){}[0] + + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.create/AbstractMessageCreateBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder : dev.kord.rest.builder.message.modify/MessageModifyBuilder { // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder|null[0] @@ -7683,6 +7923,9 @@ sealed class dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder : final var suppressEmbeds // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder.suppressEmbeds|{}suppressEmbeds[0] final fun (): kotlin/Boolean? // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder.suppressEmbeds.|(){}[0] final fun (kotlin/Boolean?) // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder.suppressEmbeds.|(kotlin.Boolean?){}[0] + + open fun equals(kotlin/Any?): kotlin/Boolean // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder.equals|equals(kotlin.Any?){}[0] + open fun hashCode(): kotlin/Int // dev.kord.rest.builder.message.modify/AbstractMessageModifyBuilder.hashCode|hashCode(){}[0] } sealed class dev.kord.rest.ratelimit/RequestResponse { // dev.kord.rest.ratelimit/RequestResponse|null[0] diff --git a/rest/src/commonMain/kotlin/builder/application/ApplicationRoleConnectionMetadata.kt b/rest/src/commonMain/kotlin/builder/application/ApplicationRoleConnectionMetadata.kt index 9f923f85cf05..af65739a1e63 100644 --- a/rest/src/commonMain/kotlin/builder/application/ApplicationRoleConnectionMetadata.kt +++ b/rest/src/commonMain/kotlin/builder/application/ApplicationRoleConnectionMetadata.kt @@ -39,6 +39,20 @@ public class ApplicationRoleConnectionMetadataRecordsBuilder : } override fun toRequest(): List = records.map { it.toRequest() } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ApplicationRoleConnectionMetadataRecordsBuilder + + return records == other.records + } + + override fun hashCode(): Int { + return records.hashCode() + } + } @KordDsl @@ -69,4 +83,32 @@ public class ApplicationRoleConnectionMetadataBuilder( description = description, descriptionLocalizations = _descriptionLocalizations.mapCopy(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ApplicationRoleConnectionMetadataBuilder + + if (type != other.type) return false + if (key != other.key) return false + if (name != other.name) return false + if (description != other.description) return false + if (nameLocalizations != other.nameLocalizations) return false + if (descriptionLocalizations != other.descriptionLocalizations) return false + + return true + } + + override fun hashCode(): Int { + var result = type.hashCode() + result = 31 * result + key.hashCode() + result = 31 * result + name.hashCode() + result = 31 * result + description.hashCode() + result = 31 * result + (nameLocalizations?.hashCode() ?: 0) + result = 31 * result + (descriptionLocalizations?.hashCode() ?: 0) + return result + } + + } diff --git a/rest/src/commonMain/kotlin/builder/auditlog/AuditLogGetRequestBuilder.kt b/rest/src/commonMain/kotlin/builder/auditlog/AuditLogGetRequestBuilder.kt index 8a0db540533b..6d9e22dec121 100644 --- a/rest/src/commonMain/kotlin/builder/auditlog/AuditLogGetRequestBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/auditlog/AuditLogGetRequestBuilder.kt @@ -40,4 +40,29 @@ public class AuditLogGetRequestBuilder : RequestBuilder { public var limit: Int? = null override fun toRequest(): AuditLogGetRequest = AuditLogGetRequest(userId, action, before, after, limit) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AuditLogGetRequestBuilder + + if (userId != other.userId) return false + if (action != other.action) return false + if (before != other.before) return false + if (after != other.after) return false + if (limit != other.limit) return false + + return true + } + + override fun hashCode(): Int { + var result = userId?.hashCode() ?: 0 + result = 31 * result + (action?.hashCode() ?: 0) + result = 31 * result + (before?.hashCode() ?: 0) + result = 31 * result + (after?.hashCode() ?: 0) + result = 31 * result + (limit ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationActionBuilder.kt b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationActionBuilder.kt index 200c64afc390..1a4647d453ab 100644 --- a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationActionBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationActionBuilder.kt @@ -29,6 +29,20 @@ public sealed class AutoModerationActionBuilder : RequestBuilder = DiscordAutoModerationActionMetadata(channelId = channelId.optionalSnowflake()).optional() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as SendAlertMessageAutoModerationActionBuilder + + return channelId == other.channelId + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + channelId.hashCode() + return result + } + } /** An [AutoModerationActionBuilder] for building actions with type [Timeout]. */ @@ -79,4 +127,21 @@ public class TimeoutAutoModerationActionBuilder( override fun buildMetadata(): Optional.Value = DiscordAutoModerationActionMetadata(durationSeconds = duration.optional()).optional() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as TimeoutAutoModerationActionBuilder + + return duration == other.duration + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + duration.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleCreateBuilder.kt index 82acfabeb759..10d869f4c403 100644 --- a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleCreateBuilder.kt @@ -56,6 +56,35 @@ public sealed class AutoModerationRuleCreateBuilder( exemptRoles = _exemptRoles.mapCopy(), exemptChannels = _exemptChannels.mapCopy(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AutoModerationRuleCreateBuilder + + if (name != other.name) return false + if (eventType != other.eventType) return false + if (reason != other.reason) return false + if (actions != other.actions) return false + if (enabled != other.enabled) return false + if (exemptRoles != other.exemptRoles) return false + if (exemptChannels != other.exemptChannels) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + eventType.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + actions.hashCode() + result = 31 * result + (enabled?.hashCode() ?: 0) + result = 31 * result + (exemptRoles?.hashCode() ?: 0) + result = 31 * result + (exemptChannels?.hashCode() ?: 0) + return result + } + } /** A [KeywordAutoModerationRuleBuilder] for building [AutoModerationRuleCreateRequest]s. */ @@ -81,6 +110,29 @@ public class KeywordAutoModerationRuleCreateBuilder( regexPatterns = _regexPatterns.mapCopy(), allowList = _allowedKeywords.mapCopy(), ).optional() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as KeywordAutoModerationRuleCreateBuilder + + if (keywords != other.keywords) return false + if (regexPatterns != other.regexPatterns) return false + if (allowedKeywords != other.allowedKeywords) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (keywords?.hashCode() ?: 0) + result = 31 * result + (regexPatterns?.hashCode() ?: 0) + result = 31 * result + (allowedKeywords?.hashCode() ?: 0) + return result + } + } /** A [SpamAutoModerationRuleBuilder] for building [AutoModerationRuleCreateRequest]s. */ @@ -112,6 +164,27 @@ public class KeywordPresetAutoModerationRuleCreateBuilder( presets = presets.toList().optional(), allowList = _allowedKeywords.mapCopy(), ).optional() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as KeywordPresetAutoModerationRuleCreateBuilder + + if (presets != other.presets) return false + if (allowedKeywords != other.allowedKeywords) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + presets.hashCode() + result = 31 * result + (allowedKeywords?.hashCode() ?: 0) + return result + } + } /** A [MentionSpamAutoModerationRuleBuilder] for building [AutoModerationRuleCreateRequest]s. */ @@ -134,4 +207,25 @@ public class MentionSpamAutoModerationRuleCreateBuilder( mentionTotalLimit = _mentionLimit, mentionRaidProtectionEnabled = _mentionRaidProtectionEnabled, ).optional() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as MentionSpamAutoModerationRuleCreateBuilder + + if (mentionLimit != other.mentionLimit) return false + if (mentionRaidProtectionEnabled != other.mentionRaidProtectionEnabled) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (mentionLimit ?: 0) + result = 31 * result + (mentionRaidProtectionEnabled?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleModifyBuilder.kt index 0bbeb537c301..15450333d66d 100644 --- a/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/automoderation/AutoModerationRuleModifyBuilder.kt @@ -60,6 +60,35 @@ public sealed class AutoModerationRuleModifyBuilder : exemptRoles = _exemptRoles.mapCopy(), exemptChannels = _exemptChannels.mapCopy(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AutoModerationRuleModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (eventType != other.eventType) return false + if (actions != other.actions) return false + if (enabled != other.enabled) return false + if (exemptRoles != other.exemptRoles) return false + if (exemptChannels != other.exemptChannels) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (eventType?.hashCode() ?: 0) + result = 31 * result + (actions?.hashCode() ?: 0) + result = 31 * result + (enabled?.hashCode() ?: 0) + result = 31 * result + (exemptRoles?.hashCode() ?: 0) + result = 31 * result + (exemptChannels?.hashCode() ?: 0) + return result + } + } /** An [AutoModerationRuleModifyBuilder] with an always `null` [triggerType]. */ @@ -71,6 +100,23 @@ public class UntypedAutoModerationRuleModifyBuilder : AutoModerationRuleModifyBu * [trigger type][AutoModerationRuleTriggerType] based on the type system. */ override val triggerType: Nothing? get() = null + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as UntypedAutoModerationRuleModifyBuilder + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (triggerType?.hashCode() ?: 0) + return result + } + } /** A [KeywordAutoModerationRuleBuilder] for building [AutoModerationRuleModifyRequest]s. */ @@ -100,6 +146,29 @@ public class KeywordAutoModerationRuleModifyBuilder : ) } } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as KeywordAutoModerationRuleModifyBuilder + + if (keywords != other.keywords) return false + if (regexPatterns != other.regexPatterns) return false + if (allowedKeywords != other.allowedKeywords) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (keywords?.hashCode() ?: 0) + result = 31 * result + (regexPatterns?.hashCode() ?: 0) + result = 31 * result + (allowedKeywords?.hashCode() ?: 0) + return result + } + } /** A [SpamAutoModerationRuleBuilder] for building [AutoModerationRuleModifyRequest]s. */ @@ -136,6 +205,27 @@ public class KeywordPresetAutoModerationRuleModifyBuilder : ) } } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as KeywordPresetAutoModerationRuleModifyBuilder + + if (presets != other.presets) return false + if (allowedKeywords != other.allowedKeywords) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (presets?.hashCode() ?: 0) + result = 31 * result + (allowedKeywords?.hashCode() ?: 0) + return result + } + } /** A [MentionSpamAutoModerationRuleBuilder] for building [AutoModerationRuleModifyRequest]s. */ @@ -162,6 +252,27 @@ public class MentionSpamAutoModerationRuleModifyBuilder : Optional.Missing() } } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as MentionSpamAutoModerationRuleModifyBuilder + + if (mentionLimit != other.mentionLimit) return false + if (mentionRaidProtectionEnabled != other.mentionRaidProtectionEnabled) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (mentionLimit ?: 0) + result = 31 * result + (mentionRaidProtectionEnabled?.hashCode() ?: 0) + return result + } + } private inline fun ifAnyPresent(vararg optionals: Optional<*>, block: () -> T): Optional { diff --git a/rest/src/commonMain/kotlin/builder/ban/BanCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/ban/BanCreateBuilder.kt index 415f164c5850..84bce19bfe85 100644 --- a/rest/src/commonMain/kotlin/builder/ban/BanCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/ban/BanCreateBuilder.kt @@ -20,4 +20,23 @@ public class BanCreateBuilder : AuditRequestBuilder { override fun toRequest(): GuildBanCreateRequest = GuildBanCreateRequest( deleteMessageSeconds = _deleteMessageDuration, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as BanCreateBuilder + + if (reason != other.reason) return false + if (deleteMessageDuration != other.deleteMessageDuration) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (deleteMessageDuration?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/CategoryCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/CategoryCreateBuilder.kt index de4db34993d9..292e1ff16437 100644 --- a/rest/src/commonMain/kotlin/builder/channel/CategoryCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/CategoryCreateBuilder.kt @@ -31,4 +31,29 @@ public class CategoryCreateBuilder( permissionOverwrite = Optional.missingOnEmpty(permissionOverwrites), type = ChannelType.GuildCategory ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as CategoryCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (position != other.position) return false + if (nsfw != other.nsfw) return false + if (permissionOverwrites != other.permissionOverwrites) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/CategoryModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/CategoryModifyBuilder.kt index 796f40779743..954e0205159b 100644 --- a/rest/src/commonMain/kotlin/builder/channel/CategoryModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/CategoryModifyBuilder.kt @@ -39,4 +39,27 @@ public class CategoryModifyBuilder : PermissionOverwritesModifyBuilder, AuditReq position = _position, permissionOverwrites = _permissionOverwrites ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as CategoryModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (position != other.position) return false + if (permissionOverwrites != other.permissionOverwrites) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/ChannelPermissionModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/ChannelPermissionModifyBuilder.kt index 4aa504f04791..841789c2ecf1 100644 --- a/rest/src/commonMain/kotlin/builder/channel/ChannelPermissionModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/ChannelPermissionModifyBuilder.kt @@ -24,4 +24,26 @@ public class ChannelPermissionModifyBuilder(private var type: OverwriteType) : override fun toRequest(): ChannelPermissionEditRequest = ChannelPermissionEditRequest(allowed, denied, type) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ChannelPermissionModifyBuilder + + if (type != other.type) return false + if (reason != other.reason) return false + if (allowed != other.allowed) return false + if (denied != other.denied) return false + + return true + } + + override fun hashCode(): Int { + var result = type.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + allowed.hashCode() + result = 31 * result + denied.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/EditGuildChannelBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/EditGuildChannelBuilder.kt index 35f79a06bd32..1c0fb1398555 100644 --- a/rest/src/commonMain/kotlin/builder/channel/EditGuildChannelBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/EditGuildChannelBuilder.kt @@ -59,6 +59,41 @@ public class TextChannelModifyBuilder : PermissionOverwritesModifyBuilder, defaultAutoArchiveDuration = _defaultAutoArchiveDuration, defaultThreadRateLimitPerUser = _defaultThreadRateLimitPerUser, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as TextChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -148,6 +183,54 @@ public class ForumChannelModifyBuilder : PermissionOverwritesModifyBuilder, flags = _flags ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ForumChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (flags != other.flags) return false + if (defaultReactionEmoji != other.defaultReactionEmoji) return false + if (defaultReactionEmojiId != other.defaultReactionEmojiId) return false + if (defaultReactionEmojiName != other.defaultReactionEmojiName) return false + if (availableTags != other.availableTags) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + if (defaultSortOrder != other.defaultSortOrder) return false + if (defaultForumLayout != other.defaultForumLayout) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmoji?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiId?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiName?.hashCode() ?: 0) + result = 31 * result + (availableTags?.hashCode() ?: 0) + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (defaultSortOrder?.hashCode() ?: 0) + result = 31 * result + (defaultForumLayout?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -229,6 +312,53 @@ public class MediaChannelModifyBuilder : PermissionOverwritesModifyBuilder, defaultSortOrder = _defaultSortOrder, flags = _flags ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as MediaChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (flags != other.flags) return false + if (defaultReactionEmoji != other.defaultReactionEmoji) return false + if (defaultReactionEmojiId != other.defaultReactionEmojiId) return false + if (defaultReactionEmojiName != other.defaultReactionEmojiName) return false + if (availableTags != other.availableTags) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + if (defaultSortOrder != other.defaultSortOrder) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmoji?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiId?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiName?.hashCode() ?: 0) + result = 31 * result + (availableTags?.hashCode() ?: 0) + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (defaultSortOrder?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -281,8 +411,43 @@ public class VoiceChannelModifyBuilder : PermissionOverwritesModifyBuilder, videoQualityMode = _videoQualityMode, ) -} + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as VoiceChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (rtcRegion != other.rtcRegion) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (bitrate != other.bitrate) return false + if (userLimit != other.userLimit) return false + if (videoQualityMode != other.videoQualityMode) return false + + return true + } + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (rtcRegion?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (bitrate ?: 0) + result = 31 * result + (userLimit ?: 0) + result = 31 * result + (videoQualityMode?.hashCode() ?: 0) + return result + } + +} @KordDsl public class StageVoiceChannelModifyBuilder : PermissionOverwritesModifyBuilder, @@ -320,6 +485,36 @@ public class StageVoiceChannelModifyBuilder : PermissionOverwritesModifyBuilder, rtcRegion = _rtcRegion, ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StageVoiceChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (rtcRegion != other.rtcRegion) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (parentId != other.parentId) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (bitrate != other.bitrate) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (rtcRegion?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (bitrate ?: 0) + return result + } + } @KordDsl @@ -366,4 +561,37 @@ public class NewsChannelModifyBuilder : PermissionOverwritesModifyBuilder, permissionOverwrites = _permissionOverwrites, defaultAutoArchiveDuration = _defaultAutoArchiveDuration, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as NewsChannelModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (position != other.position) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (permissionOverwrites?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/ForumChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/ForumChannelCreateBuilder.kt index 00d58a8a6d8a..09d85f3601f8 100644 --- a/rest/src/commonMain/kotlin/builder/channel/ForumChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/ForumChannelCreateBuilder.kt @@ -96,6 +96,55 @@ public class ForumChannelCreateBuilder(public var name: String) : flags = _flags, defaultForumLayout = _defaultForumLayout, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ForumChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (topic != other.topic) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (position != other.position) return false + if (parentId != other.parentId) return false + if (nsfw != other.nsfw) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultReactionEmoji != other.defaultReactionEmoji) return false + if (defaultReactionEmojiId != other.defaultReactionEmojiId) return false + if (defaultReactionEmojiName != other.defaultReactionEmojiName) return false + if (availableTags != other.availableTags) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + if (defaultSortOrder != other.defaultSortOrder) return false + if (defaultForumLayout != other.defaultForumLayout) return false + if (flags != other.flags) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + result = 31 * result + (defaultReactionEmoji?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiId?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiName?.hashCode() ?: 0) + result = 31 * result + (availableTags?.hashCode() ?: 0) + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (defaultSortOrder?.hashCode() ?: 0) + result = 31 * result + (defaultForumLayout?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -117,4 +166,27 @@ public class ForumTagBuilder(public var name: String) : RequestBuilder { targetApplicationId = _targetApplicationId, ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as InviteCreateBuilder + + if (reason != other.reason) return false + if (maxAge != other.maxAge) return false + if (maxUses != other.maxUses) return false + if (temporary != other.temporary) return false + if (unique != other.unique) return false + if (targetType != other.targetType) return false + if (targetUserId != other.targetUserId) return false + if (targetApplicationId != other.targetApplicationId) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (maxAge?.hashCode() ?: 0) + result = 31 * result + (maxUses ?: 0) + result = 31 * result + (temporary?.hashCode() ?: 0) + result = 31 * result + (unique?.hashCode() ?: 0) + result = 31 * result + (targetType?.hashCode() ?: 0) + result = 31 * result + (targetUserId?.hashCode() ?: 0) + result = 31 * result + (targetApplicationId?.hashCode() ?: 0) + return result + } + } private inline val OptionalSnowflake.isMissing get() = this == OptionalSnowflake.Missing diff --git a/rest/src/commonMain/kotlin/builder/channel/MediaChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/MediaChannelCreateBuilder.kt index 1e64fbedcf17..fdad7f83f7ba 100644 --- a/rest/src/commonMain/kotlin/builder/channel/MediaChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/MediaChannelCreateBuilder.kt @@ -91,4 +91,51 @@ public class MediaChannelCreateBuilder(public var name: String) : defaultSortOrder = _defaultSortOrder, flags = _flags, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as MediaChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (topic != other.topic) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (position != other.position) return false + if (parentId != other.parentId) return false + if (nsfw != other.nsfw) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultReactionEmoji != other.defaultReactionEmoji) return false + if (defaultReactionEmojiId != other.defaultReactionEmojiId) return false + if (defaultReactionEmojiName != other.defaultReactionEmojiName) return false + if (availableTags != other.availableTags) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + if (defaultSortOrder != other.defaultSortOrder) return false + if (flags != other.flags) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + result = 31 * result + (defaultReactionEmoji?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiId?.hashCode() ?: 0) + result = 31 * result + (defaultReactionEmojiName?.hashCode() ?: 0) + result = 31 * result + (availableTags?.hashCode() ?: 0) + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (defaultSortOrder?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/NewsChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/NewsChannelCreateBuilder.kt index 39496a955e21..ef3ccaa2d4c6 100644 --- a/rest/src/commonMain/kotlin/builder/channel/NewsChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/NewsChannelCreateBuilder.kt @@ -51,4 +51,35 @@ public class NewsChannelCreateBuilder(public var name: String) : type = ChannelType.GuildNews, defaultAutoArchiveDuration = _defaultAutoArchiveDuration, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as NewsChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (topic != other.topic) return false + if (nsfw != other.nsfw) return false + if (parentId != other.parentId) return false + if (position != other.position) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (permissionOverwrites != other.permissionOverwrites) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/PermissionOverwriteBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/PermissionOverwriteBuilder.kt index 1ec435ce96fe..17715d4ca2b6 100644 --- a/rest/src/commonMain/kotlin/builder/channel/PermissionOverwriteBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/PermissionOverwriteBuilder.kt @@ -12,4 +12,27 @@ public class PermissionOverwriteBuilder(private val type: OverwriteType, private public var denied: Permissions = Permissions() public fun toOverwrite(): Overwrite = Overwrite(id = id, allow = allowed, deny = denied, type = type) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as PermissionOverwriteBuilder + + if (type != other.type) return false + if (id != other.id) return false + if (allowed != other.allowed) return false + if (denied != other.denied) return false + + return true + } + + override fun hashCode(): Int { + var result = type.hashCode() + result = 31 * result + id.hashCode() + result = 31 * result + allowed.hashCode() + result = 31 * result + denied.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/StageChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/StageChannelCreateBuilder.kt index afd25c4155b4..4ce56d73ccf4 100644 --- a/rest/src/commonMain/kotlin/builder/channel/StageChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/StageChannelCreateBuilder.kt @@ -50,4 +50,37 @@ public class StageChannelCreateBuilder(public var name: String) : parentId = _parentId, nsfw = _nsfw ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StageChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (bitrate != other.bitrate) return false + if (userLimit != other.userLimit) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (position != other.position) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (parentId != other.parentId) return false + if (nsfw != other.nsfw) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (bitrate ?: 0) + result = 31 * result + (userLimit ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/TextChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/TextChannelCreateBuilder.kt index c42cb1439d3a..00498a367048 100644 --- a/rest/src/commonMain/kotlin/builder/channel/TextChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/TextChannelCreateBuilder.kt @@ -60,4 +60,39 @@ public class TextChannelCreateBuilder(public var name: String) : defaultAutoArchiveDuration = _defaultAutoArchiveDuration, defaultThreadRateLimitPerUser = _defaultThreadRateLimitPerUser ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as TextChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (topic != other.topic) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (position != other.position) return false + if (parentId != other.parentId) return false + if (nsfw != other.nsfw) return false + if (defaultAutoArchiveDuration != other.defaultAutoArchiveDuration) return false + if (permissionOverwrites != other.permissionOverwrites) return false + if (defaultThreadRateLimitPerUser != other.defaultThreadRateLimitPerUser) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (topic?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (defaultAutoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + result = 31 * result + (defaultThreadRateLimitPerUser?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/VoiceChannelCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/VoiceChannelCreateBuilder.kt index abefd80078f2..bf72303ea7d4 100644 --- a/rest/src/commonMain/kotlin/builder/channel/VoiceChannelCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/VoiceChannelCreateBuilder.kt @@ -45,4 +45,35 @@ public class VoiceChannelCreateBuilder(public var name: String) : permissionOverwrite = Optional.missingOnEmpty(permissionOverwrites), type = ChannelType.GuildVoice ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as VoiceChannelCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (bitrate != other.bitrate) return false + if (userLimit != other.userLimit) return false + if (parentId != other.parentId) return false + if (nsfw != other.nsfw) return false + if (position != other.position) return false + if (permissionOverwrites != other.permissionOverwrites) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (bitrate ?: 0) + result = 31 * result + (userLimit ?: 0) + result = 31 * result + (parentId?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + result = 31 * result + (position ?: 0) + result = 31 * result + permissionOverwrites.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/thread/StartForumThreadBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/thread/StartForumThreadBuilder.kt index b0836b51d7aa..86c7bd9af072 100644 --- a/rest/src/commonMain/kotlin/builder/channel/thread/StartForumThreadBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/thread/StartForumThreadBuilder.kt @@ -51,6 +51,33 @@ public class StartForumThreadBuilder(public var name: String) : AuditRequestBuil files = messageRequest.files, ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StartForumThreadBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (autoArchiveDuration != other.autoArchiveDuration) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (appliedTags != other.appliedTags) return false + if (message != other.message) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (autoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (appliedTags?.hashCode() ?: 0) + result = 31 * result + message.hashCode() + return result + } + } /** Add a [tagId] to [appliedTags][StartForumThreadBuilder.appliedTags]. */ diff --git a/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadBuilder.kt index 072ed20c2fe3..e385f3782304 100644 --- a/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadBuilder.kt @@ -37,4 +37,31 @@ public class StartThreadBuilder( rateLimitPerUser = _rateLimitPerUser ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StartThreadBuilder + + if (name != other.name) return false + if (type != other.type) return false + if (reason != other.reason) return false + if (autoArchiveDuration != other.autoArchiveDuration) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + if (invitable != other.invitable) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (autoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + result = 31 * result + (invitable?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadWithMessageBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadWithMessageBuilder.kt index bd119775072a..8a9832045324 100644 --- a/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadWithMessageBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/thread/StartThreadWithMessageBuilder.kt @@ -26,4 +26,27 @@ public class StartThreadWithMessageBuilder(public var name: String) : AuditReque rateLimitPerUser = _rateLimitPerUser ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StartThreadWithMessageBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (autoArchiveDuration != other.autoArchiveDuration) return false + if (rateLimitPerUser != other.rateLimitPerUser) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (autoArchiveDuration?.hashCode() ?: 0) + result = 31 * result + (rateLimitPerUser?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/channel/thread/ThreadModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/channel/thread/ThreadModifyBuilder.kt index 415a880985d7..e61d3092ce00 100644 --- a/rest/src/commonMain/kotlin/builder/channel/thread/ThreadModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/channel/thread/ThreadModifyBuilder.kt @@ -38,6 +38,8 @@ public class ThreadModifyBuilder : AuditRequestBuilder> = Optional.Missing() public var appliedTags: MutableList? by ::_appliedTags.delegate() + override var reason: String? = null + override fun toRequest(): ChannelModifyPatchRequest { return ChannelModifyPatchRequest( name = _name, @@ -51,7 +53,38 @@ public class ThreadModifyBuilder : AuditRequestBuilder = mutableListOf() override fun buildOptions(): Optional> = Optional(options.map { it.build() }) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as StringSelectBuilder + + if (type != other.type) return false + if (options != other.options) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + options.hashCode() + return result + } + } /** @@ -92,6 +138,27 @@ public class UserSelectBuilder(customId: String) : SelectMenuBuilder(customId) { override fun buildDefaultValues(): Optional> = Optional.missingOnEmpty(defaultUsers.map { id -> DiscordSelectDefaultValue(id, type = User) }) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as UserSelectBuilder + + if (type != other.type) return false + if (defaultUsers != other.defaultUsers) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + defaultUsers.hashCode() + return result + } + } @KordDsl @@ -107,6 +174,27 @@ public class RoleSelectBuilder(customId: String) : SelectMenuBuilder(customId) { override fun buildDefaultValues(): Optional> = Optional.missingOnEmpty(defaultRoles.map { id -> DiscordSelectDefaultValue(id, type = Role) }) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as RoleSelectBuilder + + if (type != other.type) return false + if (defaultRoles != other.defaultRoles) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + defaultRoles.hashCode() + return result + } + } @KordDsl @@ -131,6 +219,29 @@ public class MentionableSelectBuilder(customId: String) : SelectMenuBuilder(cust defaultUsers.map { id -> DiscordSelectDefaultValue(id, type = User) } + defaultRoles.map { id -> DiscordSelectDefaultValue(id, type = Role) } ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as MentionableSelectBuilder + + if (type != other.type) return false + if (defaultUsers != other.defaultUsers) return false + if (defaultRoles != other.defaultRoles) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + defaultUsers.hashCode() + result = 31 * result + defaultRoles.hashCode() + return result + } + } @KordDsl @@ -150,6 +261,29 @@ public class ChannelSelectBuilder(customId: String) : SelectMenuBuilder(customId override fun buildChannelTypes(): Optional> = _channelTypes.mapCopy() override fun buildDefaultValues(): Optional> = Optional.missingOnEmpty(defaultChannels.map { id -> DiscordSelectDefaultValue(id, type = Channel) }) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as ChannelSelectBuilder + + if (type != other.type) return false + if (channelTypes != other.channelTypes) return false + if (defaultChannels != other.defaultChannels) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + (channelTypes?.hashCode() ?: 0) + result = 31 * result + defaultChannels.hashCode() + return result + } + } public fun ChannelSelectBuilder.channelType(type: ChannelType) { diff --git a/rest/src/commonMain/kotlin/builder/component/SelectOptionBuilder.kt b/rest/src/commonMain/kotlin/builder/component/SelectOptionBuilder.kt index 3e8ebe8241e9..c7c51efbbc5b 100644 --- a/rest/src/commonMain/kotlin/builder/component/SelectOptionBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/component/SelectOptionBuilder.kt @@ -50,4 +50,28 @@ public class SelectOptionBuilder( default = _default ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as SelectOptionBuilder + + if (label != other.label) return false + if (value != other.value) return false + if (description != other.description) return false + if (emoji != other.emoji) return false + if (default != other.default) return false + + return true + } + + override fun hashCode(): Int { + var result = label.hashCode() + result = 31 * result + value.hashCode() + result = 31 * result + (description?.hashCode() ?: 0) + result = 31 * result + (emoji?.hashCode() ?: 0) + result = 31 * result + (default?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/component/TextInputBuilder.kt b/rest/src/commonMain/kotlin/builder/component/TextInputBuilder.kt index 3a2bfcaf30e7..c49a65ec2666 100644 --- a/rest/src/commonMain/kotlin/builder/component/TextInputBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/component/TextInputBuilder.kt @@ -61,4 +61,35 @@ public class TextInputBuilder( required = _required, ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as TextInputBuilder + + if (style != other.style) return false + if (customId != other.customId) return false + if (label != other.label) return false + if (allowedLength != other.allowedLength) return false + if (placeholder != other.placeholder) return false + if (value != other.value) return false + if (required != other.required) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + style.hashCode() + result = 31 * result + customId.hashCode() + result = 31 * result + label.hashCode() + result = 31 * result + (allowedLength?.hashCode() ?: 0) + result = 31 * result + (placeholder?.hashCode() ?: 0) + result = 31 * result + (value?.hashCode() ?: 0) + result = 31 * result + (required?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/guild/EmojiCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/EmojiCreateBuilder.kt index 9f786866f003..e0f93657dfb7 100644 --- a/rest/src/commonMain/kotlin/builder/guild/EmojiCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/EmojiCreateBuilder.kt @@ -20,4 +20,27 @@ public class EmojiCreateBuilder( image = image.dataUri, roles = roles ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as EmojiCreateBuilder + + if (name != other.name) return false + if (image != other.image) return false + if (reason != other.reason) return false + if (roles != other.roles) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + image.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + roles.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt index 3a3aad2f6952..6fae2c7f668f 100644 --- a/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/EmojiModifyBuilder.kt @@ -21,4 +21,25 @@ public class EmojiModifyBuilder : AuditRequestBuilder { name = _name, roles = _roles ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as EmojiModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (roles != other.roles) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (roles?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/guild/GuildCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/GuildCreateBuilder.kt index 73724da7bd99..5c80881b498f 100644 --- a/rest/src/commonMain/kotlin/builder/guild/GuildCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/GuildCreateBuilder.kt @@ -176,4 +176,45 @@ public class GuildCreateBuilder(public var name: String) : RequestBuilder { features = _features, safetyAlertsChannelId = _safetyAlertsChannelId, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as GuildModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (region != other.region) return false + if (verificationLevel != other.verificationLevel) return false + if (notificationLevel != other.notificationLevel) return false + if (explicitContentFilter != other.explicitContentFilter) return false + if (afkChannelId != other.afkChannelId) return false + if (afkTimeout != other.afkTimeout) return false + if (icon != other.icon) return false + if (ownerId != other.ownerId) return false + if (splash != other.splash) return false + if (banner != other.banner) return false + if (systemChannelId != other.systemChannelId) return false + if (rulesChannelId != other.rulesChannelId) return false + if (publicUpdatesChannelId != other.publicUpdatesChannelId) return false + if (preferredLocale != other.preferredLocale) return false + if (features != other.features) return false + if (safetyAlertsChannelId != other.safetyAlertsChannelId) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (region?.hashCode() ?: 0) + result = 31 * result + (verificationLevel?.hashCode() ?: 0) + result = 31 * result + (notificationLevel?.hashCode() ?: 0) + result = 31 * result + (explicitContentFilter?.hashCode() ?: 0) + result = 31 * result + (afkChannelId?.hashCode() ?: 0) + result = 31 * result + (afkTimeout?.hashCode() ?: 0) + result = 31 * result + (icon?.hashCode() ?: 0) + result = 31 * result + (ownerId?.hashCode() ?: 0) + result = 31 * result + (splash?.hashCode() ?: 0) + result = 31 * result + (banner?.hashCode() ?: 0) + result = 31 * result + (systemChannelId?.hashCode() ?: 0) + result = 31 * result + (rulesChannelId?.hashCode() ?: 0) + result = 31 * result + (publicUpdatesChannelId?.hashCode() ?: 0) + result = 31 * result + (preferredLocale?.hashCode() ?: 0) + result = 31 * result + (features?.hashCode() ?: 0) + result = 31 * result + (safetyAlertsChannelId?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/guild/GuildOnboardingModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/GuildOnboardingModifyBuilder.kt index ce531613f32f..5c9e7548204e 100644 --- a/rest/src/commonMain/kotlin/builder/guild/GuildOnboardingModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/GuildOnboardingModifyBuilder.kt @@ -47,6 +47,31 @@ public class GuildOnboardingModifyBuilder : AuditRequestBuilder { override fun toRequest(): GuildStickerModifyRequest { return GuildStickerModifyRequest(_name, _description, _tags) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as StickerModifyBuilder + + if (name != other.name) return false + if (description != other.description) return false + if (tags != other.tags) return false + + return true + } + + override fun hashCode(): Int { + var result = name?.hashCode() ?: 0 + result = 31 * result + (description?.hashCode() ?: 0) + result = 31 * result + (tags?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/guild/VoiceStateModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/guild/VoiceStateModifyBuilder.kt index 78927fda1de9..105ad603eeee 100644 --- a/rest/src/commonMain/kotlin/builder/guild/VoiceStateModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/guild/VoiceStateModifyBuilder.kt @@ -43,6 +43,27 @@ public class CurrentVoiceStateModifyBuilder : RequestBuilder { return commands.map { it.toRequest() } } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as MultiApplicationCommandBuilder + + return commands == other.commands + } + + override fun hashCode(): Int { + return commands.hashCode() + } + + } public inline fun MultiApplicationCommandBuilder.input( name: String, @@ -53,6 +68,7 @@ public class GlobalMultiApplicationCommandBuilder : MultiApplicationCommandBuild contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } commands += UserCommandCreateBuilderImpl(name).apply(builder) } + } @KordDsl @@ -72,4 +88,5 @@ public class GuildMultiApplicationCommandBuilder : MultiApplicationCommandBuilde contract { callsInPlace(builder, InvocationKind.EXACTLY_ONCE) } commands += UserCommandCreateBuilderImpl(name).apply(builder) } + } diff --git a/rest/src/commonMain/kotlin/builder/interaction/OptionsBuilder.kt b/rest/src/commonMain/kotlin/builder/interaction/OptionsBuilder.kt index 8facca17f8df..693a1f40ae98 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/OptionsBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/OptionsBuilder.kt @@ -51,6 +51,37 @@ public sealed class OptionsBuilder( _required, autocomplete = _autocomplete ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as OptionsBuilder + + if (name != other.name) return false + if (description != other.description) return false + if (type != other.type) return false + if (default != other.default) return false + if (nameLocalizations != other.nameLocalizations) return false + if (descriptionLocalizations != other.descriptionLocalizations) return false + if (required != other.required) return false + if (autocomplete != other.autocomplete) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + description.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + (default?.hashCode() ?: 0) + result = 31 * result + (nameLocalizations?.hashCode() ?: 0) + result = 31 * result + (descriptionLocalizations?.hashCode() ?: 0) + result = 31 * result + (required?.hashCode() ?: 0) + result = 31 * result + (autocomplete?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -86,6 +117,23 @@ public sealed class BaseChoiceBuilder( default = _default, autocomplete = _autocomplete, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as BaseChoiceBuilder<*, *> + + return choices == other.choices + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (choices?.hashCode() ?: 0) + return result + } + } /** @@ -99,6 +147,25 @@ public class ChoiceLocalizationsBuilder(override var name: String) : LocalizedNa @PublishedApi internal var _nameLocalizations: Optional?> = Optional.Missing() override var nameLocalizations: MutableMap? by ::_nameLocalizations.delegate() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as ChoiceLocalizationsBuilder + + if (name != other.name) return false + if (nameLocalizations != other.nameLocalizations) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (nameLocalizations?.hashCode() ?: 0) + return result + } + } /** @@ -138,6 +205,27 @@ public sealed class NumericOptionBuilder( minValue = _minValue.map { JsonPrimitive(it) }, maxValue = _maxValue.map { JsonPrimitive(it) }, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as NumericOptionBuilder<*, *> + + if (minValue != other.minValue) return false + if (maxValue != other.maxValue) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (minValue?.hashCode() ?: 0) + result = 31 * result + (maxValue?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -148,6 +236,7 @@ public class IntegerOptionBuilder(name: String, description: String) : if (choices == null) choices = mutableListOf() choices!!.add(Choice.IntegerChoice(name, nameLocalizations, value)) } + } @KordDsl @@ -197,6 +286,27 @@ public class StringChoiceBuilder(name: String, description: String) : minLength = _minLength, maxLength = _maxLength ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as StringChoiceBuilder + + if (minLength != other.minLength) return false + if (maxLength != other.maxLength) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (minLength ?: 0) + result = 31 * result + (maxLength ?: 0) + return result + } + } @KordDsl @@ -227,6 +337,23 @@ public class ChannelBuilder(name: String, description: String) : autocomplete = _autocomplete, channelTypes = _channelTypes ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as ChannelBuilder + + return channelTypes == other.channelTypes + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (channelTypes?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -255,6 +382,23 @@ public sealed class BaseCommandOptionBuilder( _descriptionLocalizations, options = _options.mapList { it.toRequest() } ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as BaseCommandOptionBuilder + + return options == other.options + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (options?.hashCode() ?: 0) + return result + } + } @KordDsl diff --git a/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt b/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt index 12a7383749bb..02cf9d788527 100644 --- a/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt +++ b/rest/src/commonMain/kotlin/builder/interaction/UserCommandBuilders.kt @@ -40,6 +40,33 @@ internal class UserCommandModifyBuilderImpl : GlobalUserCommandModifyBuilder { nsfw = state.nsfw, ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as UserCommandModifyBuilderImpl + + if (state != other.state) return false + if (name != other.name) return false + if (nameLocalizations != other.nameLocalizations) return false + if (defaultMemberPermissions != other.defaultMemberPermissions) return false + if (dmPermission != other.dmPermission) return false + if (nsfw != other.nsfw) return false + + return true + } + + override fun hashCode(): Int { + var result = state.hashCode() + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (nameLocalizations?.hashCode() ?: 0) + result = 31 * result + (defaultMemberPermissions?.hashCode() ?: 0) + result = 31 * result + (dmPermission?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + return result + } + } @KordDsl @@ -75,4 +102,33 @@ internal class UserCommandCreateBuilderImpl(override var name: String) : GlobalU nsfw = state.nsfw, ) } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as UserCommandCreateBuilderImpl + + if (name != other.name) return false + if (type != other.type) return false + if (state != other.state) return false + if (nameLocalizations != other.nameLocalizations) return false + if (defaultMemberPermissions != other.defaultMemberPermissions) return false + if (dmPermission != other.dmPermission) return false + if (nsfw != other.nsfw) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + type.hashCode() + result = 31 * result + state.hashCode() + result = 31 * result + (nameLocalizations?.hashCode() ?: 0) + result = 31 * result + (defaultMemberPermissions?.hashCode() ?: 0) + result = 31 * result + (dmPermission?.hashCode() ?: 0) + result = 31 * result + (nsfw?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/member/MemberAddBuilder.kt b/rest/src/commonMain/kotlin/builder/member/MemberAddBuilder.kt index 3d712595edb6..6cfea721b741 100644 --- a/rest/src/commonMain/kotlin/builder/member/MemberAddBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/member/MemberAddBuilder.kt @@ -26,4 +26,28 @@ public class MemberAddBuilder(public var token: String) : RequestBuilder communicationDisabledUntil = _communicationDisabledUntil, flags = _flags, ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as MemberModifyBuilder + + if (reason != other.reason) return false + if (voiceChannelId != other.voiceChannelId) return false + if (muted != other.muted) return false + if (deafened != other.deafened) return false + if (nickname != other.nickname) return false + if (communicationDisabledUntil != other.communicationDisabledUntil) return false + if (roles != other.roles) return false + if (flags != other.flags) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (voiceChannelId?.hashCode() ?: 0) + result = 31 * result + (muted?.hashCode() ?: 0) + result = 31 * result + (deafened?.hashCode() ?: 0) + result = 31 * result + (nickname?.hashCode() ?: 0) + result = 31 * result + (communicationDisabledUntil?.hashCode() ?: 0) + result = 31 * result + (roles?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/message/AllowedMentionsBuilder.kt b/rest/src/commonMain/kotlin/builder/message/AllowedMentionsBuilder.kt index 03ba459c0148..8c159fd03f94 100644 --- a/rest/src/commonMain/kotlin/builder/message/AllowedMentionsBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/AllowedMentionsBuilder.kt @@ -62,4 +62,27 @@ public class AllowedMentionsBuilder { repliedUser = _repliedUser ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AllowedMentionsBuilder + + if (roles != other.roles) return false + if (users != other.users) return false + if (types != other.types) return false + if (repliedUser != other.repliedUser) return false + + return true + } + + override fun hashCode(): Int { + var result = roles.hashCode() + result = 31 * result + users.hashCode() + result = 31 * result + types.hashCode() + result = 31 * result + (repliedUser?.hashCode() ?: 0) + return result + } + + } diff --git a/rest/src/commonMain/kotlin/builder/message/AttachmentBuilder.kt b/rest/src/commonMain/kotlin/builder/message/AttachmentBuilder.kt index 2d06065ad4f5..79313405ac51 100644 --- a/rest/src/commonMain/kotlin/builder/message/AttachmentBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/AttachmentBuilder.kt @@ -25,4 +25,25 @@ public class AttachmentBuilder(private val id: Snowflake) : RequestBuilder { Optional.missingOnEmpty(fields).mapList { it.toRequest() } ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as EmbedBuilder + + if (title != other.title) return false + if (description != other.description) return false + if (url != other.url) return false + if (timestamp != other.timestamp) return false + if (color != other.color) return false + if (image != other.image) return false + if (footer != other.footer) return false + if (thumbnail != other.thumbnail) return false + if (author != other.author) return false + if (fields != other.fields) return false + + return true + } + + override fun hashCode(): Int { + var result = title?.hashCode() ?: 0 + result = 31 * result + (description?.hashCode() ?: 0) + result = 31 * result + (url?.hashCode() ?: 0) + result = 31 * result + (timestamp?.hashCode() ?: 0) + result = 31 * result + (color?.hashCode() ?: 0) + result = 31 * result + (image?.hashCode() ?: 0) + result = 31 * result + (footer?.hashCode() ?: 0) + result = 31 * result + (thumbnail?.hashCode() ?: 0) + result = 31 * result + (author?.hashCode() ?: 0) + result = 31 * result + fields.hashCode() + return result + } + + @KordDsl public class Thumbnail : RequestBuilder { @@ -168,6 +203,21 @@ public class EmbedBuilder : RequestBuilder { public lateinit var url: String override fun toRequest(): EmbedThumbnailRequest = EmbedThumbnailRequest(url) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as Thumbnail + + if(!this::url.isInitialized && !other::url.isInitialized) return true + return url == other.url + } + + override fun hashCode(): Int { + return url.hashCode() + } + } @KordDsl @@ -185,6 +235,26 @@ public class EmbedBuilder : RequestBuilder { override fun toRequest(): EmbedFooterRequest = EmbedFooterRequest(text, icon) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as Footer + + if (icon != other.icon) return false + if (!this::text.isInitialized && !other::text.isInitialized) return true + if (text != other.text) return false + + return true + } + + override fun hashCode(): Int { + var result = text.hashCode() + result = 31 * result + (icon?.hashCode() ?: 0) + return result + } + + public object Limits { public const val text: Int = 2048 } @@ -217,6 +287,26 @@ public class EmbedBuilder : RequestBuilder { override fun toRequest(): EmbedAuthorRequest = EmbedAuthorRequest(_name, _url, _icon) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as Author + + if (name != other.name) return false + if (url != other.url) return false + if (icon != other.icon) return false + + return true + } + + override fun hashCode(): Int { + var result = name?.hashCode() ?: 0 + result = 31 * result + (url?.hashCode() ?: 0) + result = 31 * result + (icon?.hashCode() ?: 0) + return result + } + public object Limits { /** * The maximum length of the [Author.name] field. @@ -256,6 +346,27 @@ public class EmbedBuilder : RequestBuilder { override fun toRequest(): EmbedFieldRequest = EmbedFieldRequest(name, value, _inline) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as Field + + if (value != other.value) return false + if (name != other.name) return false + if (inline != other.inline) return false + + return true + } + + override fun hashCode(): Int { + var result = value.hashCode() + result = 31 * result + name.hashCode() + result = 31 * result + (inline?.hashCode() ?: 0) + return result + } + + public object Limits { /** * The maximum length of the [Field.name] field. diff --git a/rest/src/commonMain/kotlin/builder/message/create/FollowupMessageCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/FollowupMessageCreateBuilder.kt index a0e1e0df0bfa..284c5212be6b 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/FollowupMessageCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/FollowupMessageCreateBuilder.kt @@ -28,4 +28,21 @@ public class FollowupMessageCreateBuilder(public val ephemeral: Boolean) : ), files = files.toList(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as FollowupMessageCreateBuilder + + return ephemeral == other.ephemeral + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + ephemeral.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/message/create/ForumMessageCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/ForumMessageCreateBuilder.kt index fc2ac568bb9d..36fbd54e38b1 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/ForumMessageCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/ForumMessageCreateBuilder.kt @@ -36,6 +36,23 @@ public class ForumMessageCreateBuilder : ), files = files.toList(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as ForumMessageCreateBuilder + + return stickerIds == other.stickerIds + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (stickerIds?.hashCode() ?: 0) + return result + } + } /** Add a [stickerId] to [stickerIds][ForumMessageCreateBuilder.stickerIds]. */ diff --git a/rest/src/commonMain/kotlin/builder/message/create/InteractionResponseCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/InteractionResponseCreateBuilder.kt index 738948265361..c94d8aa0d4d9 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/InteractionResponseCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/InteractionResponseCreateBuilder.kt @@ -34,4 +34,21 @@ public class InteractionResponseCreateBuilder(public val ephemeral: Boolean = fa ), files = files.toList(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as InteractionResponseCreateBuilder + + return ephemeral == other.ephemeral + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + ephemeral.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/message/create/MessageCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/MessageCreateBuilder.kt index 5e4cd3087dc2..ef5ea344f77c 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/MessageCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/MessageCreateBuilder.kt @@ -63,4 +63,39 @@ public sealed class AbstractMessageCreateBuilder : MessageCreateBuilder { final override var flags: MessageFlags? = null final override var suppressEmbeds: Boolean? = null final override var suppressNotifications: Boolean? = null + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AbstractMessageCreateBuilder + + if (content != other.content) return false + if (tts != other.tts) return false + if (embeds != other.embeds) return false + if (allowedMentions != other.allowedMentions) return false + if (components != other.components) return false + if (files != other.files) return false + if (attachments != other.attachments) return false + if (flags != other.flags) return false + if (suppressEmbeds != other.suppressEmbeds) return false + if (suppressNotifications != other.suppressNotifications) return false + + return true + } + + override fun hashCode(): Int { + var result = content?.hashCode() ?: 0 + result = 31 * result + (tts?.hashCode() ?: 0) + result = 31 * result + (embeds?.hashCode() ?: 0) + result = 31 * result + (allowedMentions?.hashCode() ?: 0) + result = 31 * result + (components?.hashCode() ?: 0) + result = 31 * result + files.hashCode() + result = 31 * result + (attachments?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + result = 31 * result + (suppressEmbeds?.hashCode() ?: 0) + result = 31 * result + (suppressNotifications?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/message/create/UserMessageCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/UserMessageCreateBuilder.kt index bd13c9ebf974..2a35992b2211 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/UserMessageCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/UserMessageCreateBuilder.kt @@ -71,6 +71,31 @@ public class UserMessageCreateBuilder : AbstractMessageCreateBuilder(), RequestB ), files = files.toList(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as UserMessageCreateBuilder + + if (nonce != other.nonce) return false + if (messageReference != other.messageReference) return false + if (failIfNotExists != other.failIfNotExists) return false + if (stickerIds != other.stickerIds) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (nonce?.hashCode() ?: 0) + result = 31 * result + (messageReference?.hashCode() ?: 0) + result = 31 * result + (failIfNotExists?.hashCode() ?: 0) + result = 31 * result + (stickerIds?.hashCode() ?: 0) + return result + } + } /** Add a [stickerId] to [stickerIds][UserMessageCreateBuilder.stickerIds]. */ diff --git a/rest/src/commonMain/kotlin/builder/message/create/WebhookMessageCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/message/create/WebhookMessageCreateBuilder.kt index bdab731b9b83..7a582452ec8e 100644 --- a/rest/src/commonMain/kotlin/builder/message/create/WebhookMessageCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/create/WebhookMessageCreateBuilder.kt @@ -62,6 +62,31 @@ public class WebhookMessageCreateBuilder : ), files = files.toList(), ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + if (!super.equals(other)) return false + + other as WebhookMessageCreateBuilder + + if (username != other.username) return false + if (avatarUrl != other.avatarUrl) return false + if (threadName != other.threadName) return false + if (appliedTags != other.appliedTags) return false + + return true + } + + override fun hashCode(): Int { + var result = super.hashCode() + result = 31 * result + (username?.hashCode() ?: 0) + result = 31 * result + (avatarUrl?.hashCode() ?: 0) + result = 31 * result + (threadName?.hashCode() ?: 0) + result = 31 * result + (appliedTags?.hashCode() ?: 0) + return result + } + } /** Add a [tagId] to [appliedTags][WebhookMessageCreateBuilder.appliedTags]. */ diff --git a/rest/src/commonMain/kotlin/builder/message/modify/MessageModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/message/modify/MessageModifyBuilder.kt index 199e15535d3a..9624e4b3f91f 100644 --- a/rest/src/commonMain/kotlin/builder/message/modify/MessageModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/message/modify/MessageModifyBuilder.kt @@ -54,4 +54,35 @@ public sealed class AbstractMessageModifyBuilder : MessageModifyBuilder { internal var _attachments: Optional?> = Optional.Missing() final override var attachments: MutableList? by ::_attachments.delegate() + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as AbstractMessageModifyBuilder + + if (content != other.content) return false + if (embeds != other.embeds) return false + if (flags != other.flags) return false + if (suppressEmbeds != other.suppressEmbeds) return false + if (allowedMentions != other.allowedMentions) return false + if (components != other.components) return false + if (files != other.files) return false + if (attachments != other.attachments) return false + + return true + } + + override fun hashCode(): Int { + var result = content?.hashCode() ?: 0 + result = 31 * result + (embeds?.hashCode() ?: 0) + result = 31 * result + (flags?.hashCode() ?: 0) + result = 31 * result + (suppressEmbeds?.hashCode() ?: 0) + result = 31 * result + (allowedMentions?.hashCode() ?: 0) + result = 31 * result + (components?.hashCode() ?: 0) + result = 31 * result + files.hashCode() + result = 31 * result + (attachments?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt index 1dd3079941f0..7ef6812e35ac 100644 --- a/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RoleCreateBuilder.kt @@ -63,4 +63,35 @@ public class RoleCreateBuilder : AuditRequestBuilder { mentionable = _mentionable, permissions = _permissions ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as RoleCreateBuilder + + if (reason != other.reason) return false + if (color != other.color) return false + if (hoist != other.hoist) return false + if (icon != other.icon) return false + if (unicodeEmoji != other.unicodeEmoji) return false + if (name != other.name) return false + if (mentionable != other.mentionable) return false + if (permissions != other.permissions) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (color?.hashCode() ?: 0) + result = 31 * result + (hoist?.hashCode() ?: 0) + result = 31 * result + (icon?.hashCode() ?: 0) + result = 31 * result + (unicodeEmoji?.hashCode() ?: 0) + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (mentionable?.hashCode() ?: 0) + result = 31 * result + (permissions?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt index 72632f517d4d..609771031366 100644 --- a/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RoleModifyBuilder.kt @@ -63,4 +63,35 @@ public class RoleModifyBuilder : AuditRequestBuilder { mentionable = _mentionable, permissions = _permissions ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as RoleModifyBuilder + + if (reason != other.reason) return false + if (color != other.color) return false + if (hoist != other.hoist) return false + if (icon != other.icon) return false + if (unicodeEmoji != other.unicodeEmoji) return false + if (name != other.name) return false + if (mentionable != other.mentionable) return false + if (permissions != other.permissions) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (color?.hashCode() ?: 0) + result = 31 * result + (hoist?.hashCode() ?: 0) + result = 31 * result + (icon?.hashCode() ?: 0) + result = 31 * result + (unicodeEmoji?.hashCode() ?: 0) + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (mentionable?.hashCode() ?: 0) + result = 31 * result + (permissions?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt index 96206f8133dc..289ce3e8022f 100644 --- a/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/role/RolePositionsModifyBuilder.kt @@ -20,4 +20,23 @@ public class RolePositionsModifyBuilder : AuditRequestBuilder _username, _avatar.map { it.dataUri } ) + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as CurrentUserModifyBuilder + + if (username != other.username) return false + if (avatar != other.avatar) return false + + return true + } + + override fun hashCode(): Int { + var result = username?.hashCode() ?: 0 + result = 31 * result + (avatar?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/user/GroupDMCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/user/GroupDMCreateBuilder.kt index 913051c52154..f5b430636eed 100644 --- a/rest/src/commonMain/kotlin/builder/user/GroupDMCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/user/GroupDMCreateBuilder.kt @@ -15,4 +15,23 @@ public class GroupDMCreateBuilder : RequestBuilder { tokens.toList(), nicknames.mapKeys { it.value } ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as GroupDMCreateBuilder + + if (tokens != other.tokens) return false + if (nicknames != other.nicknames) return false + + return true + } + + override fun hashCode(): Int { + var result = tokens.hashCode() + result = 31 * result + nicknames.hashCode() + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/webhook/WebhookCreateBuilder.kt b/rest/src/commonMain/kotlin/builder/webhook/WebhookCreateBuilder.kt index 9e365059fb6c..c0e0dbd11c37 100644 --- a/rest/src/commonMain/kotlin/builder/webhook/WebhookCreateBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/webhook/WebhookCreateBuilder.kt @@ -16,4 +16,25 @@ public class WebhookCreateBuilder(public var name: String) : AuditRequestBuilder public var avatar: Image? by ::_avatar.delegate() override fun toRequest(): WebhookCreateRequest = WebhookCreateRequest(name, _avatar.map { it.dataUri }) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as WebhookCreateBuilder + + if (name != other.name) return false + if (reason != other.reason) return false + if (avatar != other.avatar) return false + + return true + } + + override fun hashCode(): Int { + var result = name.hashCode() + result = 31 * result + (reason?.hashCode() ?: 0) + result = 31 * result + (avatar?.hashCode() ?: 0) + return result + } + } diff --git a/rest/src/commonMain/kotlin/builder/webhook/WebhookModifyBuilder.kt b/rest/src/commonMain/kotlin/builder/webhook/WebhookModifyBuilder.kt index 27a9f75096d1..abf3282caf20 100644 --- a/rest/src/commonMain/kotlin/builder/webhook/WebhookModifyBuilder.kt +++ b/rest/src/commonMain/kotlin/builder/webhook/WebhookModifyBuilder.kt @@ -28,4 +28,27 @@ public class WebhookModifyBuilder : AuditRequestBuilder { avatar = _avatar.map { it.dataUri }, channelId = _channelId ) + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + + other as WebhookModifyBuilder + + if (reason != other.reason) return false + if (name != other.name) return false + if (avatar != other.avatar) return false + if (channelId != other.channelId) return false + + return true + } + + override fun hashCode(): Int { + var result = reason?.hashCode() ?: 0 + result = 31 * result + (name?.hashCode() ?: 0) + result = 31 * result + (avatar?.hashCode() ?: 0) + result = 31 * result + (channelId?.hashCode() ?: 0) + return result + } + }