discord-jadx/app/src/main/java/com/discord/api/application/ProfileApplication.java

60 lines
1.9 KiB
Java

package com.discord.api.application;
import b.d.b.a.a;
import d0.z.d.m;
/* compiled from: ProfileApplication.kt */
public final class ProfileApplication {
private final String customInstallUrl;
/* renamed from: id reason: collision with root package name */
private final String f2004id;
private final ApplicationInstallParams installParams;
public final String a() {
return this.customInstallUrl;
}
public final String b() {
return this.f2004id;
}
public final ApplicationInstallParams c() {
return this.installParams;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ProfileApplication)) {
return false;
}
ProfileApplication profileApplication = (ProfileApplication) obj;
return m.areEqual(this.f2004id, profileApplication.f2004id) && m.areEqual(this.customInstallUrl, profileApplication.customInstallUrl) && m.areEqual(this.installParams, profileApplication.installParams);
}
public int hashCode() {
String str = this.f2004id;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.customInstallUrl;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
ApplicationInstallParams applicationInstallParams = this.installParams;
if (applicationInstallParams != null) {
i = applicationInstallParams.hashCode();
}
return hashCode2 + i;
}
public String toString() {
StringBuilder R = a.R("ProfileApplication(id=");
R.append(this.f2004id);
R.append(", customInstallUrl=");
R.append(this.customInstallUrl);
R.append(", installParams=");
R.append(this.installParams);
R.append(")");
return R.toString();
}
}