110 lines
3.4 KiB
Java
110 lines
3.4 KiB
Java
package com.discord.widgets.botuikit.views.select;
|
|
|
|
import a0.a.a.b;
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.io.Serializable;
|
|
/* compiled from: SelectComponentBottomSheet.kt */
|
|
public final class ComponentContext implements Serializable {
|
|
private final long applicationId;
|
|
private final long channelId;
|
|
private final Long guildId;
|
|
private final Long messageFlags;
|
|
private final long messageId;
|
|
|
|
public ComponentContext(Long l, long j, long j2, Long l2, long j3) {
|
|
this.guildId = l;
|
|
this.messageId = j;
|
|
this.channelId = j2;
|
|
this.messageFlags = l2;
|
|
this.applicationId = j3;
|
|
}
|
|
|
|
public static /* synthetic */ ComponentContext copy$default(ComponentContext componentContext, Long l, long j, long j2, Long l2, long j3, int i, Object obj) {
|
|
return componentContext.copy((i & 1) != 0 ? componentContext.guildId : l, (i & 2) != 0 ? componentContext.messageId : j, (i & 4) != 0 ? componentContext.channelId : j2, (i & 8) != 0 ? componentContext.messageFlags : l2, (i & 16) != 0 ? componentContext.applicationId : j3);
|
|
}
|
|
|
|
public final Long component1() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final long component2() {
|
|
return this.messageId;
|
|
}
|
|
|
|
public final long component3() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public final Long component4() {
|
|
return this.messageFlags;
|
|
}
|
|
|
|
public final long component5() {
|
|
return this.applicationId;
|
|
}
|
|
|
|
public final ComponentContext copy(Long l, long j, long j2, Long l2, long j3) {
|
|
return new ComponentContext(l, j, j2, l2, j3);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ComponentContext)) {
|
|
return false;
|
|
}
|
|
ComponentContext componentContext = (ComponentContext) obj;
|
|
return m.areEqual(this.guildId, componentContext.guildId) && this.messageId == componentContext.messageId && this.channelId == componentContext.channelId && m.areEqual(this.messageFlags, componentContext.messageFlags) && this.applicationId == componentContext.applicationId;
|
|
}
|
|
|
|
public final long getApplicationId() {
|
|
return this.applicationId;
|
|
}
|
|
|
|
public final long getChannelId() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public final Long getGuildId() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final Long getMessageFlags() {
|
|
return this.messageFlags;
|
|
}
|
|
|
|
public final long getMessageId() {
|
|
return this.messageId;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
Long l = this.guildId;
|
|
int i = 0;
|
|
int hashCode = l != null ? l.hashCode() : 0;
|
|
int a = (b.a(this.channelId) + ((b.a(this.messageId) + (hashCode * 31)) * 31)) * 31;
|
|
Long l2 = this.messageFlags;
|
|
if (l2 != null) {
|
|
i = l2.hashCode();
|
|
}
|
|
return b.a(this.applicationId) + ((a + i) * 31);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public String toString() {
|
|
StringBuilder K = a.K("ComponentContext(guildId=");
|
|
K.append(this.guildId);
|
|
K.append(", messageId=");
|
|
K.append(this.messageId);
|
|
K.append(", channelId=");
|
|
K.append(this.channelId);
|
|
K.append(", messageFlags=");
|
|
K.append(this.messageFlags);
|
|
K.append(", applicationId=");
|
|
return a.y(K, this.applicationId, ")");
|
|
}
|
|
}
|