package com.vinfast.companion.map.wrapper.searching;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@kotlin.Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0011\b\u0086\b\u0018\u00002\u00020\u0001B=\u0012\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0004\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0006\u0012\u0010\b\u0002\u0010\n\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\b¢\u0006\u0004\b\u000b\u0010\fJ\u000f\u0010\u000e\u001a\u00020\rH\u0016¢\u0006\u0004\b\u000e\u0010\u000fJ\u000f\u0010\u0011\u001a\u00020\u0010H\u0016¢\u0006\u0004\b\u0011\u0010\u0012JF\u0010\u0013\u001a\u00020\u00002\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00042\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00062\u0010\b\u0002\u0010\n\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\bHÆ\u0001¢\u0006\u0004\b\u0013\u0010\u0014J\u0010\u0010\u0015\u001a\u00020\u0010HÖ\u0001¢\u0006\u0004\b\u0015\u0010\u0012J\u0010\u0010\u0017\u001a\u00020\u0016HÖ\u0001¢\u0006\u0004\b\u0017\u0010\u0018J\u001a\u0010\u001b\u001a\u00020\r2\b\u0010\u001a\u001a\u0004\u0018\u00010\u0019HÖ\u0003¢\u0006\u0004\b\u001b\u0010\u001cR\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0013\u0010\u001d\u001a\u0004\b\u001e\u0010\u001fR\u001c\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0016X\u0096\u0004¢\u0006\f\n\u0004\b \u0010!\u001a\u0004\b\"\u0010#R\u0019\u0010\u0007\u001a\u0004\u0018\u00010\u00068\u0006¢\u0006\f\n\u0004\b\u0011\u0010$\u001a\u0004\b%\u0010&R\u001f\u0010\n\u001a\n\u0012\u0004\u0012\u00020\t\u0018\u00010\b8\u0006¢\u0006\f\n\u0004\b\u001e\u0010'\u001a\u0004\b(\u0010)¨\u0006*"}, d2 = {"Lcom/vinfast/companion/map/wrapper/searching/SearchResult;", "Lcom/vinfast/companion/map/wrapper/support/BaseResult;", "Lcom/here/sdk/core/errors/InstantiationErrorException;", "engineError", "Lcom/vinfast/companion/map/wrapper/support/UserError;", "userError", "Lcom/here/sdk/search/SearchError;", "searchError", "", "Lcom/vinfast/companion/map/model/MapLocation;", "places", "<init>", "(Lcom/here/sdk/core/errors/InstantiationErrorException;Lcom/vinfast/companion/map/wrapper/support/UserError;Lcom/here/sdk/search/SearchError;Ljava/util/List;)V", "", "h", "()Z", "", "c", "()Ljava/lang/String;", "a", "(Lcom/here/sdk/core/errors/InstantiationErrorException;Lcom/vinfast/companion/map/wrapper/support/UserError;Lcom/here/sdk/search/SearchError;Ljava/util/List;)Lcom/vinfast/companion/map/wrapper/searching/SearchResult;", "toString", "", "hashCode", "()I", "", "other", "equals", "(Ljava/lang/Object;)Z", "Lcom/here/sdk/core/errors/InstantiationErrorException;", "d", "()Lcom/here/sdk/core/errors/InstantiationErrorException;", "b", "Lcom/vinfast/companion/map/wrapper/support/UserError;", "g", "()Lcom/vinfast/companion/map/wrapper/support/UserError;", "Lcom/here/sdk/search/SearchError;", "f", "()Lcom/here/sdk/search/SearchError;", "Ljava/util/List;", "e", "()Ljava/util/List;", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class SearchResult implements com.vinfast.companion.map.wrapper.support.BaseResult {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    private final com.here.sdk.core.errors.InstantiationErrorException engineError;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    private final com.vinfast.companion.map.wrapper.support.UserError userError;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    private final com.here.sdk.search.SearchError searchError;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    private final java.util.List places;

    public SearchResult(com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.search.SearchError searchError, java.util.List list) {
        this.engineError = instantiationErrorException;
        this.userError = userError;
        this.searchError = searchError;
        this.places = list;
    }

    public static /* synthetic */ com.vinfast.companion.map.wrapper.searching.SearchResult b(com.vinfast.companion.map.wrapper.searching.SearchResult searchResult, com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.search.SearchError searchError, java.util.List list, int i, java.lang.Object obj) {
        if ((i & 1) != 0) {
            instantiationErrorException = searchResult.engineError;
        }
        if ((i & 2) != 0) {
            userError = searchResult.userError;
        }
        if ((i & 4) != 0) {
            searchError = searchResult.searchError;
        }
        if ((i & 8) != 0) {
            list = searchResult.places;
        }
        return searchResult.a(instantiationErrorException, userError, searchError, list);
    }

    public final com.vinfast.companion.map.wrapper.searching.SearchResult a(com.here.sdk.core.errors.InstantiationErrorException engineError, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.search.SearchError searchError, java.util.List places) {
        return new com.vinfast.companion.map.wrapper.searching.SearchResult(engineError, userError, searchError, places);
    }

    public java.lang.String c() {
        com.here.sdk.core.errors.InstantiationErrorException engineError = getEngineError();
        java.lang.String message = engineError != null ? engineError.getMessage() : null;
        com.vinfast.companion.map.wrapper.support.UserError userError = getUserError();
        java.lang.String strName = userError != null ? userError.name() : null;
        com.here.sdk.search.SearchError searchError = this.searchError;
        return "engineError=" + message + ", userError=" + strName + ", searchError=" + (searchError != null ? searchError.name() : null);
    }

    /* JADX INFO: renamed from: d, reason: from getter */
    public com.here.sdk.core.errors.InstantiationErrorException getEngineError() {
        return this.engineError;
    }

    /* JADX INFO: renamed from: e, reason: from getter */
    public final java.util.List getPlaces() {
        return this.places;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.map.wrapper.searching.SearchResult)) {
            return false;
        }
        com.vinfast.companion.map.wrapper.searching.SearchResult searchResult = (com.vinfast.companion.map.wrapper.searching.SearchResult) other;
        return kotlin.jvm.internal.Intrinsics.g(this.engineError, searchResult.engineError) && this.userError == searchResult.userError && this.searchError == searchResult.searchError && kotlin.jvm.internal.Intrinsics.g(this.places, searchResult.places);
    }

    /* JADX INFO: renamed from: f, reason: from getter */
    public final com.here.sdk.search.SearchError getSearchError() {
        return this.searchError;
    }

    /* JADX INFO: renamed from: g, reason: from getter */
    public com.vinfast.companion.map.wrapper.support.UserError getUserError() {
        return this.userError;
    }

    public boolean h() {
        return (getEngineError() == null && getUserError() == null && this.searchError == null) ? false : true;
    }

    public int hashCode() {
        com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException = this.engineError;
        int iHashCode = (instantiationErrorException == null ? 0 : instantiationErrorException.hashCode()) * 31;
        com.vinfast.companion.map.wrapper.support.UserError userError = this.userError;
        int iHashCode2 = (iHashCode + (userError == null ? 0 : userError.hashCode())) * 31;
        com.here.sdk.search.SearchError searchError = this.searchError;
        int iHashCode3 = (iHashCode2 + (searchError == null ? 0 : searchError.hashCode())) * 31;
        java.util.List list = this.places;
        return iHashCode3 + (list != null ? list.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "SearchResult(engineError=" + this.engineError + ", userError=" + this.userError + ", searchError=" + this.searchError + ", places=" + this.places + ")";
    }

    public /* synthetic */ SearchResult(com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.search.SearchError searchError, java.util.List list, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : instantiationErrorException, (i & 2) != 0 ? null : userError, (i & 4) != 0 ? null : searchError, (i & 8) != 0 ? null : list);
    }
}
