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

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.Map;
import java.util.Objects;

public final class AnchorCustomData implements Serializable {
    public final String ecEntranceFormMall;
    public final boolean openOnLaunch;
    public boolean shouldOpen;
    public final Map<String, String> trackingData;

    static {
        Covode.recordClassIndex(78830);
    }

    public AnchorCustomData() {
        this(false, (Map) null, (String) null, 7, (2HN) null);
    }

    public static /* synthetic */ AnchorCustomData copy$default(AnchorCustomData anchorCustomData, boolean z, Map<String, String> map, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            z = anchorCustomData.openOnLaunch;
        }
        if ((i & 2) != 0) {
            map = anchorCustomData.trackingData;
        }
        if ((i & 4) != 0) {
            str = anchorCustomData.ecEntranceFormMall;
        }
        return anchorCustomData.copy(z, map, str);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.openOnLaunch), this.trackingData, this.ecEntranceFormMall};
    }

    public final AnchorCustomData copy(boolean z, Map<String, String> map, String str) {
        return new AnchorCustomData(z, map, str);
    }

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

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

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

    public final String getEcEntranceFormMall() {
        return this.ecEntranceFormMall;
    }

    public final boolean getOpenOnLaunch() {
        return this.openOnLaunch;
    }

    public final boolean getShouldOpen() {
        return this.shouldOpen;
    }

    public final Map<String, String> getTrackingData() {
        return this.trackingData;
    }

    public final void setShouldOpen(boolean z) {
        this.shouldOpen = z;
    }

    public AnchorCustomData(boolean z, Map<String, String> map, String str) {
        this.openOnLaunch = z;
        this.trackingData = map;
        this.ecEntranceFormMall = str;
        this.shouldOpen = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ AnchorCustomData(boolean z, Map map, String str, int i, 2HN r7) {
        this((i & 1) != 0 ? false : z, (i & 2) != 0 ? null : map, (i & 4) != 0 ? null : str);
    }
}
