apkfuckery/com.discord/smali/com/discord/models/domain/ModelApplicationStream$Guil...

371 lines
9.4 KiB
Smali

.class public final Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
.super Lcom/discord/models/domain/ModelApplicationStream;
.source "ModelApplicationStream.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/models/domain/ModelApplicationStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "GuildStream"
.end annotation
# instance fields
.field public final channelId:J
.field public final guildId:J
.field public final ownerId:J
.field public final type:Ljava/lang/String;
# direct methods
.method public constructor <init>(JJJ)V
.locals 6
const/4 v5, 0x0
move-object v0, p0
move-wide v1, p3
move-wide v3, p5
invoke-direct/range {v0 .. v5}, Lcom/discord/models/domain/ModelApplicationStream;-><init>(JJLkotlin/jvm/internal/DefaultConstructorMarker;)V
iput-wide p1, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
iput-wide p3, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->channelId:J
iput-wide p5, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->ownerId:J
sget-object p1, Lcom/discord/models/domain/StreamType;->GUILD:Lcom/discord/models/domain/StreamType;
invoke-virtual {p1}, Lcom/discord/models/domain/StreamType;->getSerializedRepresentation()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->type:Ljava/lang/String;
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelApplicationStream$GuildStream;JJJILjava/lang/Object;)Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
.locals 7
and-int/lit8 p8, p7, 0x1
if-eqz p8, :cond_0
iget-wide p1, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
:cond_0
move-wide v1, p1
and-int/lit8 p1, p7, 0x2
if-eqz p1, :cond_1
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide p3
:cond_1
move-wide v3, p3
and-int/lit8 p1, p7, 0x4
if-eqz p1, :cond_2
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide p5
:cond_2
move-wide v5, p5
move-object v0, p0
invoke-virtual/range {v0 .. v6}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->copy(JJJ)Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
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/ModelApplicationStream$GuildStream;->guildId:J
return-wide v0
.end method
.method public final component2()J
.locals 2
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v0
return-wide v0
.end method
.method public final component3()J
.locals 2
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v0
return-wide v0
.end method
.method public final copy(JJJ)Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
.locals 8
new-instance v7, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
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/ModelApplicationStream$GuildStream;-><init>(JJJ)V
return-object v7
.end method
.method public encodeStreamKey()Ljava/lang/String;
.locals 4
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
sget-object v1, Lcom/discord/models/domain/StreamType;->GUILD:Lcom/discord/models/domain/StreamType;
invoke-virtual {v1}, Lcom/discord/models/domain/StreamType;->getSerializedRepresentation()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x3a
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-wide v2, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v2
invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.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/ModelApplicationStream$GuildStream;
if-eqz v0, :cond_0
check-cast p1, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;
iget-wide v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
iget-wide v2, p1, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
cmp-long v4, v0, v2
if-nez v4, :cond_0
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v0
invoke-virtual {p1}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v2
cmp-long v4, v0, v2
if-nez v4, :cond_0
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v0
invoke-virtual {p1}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v2
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 getChannelId()J
.locals 2
iget-wide v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->channelId:J
return-wide v0
.end method
.method public final getGuildId()J
.locals 2
iget-wide v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
return-wide v0
.end method
.method public getOwnerId()J
.locals 2
iget-wide v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->ownerId:J
return-wide v0
.end method
.method public getType()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->type:Ljava/lang/String;
return-object v0
.end method
.method public hashCode()I
.locals 7
iget-wide v0, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId: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
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v3
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
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v3
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 3
const-string v0, "GuildStream(guildId="
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-wide v1, p0, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->guildId:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", channelId="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getChannelId()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", ownerId="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/models/domain/ModelApplicationStream$GuildStream;->getOwnerId()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method