package com.vinfast.companion.map.wrapper.routing;

/* 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\u0003\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0010\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\u0012J\u0010\u0010\u0013\u001a\u00020\u0010HÖ\u0001¢\u0006\u0004\b\u0013\u0010\u0012J\u0010\u0010\u0015\u001a\u00020\u0014HÖ\u0001¢\u0006\u0004\b\u0015\u0010\u0016J\u001a\u0010\u0019\u001a\u00020\r2\b\u0010\u0018\u001a\u0004\u0018\u00010\u0017HÖ\u0003¢\u0006\u0004\b\u0019\u0010\u001aR\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0011\u0010\u001b\u001a\u0004\b\u001c\u0010\u001dR\u001c\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u001c\u0010\u001e\u001a\u0004\b\u001f\u0010 R\u0019\u0010\u0007\u001a\u0004\u0018\u00010\u00068\u0006¢\u0006\f\n\u0004\b!\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#\u0010%\u001a\u0004\b!\u0010&¨\u0006'"}, d2 = {"Lcom/vinfast/companion/map/wrapper/routing/RouteResult;", "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/routing/RoutingError;", "routingError", "", "Lcom/here/sdk/routing/Route;", "listRoute", "<init>", "(Lcom/here/sdk/core/errors/InstantiationErrorException;Lcom/vinfast/companion/map/wrapper/support/UserError;Lcom/here/sdk/routing/RoutingError;Ljava/util/List;)V", "", "f", "()Z", "", "a", "()Ljava/lang/String;", "toString", "", "hashCode", "()I", "", "other", "equals", "(Ljava/lang/Object;)Z", "Lcom/here/sdk/core/errors/InstantiationErrorException;", "b", "()Lcom/here/sdk/core/errors/InstantiationErrorException;", "Lcom/vinfast/companion/map/wrapper/support/UserError;", "e", "()Lcom/vinfast/companion/map/wrapper/support/UserError;", "c", "Lcom/here/sdk/routing/RoutingError;", "d", "()Lcom/here/sdk/routing/RoutingError;", "Ljava/util/List;", "()Ljava/util/List;", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class RouteResult 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.routing.RoutingError routingError;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    private final java.util.List listRoute;

    public RouteResult(com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.routing.RoutingError routingError, java.util.List list) {
        this.engineError = instantiationErrorException;
        this.userError = userError;
        this.routingError = routingError;
        this.listRoute = list;
    }

    public java.lang.String a() {
        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.routing.RoutingError routingError = this.routingError;
        return "engineError=" + message + ", userError=" + strName + ", routingError=" + (routingError != null ? routingError.name() : null);
    }

    /* JADX INFO: renamed from: b, reason: from getter */
    public com.here.sdk.core.errors.InstantiationErrorException getEngineError() {
        return this.engineError;
    }

    /* JADX INFO: renamed from: c, reason: from getter */
    public final java.util.List getListRoute() {
        return this.listRoute;
    }

    /* JADX INFO: renamed from: d, reason: from getter */
    public final com.here.sdk.routing.RoutingError getRoutingError() {
        return this.routingError;
    }

    /* JADX INFO: renamed from: e, reason: from getter */
    public com.vinfast.companion.map.wrapper.support.UserError getUserError() {
        return this.userError;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.map.wrapper.routing.RouteResult)) {
            return false;
        }
        com.vinfast.companion.map.wrapper.routing.RouteResult routeResult = (com.vinfast.companion.map.wrapper.routing.RouteResult) other;
        return kotlin.jvm.internal.Intrinsics.g(this.engineError, routeResult.engineError) && this.userError == routeResult.userError && this.routingError == routeResult.routingError && kotlin.jvm.internal.Intrinsics.g(this.listRoute, routeResult.listRoute);
    }

    public boolean f() {
        return (getEngineError() == null && getUserError() == null && this.routingError == 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.routing.RoutingError routingError = this.routingError;
        int iHashCode3 = (iHashCode2 + (routingError == null ? 0 : routingError.hashCode())) * 31;
        java.util.List list = this.listRoute;
        return iHashCode3 + (list != null ? list.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "RouteResult(engineError=" + this.engineError + ", userError=" + this.userError + ", routingError=" + this.routingError + ", listRoute=" + this.listRoute + ")";
    }

    public /* synthetic */ RouteResult(com.here.sdk.core.errors.InstantiationErrorException instantiationErrorException, com.vinfast.companion.map.wrapper.support.UserError userError, com.here.sdk.routing.RoutingError routingError, 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 : routingError, (i & 8) != 0 ? null : list);
    }
}
