162 lines
3.8 KiB
Smali
162 lines
3.8 KiB
Smali
.class public final Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelConnectionAccessToken.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final accessToken:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "accessToken"
|
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelConnectionAccessToken;Ljava/lang/String;ILjava/lang/Object;)Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelConnectionAccessToken;->copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
|
|
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/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Ljava/lang/String;)Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
|
|
invoke-direct {v0, p1}, Lcom/discord/models/domain/ModelConnectionAccessToken;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p1, "accessToken"
|
|
|
|
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelConnectionAccessToken;
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
iget-object p1, p1, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
invoke-static {v0, p1}, Lm/u/b/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 getAccessToken()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
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
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "ModelConnectionAccessToken(accessToken="
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelConnectionAccessToken;->accessToken:Ljava/lang/String;
|
|
|
|
const-string v2, ")"
|
|
|
|
invoke-static {v0, v1, v2}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|