260 lines
6 KiB
Smali
260 lines
6 KiB
Smali
.class public final Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelPremiumGuildSubscription.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final guildId:J
|
|
|
|
.field public final id:J
|
|
|
|
.field public final userId:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JJJ)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-wide p1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
iput-wide p3, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
iput-wide p5, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelPremiumGuildSubscription;JJJILjava/lang/Object;)Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
.locals 7
|
|
|
|
and-int/lit8 p8, p7, 0x1
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
iget-wide p1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
:cond_0
|
|
move-wide v1, p1
|
|
|
|
and-int/lit8 p1, p7, 0x2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-wide p3, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
:cond_1
|
|
move-wide v3, p3
|
|
|
|
and-int/lit8 p1, p7, 0x4
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-wide p5, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
:cond_2
|
|
move-wide v5, p5
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->copy(JJJ)Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component2()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component3()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final copy(JJJ)Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
.locals 8
|
|
|
|
new-instance v7, Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
move-object v0, v7
|
|
|
|
move-wide v1, p1
|
|
|
|
move-wide v3, p3
|
|
|
|
move-wide v5, p5
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/discord/models/domain/ModelPremiumGuildSubscription;-><init>(JJJ)V
|
|
|
|
return-object v7
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
cmp-long p1, v0, v2
|
|
|
|
if-nez 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 getGuildId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getUserId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 7
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
const/16 v2, 0x20
|
|
|
|
ushr-long v3, v0, v2
|
|
|
|
xor-long/2addr v0, v3
|
|
|
|
long-to-int v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
xor-long/2addr v3, v5
|
|
|
|
long-to-int v0, v3
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
xor-long v2, v3, v5
|
|
|
|
long-to-int v0, v2
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const-string v0, "ModelPremiumGuildSubscription(id="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->id:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", guildId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->guildId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", userId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->userId:J
|
|
|
|
const-string v3, ")"
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lf/e/b/a/a;->t(Ljava/lang/StringBuilder;JLjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|