discord-jadx/app/src/main/java/com/discord/widgets/guilds/create/ChannelTemplate.java

48 lines
1.5 KiB
Java

package com.discord.widgets.guilds.create;
import com.discord.models.domain.ModelAuditLogEntry;
import d0.z.d.m;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: StockGuildTemplate.kt */
public abstract class ChannelTemplate {
/* renamed from: id reason: collision with root package name */
private final Long f2813id;
private final String name;
/* compiled from: StockGuildTemplate.kt */
public static final class NormalChannel extends ChannelTemplate {
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public NormalChannel(String str) {
super(null, str, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
}
}
/* compiled from: StockGuildTemplate.kt */
public static final class SystemChannel extends ChannelTemplate {
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public SystemChannel(String str) {
super(11L, str, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
}
}
private ChannelTemplate(Long l, String str) {
this.f2813id = l;
this.name = str;
}
public /* synthetic */ ChannelTemplate(Long l, String str, DefaultConstructorMarker defaultConstructorMarker) {
this(l, str);
}
public final Long getId() {
return this.f2813id;
}
public final String getName() {
return this.name;
}
}