package com.ss.android.ugc.aweme.im.sdk.chat.feature.group.invite;

import X.2HN;
import X.5Am;
import X.B8Q;
import X.B8S;
import X.B8T;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.im.sdk.chat.feature.group.data.model.AcceptInviteCardResponse;
import com.ss.android.ugc.aweme.im.sdk.chat.feature.group.data.model.InviteCardDetailInnerResponse;
import java.util.Objects;

public final class GroupInviteState implements 5Am {
    public final B8T<InviteCardDetailInnerResponse> asyncDetail;
    public final B8T<AcceptInviteCardResponse> asyncJoin;
    public final boolean close;
    public final B8Q group;

    static {
        Covode.recordClassIndex(84356);
    }

    public GroupInviteState() {
        this((B8Q) null, (B8T) null, (B8T) null, false, 15, (2HN) null);
    }

    public static /* synthetic */ GroupInviteState copy$default(GroupInviteState groupInviteState, B8Q b8q, B8T<InviteCardDetailInnerResponse> b8t, B8T<AcceptInviteCardResponse> b8t2, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            b8q = groupInviteState.group;
        }
        if ((i & 2) != 0) {
            b8t = groupInviteState.asyncDetail;
        }
        if ((i & 4) != 0) {
            b8t2 = groupInviteState.asyncJoin;
        }
        if ((i & 8) != 0) {
            z = groupInviteState.close;
        }
        return groupInviteState.copy(b8q, b8t, b8t2, z);
    }

    private Object[] getObjects() {
        return new Object[]{this.group, this.asyncDetail, this.asyncJoin, Boolean.valueOf(this.close)};
    }

    public final GroupInviteState copy(B8Q b8q, B8T<InviteCardDetailInnerResponse> b8t, B8T<AcceptInviteCardResponse> b8t2, boolean z) {
        M12.LIZ(b8t, b8t2);
        return new GroupInviteState(b8q, b8t, b8t2, z);
    }

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

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

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

    public final B8T<InviteCardDetailInnerResponse> getAsyncDetail() {
        return this.asyncDetail;
    }

    public final B8T<AcceptInviteCardResponse> getAsyncJoin() {
        return this.asyncJoin;
    }

    public final boolean getClose() {
        return this.close;
    }

    public final B8Q getGroup() {
        return this.group;
    }

    public GroupInviteState(B8Q b8q, B8T<InviteCardDetailInnerResponse> b8t, B8T<AcceptInviteCardResponse> b8t2, boolean z) {
        M12.LIZ(b8t, b8t2);
        this.group = b8q;
        this.asyncDetail = b8t;
        this.asyncJoin = b8t2;
        this.close = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ GroupInviteState(B8Q b8q, B8T b8t, B8T b8t2, boolean z, int i, 2HN r7) {
        this((i & 1) != 0 ? null : b8q, (i & 2) != 0 ? B8S.LIZ : b8t, (i & 4) != 0 ? B8S.LIZ : b8t2, (i & 8) != 0 ? false : z);
    }
}
