85 lines
2.5 KiB
Java
85 lines
2.5 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import androidx.core.app.NotificationCompat;
|
|
import b.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetHubWaitlistViewModel.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class HubWaitlistArgs implements Parcelable {
|
|
public static final Parcelable.Creator<HubWaitlistArgs> CREATOR = new Creator();
|
|
private final String email;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public static class Creator implements Parcelable.Creator<HubWaitlistArgs> {
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final HubWaitlistArgs createFromParcel(Parcel parcel) {
|
|
m.checkNotNullParameter(parcel, "in");
|
|
return new HubWaitlistArgs(parcel.readString());
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final HubWaitlistArgs[] newArray(int i) {
|
|
return new HubWaitlistArgs[i];
|
|
}
|
|
}
|
|
|
|
public HubWaitlistArgs(String str) {
|
|
m.checkNotNullParameter(str, NotificationCompat.CATEGORY_EMAIL);
|
|
this.email = str;
|
|
}
|
|
|
|
public static /* synthetic */ HubWaitlistArgs copy$default(HubWaitlistArgs hubWaitlistArgs, String str, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = hubWaitlistArgs.email;
|
|
}
|
|
return hubWaitlistArgs.copy(str);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.email;
|
|
}
|
|
|
|
public final HubWaitlistArgs copy(String str) {
|
|
m.checkNotNullParameter(str, NotificationCompat.CATEGORY_EMAIL);
|
|
return new HubWaitlistArgs(str);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof HubWaitlistArgs) && m.areEqual(this.email, ((HubWaitlistArgs) obj).email);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public final String getEmail() {
|
|
return this.email;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.email;
|
|
if (str != null) {
|
|
return str.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public String toString() {
|
|
return a.H(a.R("HubWaitlistArgs(email="), this.email, ")");
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
m.checkNotNullParameter(parcel, "parcel");
|
|
parcel.writeString(this.email);
|
|
}
|
|
}
|