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

import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.model.UrlModel;
import java.io.Serializable;
import java.util.Objects;

public final class BottomBarModel implements Serializable {
    @c(LIZ = "content")
    public String content;
    @c(LIZ = "icon")
    public UrlModel icon;
    @c(LIZ = "type")
    public int type;

    static {
        Covode.recordClassIndex(78887);
    }

    public BottomBarModel() {
        this((String) null, 0, (UrlModel) null, 7, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_BottomBarModel_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ BottomBarModel copy$default(BottomBarModel bottomBarModel, String str, int i, UrlModel urlModel, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = bottomBarModel.content;
        }
        if ((i2 & 2) != 0) {
            i = bottomBarModel.type;
        }
        if ((i2 & 4) != 0) {
            urlModel = bottomBarModel.icon;
        }
        return bottomBarModel.copy(str, i, urlModel);
    }

    private Object[] getObjects() {
        return new Object[]{this.content, Integer.valueOf(this.type), this.icon};
    }

    public final BottomBarModel copy(String str, int i, UrlModel urlModel) {
        M12.LIZ(str, urlModel);
        return new BottomBarModel(str, i, urlModel);
    }

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

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

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

    public final String getContent() {
        return this.content;
    }

    public final UrlModel getIcon() {
        return this.icon;
    }

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

    public BottomBarModel(String str, int i, UrlModel urlModel) {
        M12.LIZ(str, urlModel);
        this.content = str;
        this.type = i;
        this.icon = urlModel;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ BottomBarModel(String str, int i, UrlModel urlModel, int i2, AnonymousClass2HN r6) {
        this((i2 & 1) != 0 ? "" : str, (i2 & 2) != 0 ? 0 : i, (i2 & 4) != 0 ? new UrlModel() : urlModel);
    }
}
