2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/restapi/RestAPIParams$ConnectedAccount;
|
|
|
|
.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 = "ConnectedAccount"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/restapi/RestAPIParams$ConnectedAccount$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final Companion:Lcom/discord/restapi/RestAPIParams$ConnectedAccount$Companion;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final friend_sync:Z
|
|
|
|
|
|
|
|
.field public final id:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final name:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final revoked:Z
|
|
|
|
|
|
|
|
.field public final show_activity:Z
|
|
|
|
|
|
|
|
.field public final type:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final verified:Z
|
|
|
|
|
|
|
|
.field public final visibility:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/restapi/RestAPIParams$ConnectedAccount$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->Companion:Lcom/discord/restapi/RestAPIParams$ConnectedAccount$Companion;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(ZLjava/lang/String;Ljava/lang/String;ZZLjava/lang/String;ZI)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->friend_sync:Z
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->id:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-object p3, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->name:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-boolean p4, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->revoked:Z
|
|
|
|
|
|
|
|
iput-boolean p5, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->show_activity:Z
|
|
|
|
|
|
|
|
iput-object p6, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->type:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-boolean p7, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->verified:Z
|
|
|
|
|
|
|
|
iput p8, p0, Lcom/discord/restapi/RestAPIParams$ConnectedAccount;->visibility:I
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "type"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "name"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p1, "id"
|
|
|
|
|
2020-07-14 22:43:59 +00:00
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|