78 lines
2.4 KiB
Java
78 lines
2.4 KiB
Java
package com.discord.widgets.directories;
|
|
|
|
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: WidgetDirectoriesSearch.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class DirectoriesSearchArgs implements Parcelable {
|
|
public static final Parcelable.Creator<DirectoriesSearchArgs> CREATOR = new Creator();
|
|
private final long channelId;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public static class Creator implements Parcelable.Creator<DirectoriesSearchArgs> {
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final DirectoriesSearchArgs createFromParcel(Parcel parcel) {
|
|
m.checkNotNullParameter(parcel, "in");
|
|
return new DirectoriesSearchArgs(parcel.readLong());
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public final DirectoriesSearchArgs[] newArray(int i) {
|
|
return new DirectoriesSearchArgs[i];
|
|
}
|
|
}
|
|
|
|
public DirectoriesSearchArgs(long j) {
|
|
this.channelId = j;
|
|
}
|
|
|
|
public static /* synthetic */ DirectoriesSearchArgs copy$default(DirectoriesSearchArgs directoriesSearchArgs, long j, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
j = directoriesSearchArgs.channelId;
|
|
}
|
|
return directoriesSearchArgs.copy(j);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public final DirectoriesSearchArgs copy(long j) {
|
|
return new DirectoriesSearchArgs(j);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof DirectoriesSearchArgs) && this.channelId == ((DirectoriesSearchArgs) obj).channelId;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public final long getChannelId() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return b.a(this.channelId);
|
|
}
|
|
|
|
public String toString() {
|
|
return a.B(a.R("DirectoriesSearchArgs(channelId="), this.channelId, ")");
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
m.checkNotNullParameter(parcel, "parcel");
|
|
parcel.writeLong(this.channelId);
|
|
}
|
|
}
|