2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.utilities.channel;
|
|
|
|
|
|
|
|
import c.d.b.a.a;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
|
|
/* compiled from: ChannelPermissionUtils.kt */
|
|
|
|
public final class PermissionLabelOverrides {
|
|
|
|
private final CharSequence announcementChannelSubtext;
|
|
|
|
private final CharSequence categoryEveryoneSubtext;
|
|
|
|
private final String categoryLabel;
|
|
|
|
private final CharSequence categorySubtext;
|
|
|
|
private final String stageChannelEveryoneSubtext;
|
|
|
|
private final CharSequence stageChannelSubtext;
|
|
|
|
private final String textChannelEveryoneSubtext;
|
|
|
|
private final String voiceChannelEveryoneSubtext;
|
|
|
|
private final String voiceChannelSubtext;
|
|
|
|
|
|
|
|
public PermissionLabelOverrides(CharSequence charSequence, String str, String str2, CharSequence charSequence2, String str3, String str4, String str5, CharSequence charSequence3, CharSequence charSequence4) {
|
|
|
|
m.checkNotNullParameter(charSequence, "categorySubtext");
|
|
|
|
this.categorySubtext = charSequence;
|
|
|
|
this.categoryLabel = str;
|
|
|
|
this.voiceChannelSubtext = str2;
|
|
|
|
this.stageChannelSubtext = charSequence2;
|
|
|
|
this.textChannelEveryoneSubtext = str3;
|
|
|
|
this.voiceChannelEveryoneSubtext = str4;
|
|
|
|
this.stageChannelEveryoneSubtext = str5;
|
|
|
|
this.categoryEveryoneSubtext = charSequence3;
|
|
|
|
this.announcementChannelSubtext = charSequence4;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
|
|
|
public /* synthetic */ PermissionLabelOverrides(CharSequence charSequence, String str, String str2, CharSequence charSequence2, String str3, String str4, String str5, CharSequence charSequence3, CharSequence charSequence4, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
|
|
this(charSequence, (i & 2) != 0 ? null : str, (i & 4) != 0 ? null : str2, (i & 8) != 0 ? null : charSequence2, (i & 16) != 0 ? null : str3, (i & 32) != 0 ? null : str4, (i & 64) != 0 ? null : str5, (i & 128) != 0 ? null : charSequence3, (i & 256) == 0 ? charSequence4 : null);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static /* synthetic */ PermissionLabelOverrides copy$default(PermissionLabelOverrides permissionLabelOverrides, CharSequence charSequence, String str, String str2, CharSequence charSequence2, String str3, String str4, String str5, CharSequence charSequence3, CharSequence charSequence4, int i, Object obj) {
|
|
|
|
return permissionLabelOverrides.copy((i & 1) != 0 ? permissionLabelOverrides.categorySubtext : charSequence, (i & 2) != 0 ? permissionLabelOverrides.categoryLabel : str, (i & 4) != 0 ? permissionLabelOverrides.voiceChannelSubtext : str2, (i & 8) != 0 ? permissionLabelOverrides.stageChannelSubtext : charSequence2, (i & 16) != 0 ? permissionLabelOverrides.textChannelEveryoneSubtext : str3, (i & 32) != 0 ? permissionLabelOverrides.voiceChannelEveryoneSubtext : str4, (i & 64) != 0 ? permissionLabelOverrides.stageChannelEveryoneSubtext : str5, (i & 128) != 0 ? permissionLabelOverrides.categoryEveryoneSubtext : charSequence3, (i & 256) != 0 ? permissionLabelOverrides.announcementChannelSubtext : charSequence4);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence component1() {
|
|
|
|
return this.categorySubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component2() {
|
|
|
|
return this.categoryLabel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component3() {
|
|
|
|
return this.voiceChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence component4() {
|
|
|
|
return this.stageChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component5() {
|
|
|
|
return this.textChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component6() {
|
|
|
|
return this.voiceChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component7() {
|
|
|
|
return this.stageChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence component8() {
|
|
|
|
return this.categoryEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence component9() {
|
|
|
|
return this.announcementChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final PermissionLabelOverrides copy(CharSequence charSequence, String str, String str2, CharSequence charSequence2, String str3, String str4, String str5, CharSequence charSequence3, CharSequence charSequence4) {
|
|
|
|
m.checkNotNullParameter(charSequence, "categorySubtext");
|
|
|
|
return new PermissionLabelOverrides(charSequence, str, str2, charSequence2, str3, str4, str5, charSequence3, charSequence4);
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(obj instanceof PermissionLabelOverrides)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
PermissionLabelOverrides permissionLabelOverrides = (PermissionLabelOverrides) obj;
|
|
|
|
return m.areEqual(this.categorySubtext, permissionLabelOverrides.categorySubtext) && m.areEqual(this.categoryLabel, permissionLabelOverrides.categoryLabel) && m.areEqual(this.voiceChannelSubtext, permissionLabelOverrides.voiceChannelSubtext) && m.areEqual(this.stageChannelSubtext, permissionLabelOverrides.stageChannelSubtext) && m.areEqual(this.textChannelEveryoneSubtext, permissionLabelOverrides.textChannelEveryoneSubtext) && m.areEqual(this.voiceChannelEveryoneSubtext, permissionLabelOverrides.voiceChannelEveryoneSubtext) && m.areEqual(this.stageChannelEveryoneSubtext, permissionLabelOverrides.stageChannelEveryoneSubtext) && m.areEqual(this.categoryEveryoneSubtext, permissionLabelOverrides.categoryEveryoneSubtext) && m.areEqual(this.announcementChannelSubtext, permissionLabelOverrides.announcementChannelSubtext);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence getAnnouncementChannelSubtext() {
|
|
|
|
return this.announcementChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence getCategoryEveryoneSubtext() {
|
|
|
|
return this.categoryEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getCategoryLabel() {
|
|
|
|
return this.categoryLabel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence getCategorySubtext() {
|
|
|
|
return this.categorySubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getStageChannelEveryoneSubtext() {
|
|
|
|
return this.stageChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final CharSequence getStageChannelSubtext() {
|
|
|
|
return this.stageChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getTextChannelEveryoneSubtext() {
|
|
|
|
return this.textChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getVoiceChannelEveryoneSubtext() {
|
|
|
|
return this.voiceChannelEveryoneSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String getVoiceChannelSubtext() {
|
|
|
|
return this.voiceChannelSubtext;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int hashCode() {
|
|
|
|
CharSequence charSequence = this.categorySubtext;
|
|
|
|
int i = 0;
|
|
|
|
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
|
|
|
|
String str = this.categoryLabel;
|
|
|
|
int hashCode2 = (hashCode + (str != null ? str.hashCode() : 0)) * 31;
|
|
|
|
String str2 = this.voiceChannelSubtext;
|
|
|
|
int hashCode3 = (hashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
|
|
CharSequence charSequence2 = this.stageChannelSubtext;
|
|
|
|
int hashCode4 = (hashCode3 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
|
|
|
|
String str3 = this.textChannelEveryoneSubtext;
|
|
|
|
int hashCode5 = (hashCode4 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
|
|
|
String str4 = this.voiceChannelEveryoneSubtext;
|
|
|
|
int hashCode6 = (hashCode5 + (str4 != null ? str4.hashCode() : 0)) * 31;
|
|
|
|
String str5 = this.stageChannelEveryoneSubtext;
|
|
|
|
int hashCode7 = (hashCode6 + (str5 != null ? str5.hashCode() : 0)) * 31;
|
|
|
|
CharSequence charSequence3 = this.categoryEveryoneSubtext;
|
|
|
|
int hashCode8 = (hashCode7 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
|
|
|
|
CharSequence charSequence4 = this.announcementChannelSubtext;
|
|
|
|
if (charSequence4 != null) {
|
|
|
|
i = charSequence4.hashCode();
|
|
|
|
}
|
|
|
|
return hashCode8 + i;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2021-08-18 07:29:27 +00:00
|
|
|
StringBuilder L = a.L("PermissionLabelOverrides(categorySubtext=");
|
|
|
|
L.append(this.categorySubtext);
|
|
|
|
L.append(", categoryLabel=");
|
|
|
|
L.append(this.categoryLabel);
|
|
|
|
L.append(", voiceChannelSubtext=");
|
|
|
|
L.append(this.voiceChannelSubtext);
|
|
|
|
L.append(", stageChannelSubtext=");
|
|
|
|
L.append(this.stageChannelSubtext);
|
|
|
|
L.append(", textChannelEveryoneSubtext=");
|
|
|
|
L.append(this.textChannelEveryoneSubtext);
|
|
|
|
L.append(", voiceChannelEveryoneSubtext=");
|
|
|
|
L.append(this.voiceChannelEveryoneSubtext);
|
|
|
|
L.append(", stageChannelEveryoneSubtext=");
|
|
|
|
L.append(this.stageChannelEveryoneSubtext);
|
|
|
|
L.append(", categoryEveryoneSubtext=");
|
|
|
|
L.append(this.categoryEveryoneSubtext);
|
|
|
|
L.append(", announcementChannelSubtext=");
|
|
|
|
return a.z(L, this.announcementChannelSubtext, ")");
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|