package com.ss.android.ugc.aweme.notice.repo.list.bean;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.profile.model.User;
import java.util.Objects;

public final class FollowApproveNotice {
    @c(LIZ = "from_user")
    public final User user;

    static {
        Covode.recordClassIndex(95122);
    }

    public FollowApproveNotice() {
        this((User) null, 1, (2HN) null);
    }

    public static /* synthetic */ FollowApproveNotice copy$default(FollowApproveNotice followApproveNotice, User user2, int i, Object obj) {
        if ((i & 1) != 0) {
            user2 = followApproveNotice.user;
        }
        return followApproveNotice.copy(user2);
    }

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

    public final FollowApproveNotice copy(User user2) {
        return new FollowApproveNotice(user2);
    }

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

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

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

    public final User getUser() {
        return this.user;
    }

    public FollowApproveNotice(User user2) {
        this.user = user2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ FollowApproveNotice(User user2, int i, 2HN r4) {
        this((i & 1) != 0 ? null : user2);
    }
}
