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

import X.19Y;
import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.Gson;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.model.UrlModel;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import kotlin.h.b.n;

public final class AwemeTrendingBar implements Serializable {
    @c(LIZ = "display")
    public String display;
    @c(LIZ = "event_keyword")
    public String eventKeyword;
    @c(LIZ = "event_keyword_id")
    public long eventKeywordId;
    @c(LIZ = "event_tracking_param")
    public String eventTrackingParam;
    @c(LIZ = "icon_url")
    public UrlModel iconUrl;
    @c(LIZ = "schema")
    public String schema;

    static {
        Covode.recordClassIndex(78876);
    }

    public AwemeTrendingBar() {
        this((UrlModel) null, (String) null, (String) null, 0, (String) null, (String) null, 63, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_AwemeTrendingBar_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public static /* synthetic */ AwemeTrendingBar copy$default(AwemeTrendingBar awemeTrendingBar, UrlModel urlModel, String str, String str2, long j, String str3, String str4, int i, Object obj) {
        if ((i & 1) != 0) {
            urlModel = awemeTrendingBar.iconUrl;
        }
        if ((i & 2) != 0) {
            str = awemeTrendingBar.display;
        }
        if ((i & 4) != 0) {
            str2 = awemeTrendingBar.schema;
        }
        if ((i & 8) != 0) {
            j = awemeTrendingBar.eventKeywordId;
        }
        if ((i & 16) != 0) {
            str3 = awemeTrendingBar.eventKeyword;
        }
        if ((i & 32) != 0) {
            str4 = awemeTrendingBar.eventTrackingParam;
        }
        return awemeTrendingBar.copy(urlModel, str, str2, j, str3, str4);
    }

    private Object[] getObjects() {
        return new Object[]{this.iconUrl, this.display, this.schema, Long.valueOf(this.eventKeywordId), this.eventKeyword, this.eventTrackingParam};
    }

    public final AwemeTrendingBar copy(UrlModel urlModel, String str, String str2, long j, String str3, String str4) {
        String str5 = str;
        UrlModel urlModel2 = urlModel;
        String str6 = str2;
        String str7 = str4;
        String str8 = str3;
        M12.LIZ(urlModel2, str5, str6, str8, str7);
        return new AwemeTrendingBar(urlModel2, str5, str6, j, str8, str7);
    }

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

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

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

    public final String getDisplay() {
        return this.display;
    }

    public final String getEventKeyword() {
        return this.eventKeyword;
    }

    public final long getEventKeywordId() {
        return this.eventKeywordId;
    }

    public final String getEventTrackingParam() {
        return this.eventTrackingParam;
    }

    public final UrlModel getIconUrl() {
        return this.iconUrl;
    }

    public final String getSchema() {
        return this.schema;
    }

    public final Map<String, String> getTrackMap() {
        19Y r4 = new 19Y();
        try {
            HashMap hashMap = (HashMap) new Gson().LIZ(this.eventTrackingParam, HashMap.class);
            n.LIZIZ(hashMap, "");
            for (Map.Entry entry : hashMap.entrySet()) {
                r4.put(entry.getKey().toString(), entry.getValue().toString());
            }
            return r4;
        } catch (Exception unused) {
            return new 19Y();
        }
    }

    public final void setEventKeywordId(long j) {
        this.eventKeywordId = j;
    }

    public final void setDisplay(String str) {
        M12.LIZ(str);
        this.display = str;
    }

    public final void setEventKeyword(String str) {
        M12.LIZ(str);
        this.eventKeyword = str;
    }

    public final void setEventTrackingParam(String str) {
        M12.LIZ(str);
        this.eventTrackingParam = str;
    }

    public final void setIconUrl(UrlModel urlModel) {
        M12.LIZ(urlModel);
        this.iconUrl = urlModel;
    }

    public final void setSchema(String str) {
        M12.LIZ(str);
        this.schema = str;
    }

    public AwemeTrendingBar(UrlModel urlModel, String str, String str2, long j, String str3, String str4) {
        M12.LIZ(urlModel, str, str2, str3, str4);
        this.iconUrl = urlModel;
        this.display = str;
        this.schema = str2;
        this.eventKeywordId = j;
        this.eventKeyword = str3;
        this.eventTrackingParam = str4;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ AwemeTrendingBar(com.ss.android.ugc.aweme.base.model.UrlModel r9, java.lang.String r10, java.lang.String r11, long r12, java.lang.String r14, java.lang.String r15, int r16, X.AnonymousClass2HN r17) {
        /*
            r8 = this;
            r4 = r12
            r3 = r11
            r1 = r9
            r6 = r14
            r2 = r10
            r0 = r16 & 1
            if (r0 == 0) goto L_0x000e
            com.ss.android.ugc.aweme.base.model.UrlModel r1 = new com.ss.android.ugc.aweme.base.model.UrlModel
            r1.<init>()
        L_0x000e:
            r0 = r16 & 2
            java.lang.String r7 = ""
            if (r0 == 0) goto L_0x0015
            r2 = r7
        L_0x0015:
            r0 = r16 & 4
            if (r0 == 0) goto L_0x001a
            r3 = r7
        L_0x001a:
            r0 = r16 & 8
            if (r0 == 0) goto L_0x0020
            r4 = 0
        L_0x0020:
            r0 = r16 & 16
            if (r0 == 0) goto L_0x0025
            r6 = r7
        L_0x0025:
            r0 = r16 & 32
            if (r0 == 0) goto L_0x002e
        L_0x0029:
            r0 = r8
            r0.<init>(r1, r2, r3, r4, r6, r7)
            return
        L_0x002e:
            r7 = r15
            goto L_0x0029
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.feed.model.AwemeTrendingBar.<init>(com.ss.android.ugc.aweme.base.model.UrlModel, java.lang.String, java.lang.String, long, java.lang.String, java.lang.String, int, X.2HN):void");
    }
}
