package com.ss.android.ugc.aweme.friends.model;

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

public final class RecommendContact extends User {
    public final Integer type;

    static {
        Covode.recordClassIndex(81221);
    }

    public RecommendContact() {
        this((Integer) null, 1, (2HN) null);
    }

    public static /* synthetic */ RecommendContact copy$default(RecommendContact recommendContact, Integer num, int i, Object obj) {
        if ((i & 1) != 0) {
            num = recommendContact.type;
        }
        return recommendContact.copy(num);
    }

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

    public final RecommendContact copy(Integer num) {
        return new RecommendContact(num);
    }

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

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

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

    public final Integer getType() {
        return this.type;
    }

    public RecommendContact(Integer num) {
        this.type = num;
    }

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