package com.bytedance.android.livesdkapi.depend.model.live;

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

public final class DebugToolState implements Serializable {
    @c(LIZ = "can_debug_tool")
    public Boolean canDebugTool;

    static {
        Covode.recordClassIndex(22210);
    }

    public DebugToolState() {
        this((Boolean) null, 1, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ DebugToolState copy$default(DebugToolState debugToolState, Boolean bool, int i, Object obj) {
        if ((i & 1) != 0) {
            bool = debugToolState.canDebugTool;
        }
        return debugToolState.copy(bool);
    }

    private Object[] getObjects() {
        return new Object[]{this.canDebugTool};
    }

    public final DebugToolState copy(Boolean bool) {
        return new DebugToolState(bool);
    }

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

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

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

    public final Boolean getCanDebugTool() {
        return this.canDebugTool;
    }

    public final void setCanDebugTool(Boolean bool) {
        this.canDebugTool = bool;
    }

    public DebugToolState(Boolean bool) {
        this.canDebugTool = bool;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ DebugToolState(Boolean bool, int i, AnonymousClass2HN r4) {
        this((i & 1) != 0 ? null : bool);
    }
}
