154 lines
5.4 KiB
Java
154 lines
5.4 KiB
Java
package com.discord.utilities.presence;
|
|
|
|
import a0.a.a.b;
|
|
import c.d.b.a.a;
|
|
/* compiled from: ActivityUtils.kt */
|
|
public final class StageCallRichPresencePartyData {
|
|
private final int audienceSize;
|
|
private final long channelId;
|
|
private final long guildId;
|
|
private final boolean guildIsPartnered;
|
|
private final boolean guildIsVerified;
|
|
private final int speakerCount;
|
|
private final long stageInstanceId;
|
|
private final boolean userIsSpeaker;
|
|
|
|
public StageCallRichPresencePartyData(long j, long j2, boolean z2, long j3, boolean z3, boolean z4, int i, int i2) {
|
|
this.stageInstanceId = j;
|
|
this.channelId = j2;
|
|
this.userIsSpeaker = z2;
|
|
this.guildId = j3;
|
|
this.guildIsPartnered = z3;
|
|
this.guildIsVerified = z4;
|
|
this.speakerCount = i;
|
|
this.audienceSize = i2;
|
|
}
|
|
|
|
public static /* synthetic */ StageCallRichPresencePartyData copy$default(StageCallRichPresencePartyData stageCallRichPresencePartyData, long j, long j2, boolean z2, long j3, boolean z3, boolean z4, int i, int i2, int i3, Object obj) {
|
|
return stageCallRichPresencePartyData.copy((i3 & 1) != 0 ? stageCallRichPresencePartyData.stageInstanceId : j, (i3 & 2) != 0 ? stageCallRichPresencePartyData.channelId : j2, (i3 & 4) != 0 ? stageCallRichPresencePartyData.userIsSpeaker : z2, (i3 & 8) != 0 ? stageCallRichPresencePartyData.guildId : j3, (i3 & 16) != 0 ? stageCallRichPresencePartyData.guildIsPartnered : z3, (i3 & 32) != 0 ? stageCallRichPresencePartyData.guildIsVerified : z4, (i3 & 64) != 0 ? stageCallRichPresencePartyData.speakerCount : i, (i3 & 128) != 0 ? stageCallRichPresencePartyData.audienceSize : i2);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.stageInstanceId;
|
|
}
|
|
|
|
public final long component2() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public final boolean component3() {
|
|
return this.userIsSpeaker;
|
|
}
|
|
|
|
public final long component4() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final boolean component5() {
|
|
return this.guildIsPartnered;
|
|
}
|
|
|
|
public final boolean component6() {
|
|
return this.guildIsVerified;
|
|
}
|
|
|
|
public final int component7() {
|
|
return this.speakerCount;
|
|
}
|
|
|
|
public final int component8() {
|
|
return this.audienceSize;
|
|
}
|
|
|
|
public final StageCallRichPresencePartyData copy(long j, long j2, boolean z2, long j3, boolean z3, boolean z4, int i, int i2) {
|
|
return new StageCallRichPresencePartyData(j, j2, z2, j3, z3, z4, i, i2);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof StageCallRichPresencePartyData)) {
|
|
return false;
|
|
}
|
|
StageCallRichPresencePartyData stageCallRichPresencePartyData = (StageCallRichPresencePartyData) obj;
|
|
return this.stageInstanceId == stageCallRichPresencePartyData.stageInstanceId && this.channelId == stageCallRichPresencePartyData.channelId && this.userIsSpeaker == stageCallRichPresencePartyData.userIsSpeaker && this.guildId == stageCallRichPresencePartyData.guildId && this.guildIsPartnered == stageCallRichPresencePartyData.guildIsPartnered && this.guildIsVerified == stageCallRichPresencePartyData.guildIsVerified && this.speakerCount == stageCallRichPresencePartyData.speakerCount && this.audienceSize == stageCallRichPresencePartyData.audienceSize;
|
|
}
|
|
|
|
public final int getAudienceSize() {
|
|
return this.audienceSize;
|
|
}
|
|
|
|
public final long getChannelId() {
|
|
return this.channelId;
|
|
}
|
|
|
|
public final long getGuildId() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final boolean getGuildIsPartnered() {
|
|
return this.guildIsPartnered;
|
|
}
|
|
|
|
public final boolean getGuildIsVerified() {
|
|
return this.guildIsVerified;
|
|
}
|
|
|
|
public final int getSpeakerCount() {
|
|
return this.speakerCount;
|
|
}
|
|
|
|
public final long getStageInstanceId() {
|
|
return this.stageInstanceId;
|
|
}
|
|
|
|
public final boolean getUserIsSpeaker() {
|
|
return this.userIsSpeaker;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int a = (b.a(this.channelId) + (b.a(this.stageInstanceId) * 31)) * 31;
|
|
boolean z2 = this.userIsSpeaker;
|
|
int i = 1;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i2 = z2 ? 1 : 0;
|
|
int i3 = z2 ? 1 : 0;
|
|
int i4 = z2 ? 1 : 0;
|
|
int a2 = (b.a(this.guildId) + ((a + i2) * 31)) * 31;
|
|
boolean z3 = this.guildIsPartnered;
|
|
if (z3) {
|
|
z3 = true;
|
|
}
|
|
int i5 = z3 ? 1 : 0;
|
|
int i6 = z3 ? 1 : 0;
|
|
int i7 = z3 ? 1 : 0;
|
|
int i8 = (a2 + i5) * 31;
|
|
boolean z4 = this.guildIsVerified;
|
|
if (!z4) {
|
|
i = z4 ? 1 : 0;
|
|
}
|
|
return ((((i8 + i) * 31) + this.speakerCount) * 31) + this.audienceSize;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("StageCallRichPresencePartyData(stageInstanceId=");
|
|
L.append(this.stageInstanceId);
|
|
L.append(", channelId=");
|
|
L.append(this.channelId);
|
|
L.append(", userIsSpeaker=");
|
|
L.append(this.userIsSpeaker);
|
|
L.append(", guildId=");
|
|
L.append(this.guildId);
|
|
L.append(", guildIsPartnered=");
|
|
L.append(this.guildIsPartnered);
|
|
L.append(", guildIsVerified=");
|
|
L.append(this.guildIsVerified);
|
|
L.append(", speakerCount=");
|
|
L.append(this.speakerCount);
|
|
L.append(", audienceSize=");
|
|
return a.w(L, this.audienceSize, ")");
|
|
}
|
|
}
|