79 lines
2.4 KiB
Java
79 lines
2.4 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import a0.a.a.b;
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import b.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetHubAuthenticationlViewModel.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class AuthenticationResult implements MultipleDomainResult {
|
|
public static final Parcelable.Creator<AuthenticationResult> CREATOR = new Creator();
|
|
private final long guildId;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public static class Creator implements Parcelable.Creator<AuthenticationResult> {
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final AuthenticationResult createFromParcel(Parcel parcel) {
|
|
m.checkNotNullParameter(parcel, "in");
|
|
return new AuthenticationResult(parcel.readLong());
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final AuthenticationResult[] newArray(int i) {
|
|
return new AuthenticationResult[i];
|
|
}
|
|
}
|
|
|
|
public AuthenticationResult(long j) {
|
|
this.guildId = j;
|
|
}
|
|
|
|
public static /* synthetic */ AuthenticationResult copy$default(AuthenticationResult authenticationResult, long j, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
j = authenticationResult.guildId;
|
|
}
|
|
return authenticationResult.copy(j);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final AuthenticationResult copy(long j) {
|
|
return new AuthenticationResult(j);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof AuthenticationResult) && this.guildId == ((AuthenticationResult) obj).guildId;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public final long getGuildId() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return b.a(this.guildId);
|
|
}
|
|
|
|
public String toString() {
|
|
return a.B(a.R("AuthenticationResult(guildId="), this.guildId, ")");
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
m.checkNotNullParameter(parcel, "parcel");
|
|
parcel.writeLong(this.guildId);
|
|
}
|
|
}
|