2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelPremiumGuildSubscriptionSlot.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final canceled:Z
|
|
|
|
|
|
|
|
.field public final cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final id:J
|
|
|
|
|
|
|
|
.field public final premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
.field public final subscriptionId:J
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/String;JJLcom/discord/models/domain/ModelPremiumGuildSubscription;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
iput-wide p2, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
iput-wide p4, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
iput-object p6, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
iput-boolean p7, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final component1()Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;Ljava/lang/String;JJLcom/discord/models/domain/ModelPremiumGuildSubscription;ZILjava/lang/Object;)Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
and-int/lit8 p9, p8, 0x1
|
|
|
|
|
|
|
|
if-eqz p9, :cond_0
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p9, p8, 0x2
|
|
|
|
|
|
|
|
if-eqz p9, :cond_1
|
|
|
|
|
|
|
|
iget-wide p2, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-wide v0, p2
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x4
|
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
iget-wide p4, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-wide v2, p4
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x8
|
|
|
|
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
|
|
|
|
iget-object p6, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object p9, p6
|
|
|
|
|
|
|
|
and-int/lit8 p2, p8, 0x10
|
|
|
|
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
iget-boolean p7, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move v4, p7
|
|
|
|
|
|
|
|
move-object p2, p0
|
|
|
|
|
|
|
|
move-object p3, p1
|
|
|
|
|
|
|
|
move-wide p4, v0
|
|
|
|
|
|
|
|
move-wide p6, v2
|
|
|
|
|
|
|
|
move-object p8, p9
|
|
|
|
|
|
|
|
move p9, v4
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p9}, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->copy(Ljava/lang/String;JJLcom/discord/models/domain/ModelPremiumGuildSubscription;Z)Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final component2()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component3()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component4()Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component5()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final copy(Ljava/lang/String;JJLcom/discord/models/domain/ModelPremiumGuildSubscription;Z)Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
.locals 9
|
|
|
|
|
|
|
|
new-instance v8, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
|
|
|
|
move-object v0, v8
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move-wide v2, p2
|
|
|
|
|
|
|
|
move-wide v4, p4
|
|
|
|
|
|
|
|
move-object v6, p6
|
|
|
|
|
|
|
|
move/from16 v7, p7
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;-><init>(Ljava/lang/String;JJLcom/discord/models/domain/ModelPremiumGuildSubscription;Z)V
|
|
|
|
|
|
|
|
return-object v8
|
|
|
|
.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/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
iget-object v1, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
iget-object v1, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
2020-11-09 00:01:03 +00:00
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
iget-boolean p1, p1, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
if-ne v0, 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 getCanceled()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getCooldownExpiresAtTimestamp()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/utilities/time/TimeUtils;->parseUTCDate(Ljava/lang/String;)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getPremiumGuildSubscription()Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getSubscriptionId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt: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-wide v2, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
const/16 v4, 0x20
|
|
|
|
|
|
|
|
ushr-long v5, v2, v4
|
|
|
|
|
|
|
|
xor-long/2addr v2, v5
|
|
|
|
|
|
|
|
long-to-int v3, v2
|
|
|
|
|
|
|
|
add-int/2addr v0, v3
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
ushr-long v4, v2, v4
|
|
|
|
|
|
|
|
xor-long/2addr v2, v4
|
|
|
|
|
|
|
|
long-to-int v3, v2
|
|
|
|
|
|
|
|
add-int/2addr v0, v3
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-object v2, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelPremiumGuildSubscription;->hashCode()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "ModelPremiumGuildSubscriptionSlot(cooldownEndsAt="
|
|
|
|
|
2020-11-02 23:44:01 +00:00
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->cooldownEndsAt:Ljava/lang/String;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", id="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->id:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", subscriptionId="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->subscriptionId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", premiumGuildSubscription="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->premiumGuildSubscription:Lcom/discord/models/domain/ModelPremiumGuildSubscription;
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", canceled="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-boolean v1, p0, Lcom/discord/models/domain/ModelPremiumGuildSubscriptionSlot;->canceled:Z
|
|
|
|
|
|
|
|
const-string v2, ")"
|
|
|
|
|
2020-11-02 23:44:01 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->A(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|