package com.bytedance.android.livesdk.livesetting.game;

import X.AnonymousClass2HN;
import X.CwZ;
import X.Cwu;
import X.LWw;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Map;
import java.util.Objects;

public final class GameBroadcastExceptionConfig implements Serializable {
    @c(LIZ = "exception_info")
    public final Map<Integer, ExceptionInfo> ExceptionInfo;
    @c(LIZ = "enable")
    public final boolean enable;

    static {
        Covode.recordClassIndex(17790);
    }

    public GameBroadcastExceptionConfig() {
        this(false, (Map) null, 3, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ GameBroadcastExceptionConfig copy$default(GameBroadcastExceptionConfig gameBroadcastExceptionConfig, boolean z, Map<Integer, ExceptionInfo> map, int i, Object obj) {
        if ((i & 1) != 0) {
            z = gameBroadcastExceptionConfig.enable;
        }
        if ((i & 2) != 0) {
            map = gameBroadcastExceptionConfig.ExceptionInfo;
        }
        return gameBroadcastExceptionConfig.copy(z, map);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.enable), this.ExceptionInfo};
    }

    public final GameBroadcastExceptionConfig copy(boolean z, Map<Integer, ExceptionInfo> map) {
        return new GameBroadcastExceptionConfig(z, map);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GameBroadcastExceptionConfig)) {
            return false;
        }
        return M12.LIZ(((GameBroadcastExceptionConfig) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("GameBroadcastExceptionConfig:%s,%s", getObjects());
    }

    public final boolean getEnable() {
        return this.enable;
    }

    public final Map<Integer, ExceptionInfo> getExceptionInfo() {
        return this.ExceptionInfo;
    }

    public GameBroadcastExceptionConfig(boolean z, Map<Integer, ExceptionInfo> map) {
        this.enable = z;
        this.ExceptionInfo = map;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ GameBroadcastExceptionConfig(boolean z, Map map, int i, AnonymousClass2HN r14) {
        this((i & 1) != 0 ? false : z, (i & 2) != 0 ? LWw.LIZ(new Cwu[]{CwZ.LIZ(-201, new ExceptionInfo(false, 0, 3, (AnonymousClass2HN) null)), CwZ.LIZ(-202, new ExceptionInfo(false, 0, 3, (AnonymousClass2HN) null)), CwZ.LIZ(-203, new ExceptionInfo(false, 0, 3, (AnonymousClass2HN) null))}) : map);
    }
}
