package com.ss.android.ugc.aweme.question.viewmodel;

import X.2HN;
import X.5Am;
import X.B8S;
import X.B8T;
import X.C2853Az3;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class QuestionDetailState implements 5Am {
    public final B8T<C2853Az3> questionDetail;

    static {
        Covode.recordClassIndex(102223);
    }

    public QuestionDetailState() {
        this((B8T) null, 1, (2HN) null);
    }

    public static /* synthetic */ QuestionDetailState copy$default(QuestionDetailState questionDetailState, B8T<C2853Az3> b8t, int i, Object obj) {
        if ((i & 1) != 0) {
            b8t = questionDetailState.questionDetail;
        }
        return questionDetailState.copy(b8t);
    }

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

    public final QuestionDetailState copy(B8T<C2853Az3> b8t) {
        M12.LIZ(b8t);
        return new QuestionDetailState(b8t);
    }

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

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

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

    public final B8T<C2853Az3> getQuestionDetail() {
        return this.questionDetail;
    }

    public QuestionDetailState(B8T<C2853Az3> b8t) {
        M12.LIZ(b8t);
        this.questionDetail = b8t;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ QuestionDetailState(B8T b8t, int i, 2HN r4) {
        this((i & 1) != 0 ? B8S.LIZ : b8t);
    }
}
