105 lines
5 KiB
Java
105 lines
5 KiB
Java
package com.discord.api.guildscheduledevent;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.api.stageinstance.StageInstancePrivacyLevel;
|
|
import com.discord.api.utcdatetime.UtcDateTime;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: GuildScheduledEvent.kt */
|
|
public final class GuildScheduledEvent {
|
|
private final String description;
|
|
private final Long entityId;
|
|
private final GuildScheduledEventEntityMetadata entityMetadata;
|
|
private final GuildScheduledEventEntityType entityType;
|
|
private final long guildId;
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final long f1560id;
|
|
private final String image;
|
|
private final String name;
|
|
private final StageInstancePrivacyLevel privacyLevel;
|
|
private final UtcDateTime scheduledEndTime;
|
|
private final UtcDateTime scheduledStartTime;
|
|
private final List<Long> skuIds;
|
|
private final GuildScheduledEventStatus status;
|
|
|
|
public final long a() {
|
|
return this.f1560id;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.name;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof GuildScheduledEvent)) {
|
|
return false;
|
|
}
|
|
GuildScheduledEvent guildScheduledEvent = (GuildScheduledEvent) obj;
|
|
return this.f1560id == guildScheduledEvent.f1560id && this.guildId == guildScheduledEvent.guildId && m.areEqual(this.name, guildScheduledEvent.name) && m.areEqual(this.description, guildScheduledEvent.description) && m.areEqual(this.image, guildScheduledEvent.image) && m.areEqual(this.scheduledStartTime, guildScheduledEvent.scheduledStartTime) && m.areEqual(this.scheduledEndTime, guildScheduledEvent.scheduledEndTime) && m.areEqual(this.privacyLevel, guildScheduledEvent.privacyLevel) && m.areEqual(this.status, guildScheduledEvent.status) && m.areEqual(this.entityType, guildScheduledEvent.entityType) && m.areEqual(this.entityId, guildScheduledEvent.entityId) && m.areEqual(this.entityMetadata, guildScheduledEvent.entityMetadata) && m.areEqual(this.skuIds, guildScheduledEvent.skuIds);
|
|
}
|
|
|
|
public int hashCode() {
|
|
long j = this.f1560id;
|
|
long j2 = this.guildId;
|
|
int i = ((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31;
|
|
String str = this.name;
|
|
int i2 = 0;
|
|
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.description;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
String str3 = this.image;
|
|
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
|
UtcDateTime utcDateTime = this.scheduledStartTime;
|
|
int hashCode4 = (hashCode3 + (utcDateTime != null ? utcDateTime.hashCode() : 0)) * 31;
|
|
UtcDateTime utcDateTime2 = this.scheduledEndTime;
|
|
int hashCode5 = (hashCode4 + (utcDateTime2 != null ? utcDateTime2.hashCode() : 0)) * 31;
|
|
StageInstancePrivacyLevel stageInstancePrivacyLevel = this.privacyLevel;
|
|
int hashCode6 = (hashCode5 + (stageInstancePrivacyLevel != null ? stageInstancePrivacyLevel.hashCode() : 0)) * 31;
|
|
GuildScheduledEventStatus guildScheduledEventStatus = this.status;
|
|
int hashCode7 = (hashCode6 + (guildScheduledEventStatus != null ? guildScheduledEventStatus.hashCode() : 0)) * 31;
|
|
GuildScheduledEventEntityType guildScheduledEventEntityType = this.entityType;
|
|
int hashCode8 = (hashCode7 + (guildScheduledEventEntityType != null ? guildScheduledEventEntityType.hashCode() : 0)) * 31;
|
|
Long l = this.entityId;
|
|
int hashCode9 = (hashCode8 + (l != null ? l.hashCode() : 0)) * 31;
|
|
GuildScheduledEventEntityMetadata guildScheduledEventEntityMetadata = this.entityMetadata;
|
|
int hashCode10 = (hashCode9 + (guildScheduledEventEntityMetadata != null ? guildScheduledEventEntityMetadata.hashCode() : 0)) * 31;
|
|
List<Long> list = this.skuIds;
|
|
if (list != null) {
|
|
i2 = list.hashCode();
|
|
}
|
|
return hashCode10 + i2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("GuildScheduledEvent(id=");
|
|
L.append(this.f1560id);
|
|
L.append(", guildId=");
|
|
L.append(this.guildId);
|
|
L.append(", name=");
|
|
L.append(this.name);
|
|
L.append(", description=");
|
|
L.append(this.description);
|
|
L.append(", image=");
|
|
L.append(this.image);
|
|
L.append(", scheduledStartTime=");
|
|
L.append(this.scheduledStartTime);
|
|
L.append(", scheduledEndTime=");
|
|
L.append(this.scheduledEndTime);
|
|
L.append(", privacyLevel=");
|
|
L.append(this.privacyLevel);
|
|
L.append(", status=");
|
|
L.append(this.status);
|
|
L.append(", entityType=");
|
|
L.append(this.entityType);
|
|
L.append(", entityId=");
|
|
L.append(this.entityId);
|
|
L.append(", entityMetadata=");
|
|
L.append(this.entityMetadata);
|
|
L.append(", skuIds=");
|
|
return a.E(L, this.skuIds, ")");
|
|
}
|
|
}
|