294 lines
6.7 KiB
Smali
294 lines
6.7 KiB
Smali
|
.class public Lcom/discord/models/domain/activity/ModelActivityMetadata;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ModelActivityMetadata.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public albumId:Ljava/lang/String;
|
||
|
.annotation runtime Lf/h/d/t/b;
|
||
|
value = "album_id"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public artistIds:Ljava/lang/String;
|
||
|
.annotation runtime Lf/h/d/t/b;
|
||
|
value = "artist_ids"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public contextUri:Ljava/lang/String;
|
||
|
.annotation runtime Lf/h/d/t/b;
|
||
|
value = "context_uri"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->contextUri:Ljava/lang/String;
|
||
|
|
||
|
iput-object p2, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->albumId:Ljava/lang/String;
|
||
|
|
||
|
iput-object p3, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->artistIds:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public canEqual(Ljava/lang/Object;)Z
|
||
|
.locals 0
|
||
|
|
||
|
instance-of p1, p1, Lcom/discord/models/domain/activity/ModelActivityMetadata;
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 4
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
if-ne p1, p0, :cond_0
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_0
|
||
|
instance-of v1, p1, Lcom/discord/models/domain/activity/ModelActivityMetadata;
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
return v2
|
||
|
|
||
|
:cond_1
|
||
|
check-cast p1, Lcom/discord/models/domain/activity/ModelActivityMetadata;
|
||
|
|
||
|
invoke-virtual {p1, p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->canEqual(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_2
|
||
|
|
||
|
return v2
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getContextUri()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getContextUri()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-nez v1, :cond_3
|
||
|
|
||
|
if-eqz v3, :cond_4
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_4
|
||
|
|
||
|
:goto_0
|
||
|
return v2
|
||
|
|
||
|
:cond_4
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getAlbumId()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getAlbumId()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
if-nez v1, :cond_5
|
||
|
|
||
|
if-eqz v3, :cond_6
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_5
|
||
|
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_6
|
||
|
|
||
|
:goto_1
|
||
|
return v2
|
||
|
|
||
|
:cond_6
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getArtistIds()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getArtistIds()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
if-nez v1, :cond_7
|
||
|
|
||
|
if-eqz p1, :cond_8
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_7
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-nez p1, :cond_8
|
||
|
|
||
|
:goto_2
|
||
|
return v2
|
||
|
|
||
|
:cond_8
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public getAlbumId()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->albumId:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getArtistIds()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->artistIds:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getContextUri()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/models/domain/activity/ModelActivityMetadata;->contextUri:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 4
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getContextUri()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0x2b
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/16 v0, 0x2b
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:goto_0
|
||
|
const/16 v2, 0x3b
|
||
|
|
||
|
add-int/2addr v0, v2
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getAlbumId()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
mul-int/lit8 v0, v0, 0x3b
|
||
|
|
||
|
if-nez v3, :cond_1
|
||
|
|
||
|
const/16 v3, 0x2b
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
:goto_1
|
||
|
add-int/2addr v0, v3
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getArtistIds()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
mul-int/lit8 v0, v0, 0x3b
|
||
|
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
:goto_2
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "ModelActivityMetadata(contextUri="
|
||
|
|
||
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getContextUri()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", albumId="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getAlbumId()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ", artistIds="
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p0}, Lcom/discord/models/domain/activity/ModelActivityMetadata;->getArtistIds()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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
|