54 lines
1.1 KiB
Smali
54 lines
1.1 KiB
Smali
.class public final Lcom/discord/restapi/RestAPIParams$EnableMFA;
|
|
.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 = "EnableMFA"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final code:Ljava/lang/String;
|
|
|
|
.field public final secret:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/restapi/RestAPIParams$EnableMFA;->code:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/discord/restapi/RestAPIParams$EnableMFA;->secret:Ljava/lang/String;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "secret"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "code"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|