.class public final Lcom/discord/restapi/RestAPIParams$Message; .super Ljava/lang/Object; .source "RestAPIParams.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/discord/restapi/RestAPIParams; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Message" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/discord/restapi/RestAPIParams$Message$Activity;, Lcom/discord/restapi/RestAPIParams$Message$MessageReference;, Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; } .end annotation # instance fields .field public final activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; .field public final allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; .field public final applicationId:Ljava/lang/Long; .field public final content:Ljava/lang/String; .field public final messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; .field public final nonce:Ljava/lang/String; .field public final stickerIds:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List<", "Ljava/lang/Long;", ">;" } .end annotation .end field # direct methods .method public constructor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", "Ljava/lang/Long;", "Lcom/discord/restapi/RestAPIParams$Message$Activity;", "Ljava/util/List<", "Ljava/lang/Long;", ">;", "Lcom/discord/restapi/RestAPIParams$Message$MessageReference;", "Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;", ")V" } .end annotation invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; iput-object p2, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; iput-object p3, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; iput-object p4, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; iput-object p5, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; iput-object p6, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; iput-object p7, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; return-void .end method .method public synthetic constructor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;ILkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 10 and-int/lit8 v0, p8, 0x4 const/4 v1, 0x0 if-eqz v0, :cond_0 move-object v5, v1 goto :goto_0 :cond_0 move-object v5, p3 :goto_0 and-int/lit8 v0, p8, 0x8 if-eqz v0, :cond_1 move-object v6, v1 goto :goto_1 :cond_1 move-object v6, p4 :goto_1 and-int/lit8 v0, p8, 0x10 if-eqz v0, :cond_2 move-object v7, v1 goto :goto_2 :cond_2 move-object v7, p5 :goto_2 and-int/lit8 v0, p8, 0x20 if-eqz v0, :cond_3 move-object v8, v1 goto :goto_3 :cond_3 move-object/from16 v8, p6 :goto_3 and-int/lit8 v0, p8, 0x40 if-eqz v0, :cond_4 move-object v9, v1 goto :goto_4 :cond_4 move-object/from16 v9, p7 :goto_4 move-object v2, p0 move-object v3, p1 move-object v4, p2 invoke-direct/range {v2 .. v9}, Lcom/discord/restapi/RestAPIParams$Message;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;)V return-void .end method .method public static synthetic copy$default(Lcom/discord/restapi/RestAPIParams$Message;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;ILjava/lang/Object;)Lcom/discord/restapi/RestAPIParams$Message; .locals 5 and-int/lit8 p9, p8, 0x1 if-eqz p9, :cond_0 iget-object p1, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; :cond_0 and-int/lit8 p9, p8, 0x2 if-eqz p9, :cond_1 iget-object p2, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; :cond_1 move-object p9, p2 and-int/lit8 p2, p8, 0x4 if-eqz p2, :cond_2 iget-object p3, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; :cond_2 move-object v0, p3 and-int/lit8 p2, p8, 0x8 if-eqz p2, :cond_3 iget-object p4, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; :cond_3 move-object v1, p4 and-int/lit8 p2, p8, 0x10 if-eqz p2, :cond_4 iget-object p5, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; :cond_4 move-object v2, p5 and-int/lit8 p2, p8, 0x20 if-eqz p2, :cond_5 iget-object p6, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; :cond_5 move-object v3, p6 and-int/lit8 p2, p8, 0x40 if-eqz p2, :cond_6 iget-object p7, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; :cond_6 move-object v4, p7 move-object p2, p0 move-object p3, p1 move-object p4, p9 move-object p5, v0 move-object p6, v1 move-object p7, v2 move-object p8, v3 move-object p9, v4 invoke-virtual/range {p2 .. p9}, Lcom/discord/restapi/RestAPIParams$Message;->copy(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;)Lcom/discord/restapi/RestAPIParams$Message; move-result-object p0 return-object p0 .end method # virtual methods .method public final component1()Ljava/lang/String; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; return-object v0 .end method .method public final component2()Ljava/lang/String; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; return-object v0 .end method .method public final component3()Ljava/lang/Long; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; return-object v0 .end method .method public final component4()Lcom/discord/restapi/RestAPIParams$Message$Activity; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; return-object v0 .end method .method public final component5()Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Ljava/lang/Long;", ">;" } .end annotation iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; return-object v0 .end method .method public final component6()Lcom/discord/restapi/RestAPIParams$Message$MessageReference; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; return-object v0 .end method .method public final component7()Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; return-object v0 .end method .method public final copy(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;)Lcom/discord/restapi/RestAPIParams$Message; .locals 9 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", "Ljava/lang/Long;", "Lcom/discord/restapi/RestAPIParams$Message$Activity;", "Ljava/util/List<", "Ljava/lang/Long;", ">;", "Lcom/discord/restapi/RestAPIParams$Message$MessageReference;", "Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;", ")", "Lcom/discord/restapi/RestAPIParams$Message;" } .end annotation new-instance v8, Lcom/discord/restapi/RestAPIParams$Message; move-object v0, v8 move-object v1, p1 move-object v2, p2 move-object v3, p3 move-object v4, p4 move-object v5, p5 move-object v6, p6 move-object/from16 v7, p7 invoke-direct/range {v0 .. v7}, Lcom/discord/restapi/RestAPIParams$Message;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/restapi/RestAPIParams$Message$Activity;Ljava/util/List;Lcom/discord/restapi/RestAPIParams$Message$MessageReference;Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions;)V return-object v8 .end method .method public equals(Ljava/lang/Object;)Z .locals 2 if-eq p0, p1, :cond_1 instance-of v0, p1, Lcom/discord/restapi/RestAPIParams$Message; if-eqz v0, :cond_0 check-cast p1, Lcom/discord/restapi/RestAPIParams$Message; iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; iget-object v1, p1, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; invoke-static {v0, v1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; iget-object p1, p1, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; invoke-static {v0, p1}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p1 if-eqz p1, :cond_0 goto :goto_0 :cond_0 const/4 p1, 0x0 return p1 :cond_1 :goto_0 const/4 p1, 0x1 return p1 .end method .method public final getActivity()Lcom/discord/restapi/RestAPIParams$Message$Activity; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; return-object v0 .end method .method public final getAllowedMentions()Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; return-object v0 .end method .method public final getApplicationId()Ljava/lang/Long; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; return-object v0 .end method .method public final getContent()Ljava/lang/String; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; return-object v0 .end method .method public final getMessageReference()Lcom/discord/restapi/RestAPIParams$Message$MessageReference; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; return-object v0 .end method .method public final getNonce()Ljava/lang/String; .locals 1 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; return-object v0 .end method .method public final getStickerIds()Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Ljava/lang/Long;", ">;" } .end annotation iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; return-object v0 .end method .method public hashCode()I .locals 3 iget-object v0, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; const/4 v1, 0x0 if-eqz v0, :cond_0 invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; if-eqz v2, :cond_1 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_1 :cond_1 const/4 v2, 0x0 :goto_1 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; if-eqz v2, :cond_2 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_2 :cond_2 const/4 v2, 0x0 :goto_2 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; if-eqz v2, :cond_3 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_3 :cond_3 const/4 v2, 0x0 :goto_3 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; if-eqz v2, :cond_4 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_4 :cond_4 const/4 v2, 0x0 :goto_4 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; if-eqz v2, :cond_5 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v2 goto :goto_5 :cond_5 const/4 v2, 0x0 :goto_5 add-int/2addr v0, v2 mul-int/lit8 v0, v0, 0x1f iget-object v2, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; if-eqz v2, :cond_6 invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I move-result v1 :cond_6 add-int/2addr v0, v1 return v0 .end method .method public toString()Ljava/lang/String; .locals 2 const-string v0, "Message(content=" invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->content:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, ", nonce=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->nonce:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, ", applicationId=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->applicationId:Ljava/lang/Long; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ", activity=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->activity:Lcom/discord/restapi/RestAPIParams$Message$Activity; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ", stickerIds=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->stickerIds:Ljava/util/List; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ", messageReference=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->messageReference:Lcom/discord/restapi/RestAPIParams$Message$MessageReference; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ", allowedMentions=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/discord/restapi/RestAPIParams$Message;->allowedMentions:Lcom/discord/restapi/RestAPIParams$Message$AllowedMentions; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, ")" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method