70 lines
3.1 KiB
Java
70 lines
3.1 KiB
Java
package com.discord.analytics.generated.events;
|
|
|
|
import b.d.b.a.a;
|
|
import com.discord.analytics.generated.traits.TrackBase;
|
|
import com.discord.analytics.generated.traits.TrackBaseReceiver;
|
|
import com.discord.analytics.generated.traits.TrackChannel;
|
|
import com.discord.analytics.generated.traits.TrackChannelReceiver;
|
|
import com.discord.analytics.generated.traits.TrackGuild;
|
|
import com.discord.analytics.generated.traits.TrackGuildReceiver;
|
|
import com.discord.api.science.AnalyticsSchema;
|
|
import d0.z.d.m;
|
|
/* compiled from: TrackAttachmentReportedToNcmec.kt */
|
|
public final class TrackAttachmentReportedToNcmec implements AnalyticsSchema, TrackBaseReceiver, TrackChannelReceiver, TrackGuildReceiver {
|
|
private final transient String analyticsSchemaTypeName = "attachment_reported_to_ncmec";
|
|
private final CharSequence archiveId = null;
|
|
private final CharSequence attachmentHash = null;
|
|
private final Long attachmentId = null;
|
|
private final Long messageId = null;
|
|
private final Long ncmecReportId = null;
|
|
private TrackBase trackBase;
|
|
private TrackChannel trackChannel;
|
|
private TrackGuild trackGuild;
|
|
|
|
@Override // com.discord.api.science.AnalyticsSchema
|
|
public String b() {
|
|
return this.analyticsSchemaTypeName;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof TrackAttachmentReportedToNcmec)) {
|
|
return false;
|
|
}
|
|
TrackAttachmentReportedToNcmec trackAttachmentReportedToNcmec = (TrackAttachmentReportedToNcmec) obj;
|
|
return m.areEqual(this.ncmecReportId, trackAttachmentReportedToNcmec.ncmecReportId) && m.areEqual(this.archiveId, trackAttachmentReportedToNcmec.archiveId) && m.areEqual(this.messageId, trackAttachmentReportedToNcmec.messageId) && m.areEqual(this.attachmentId, trackAttachmentReportedToNcmec.attachmentId) && m.areEqual(this.attachmentHash, trackAttachmentReportedToNcmec.attachmentHash);
|
|
}
|
|
|
|
public int hashCode() {
|
|
Long l = this.ncmecReportId;
|
|
int i = 0;
|
|
int hashCode = (l != null ? l.hashCode() : 0) * 31;
|
|
CharSequence charSequence = this.archiveId;
|
|
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
|
|
Long l2 = this.messageId;
|
|
int hashCode3 = (hashCode2 + (l2 != null ? l2.hashCode() : 0)) * 31;
|
|
Long l3 = this.attachmentId;
|
|
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
|
|
CharSequence charSequence2 = this.attachmentHash;
|
|
if (charSequence2 != null) {
|
|
i = charSequence2.hashCode();
|
|
}
|
|
return hashCode4 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("TrackAttachmentReportedToNcmec(ncmecReportId=");
|
|
R.append(this.ncmecReportId);
|
|
R.append(", archiveId=");
|
|
R.append(this.archiveId);
|
|
R.append(", messageId=");
|
|
R.append(this.messageId);
|
|
R.append(", attachmentId=");
|
|
R.append(this.attachmentId);
|
|
R.append(", attachmentHash=");
|
|
return a.D(R, this.attachmentHash, ")");
|
|
}
|
|
}
|