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