package com.ss.android.ugc.aweme.im.sdk.chat.data.model;

import X.2HN;
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.util.Objects;

public final class Title {
    @c(LIZ = "color_type")
    public final int colorType;
    public final UrlModel icon;
    public final String title;

    static {
        Covode.recordClassIndex(84151);
    }

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

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

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

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

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

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

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

    public final int getColorType() {
        return this.colorType;
    }

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

    public final String getTitle() {
        return this.title;
    }

    public Title(UrlModel urlModel, String str, int i) {
        M12.LIZ(urlModel, str);
        this.icon = urlModel;
        this.title = str;
        this.colorType = i;
    }

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