package com.ss.android.ugc.aweme.setting;

import X.AnonymousClass2HN;
import X.C16422tm;
import X.Lel;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;

public final class EoyHighlightConfig implements Parcelable, Serializable {
    public static final Parcelable.Creator<EoyHighlightConfig> CREATOR = new C16422tm();
    @c(LIZ = "color")
    public final String color;
    @c(LIZ = "effect_id")
    public final String effectId;
    @c(LIZ = "url")
    public final String hubUrl;
    @c(LIZ = "is_eoy_campaign")
    public final boolean isEoyCampaign;
    @c(LIZ = "text")
    public final List<String> text;

    static {
        Covode.recordClassIndex(105592);
    }

    public EoyHighlightConfig() {
        this((List) null, (String) null, false, (String) null, (String) null, 31, (AnonymousClass2HN) null);
    }

    private Object[] LIZ() {
        return new Object[]{this.text, this.color, Boolean.valueOf(this.isEoyCampaign), this.effectId, this.hubUrl};
    }

    public static /* synthetic */ EoyHighlightConfig copy$default(EoyHighlightConfig eoyHighlightConfig, List<String> list, String str, boolean z, String str2, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            list = eoyHighlightConfig.text;
        }
        if ((i & 2) != 0) {
            str = eoyHighlightConfig.color;
        }
        if ((i & 4) != 0) {
            z = eoyHighlightConfig.isEoyCampaign;
        }
        if ((i & 8) != 0) {
            str2 = eoyHighlightConfig.effectId;
        }
        if ((i & 16) != 0) {
            str3 = eoyHighlightConfig.hubUrl;
        }
        return eoyHighlightConfig.copy(list, str, z, str2, str3);
    }

    public final EoyHighlightConfig copy(List<String> list, String str, boolean z, String str2, String str3) {
        String str4 = str;
        List<String> list2 = list;
        M12.LIZ(list2, str4);
        return new EoyHighlightConfig(list2, str4, z, str2, str3);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeStringList(this.text);
        parcel.writeString(this.color);
        parcel.writeInt(this.isEoyCampaign ? 1 : 0);
        parcel.writeString(this.effectId);
        parcel.writeString(this.hubUrl);
    }

    public final String getColor() {
        return this.color;
    }

    public final String getEffectId() {
        return this.effectId;
    }

    public final String getHubUrl() {
        return this.hubUrl;
    }

    public final List<String> getText() {
        return this.text;
    }

    public final boolean isEoyCampaign() {
        return this.isEoyCampaign;
    }

    public EoyHighlightConfig(List<String> list, String str, boolean z, String str2, String str3) {
        M12.LIZ(list, str);
        this.text = list;
        this.color = str;
        this.isEoyCampaign = z;
        this.effectId = str2;
        this.hubUrl = str3;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ EoyHighlightConfig(List list, String str, boolean z, String str2, String str3, int i, AnonymousClass2HN r13) {
        this((i & 1) != 0 ? Lel.INSTANCE : list, (i & 2) != 0 ? "" : str, (i & 4) != 0 ? false : z, (i & 8) != 0 ? null : str2, (i & 16) == 0 ? str3 : null);
    }
}
