.class public Lcom/appsflyer/deeplink/DeepLinkResult; .super Ljava/lang/Object; .source "" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/appsflyer/deeplink/DeepLinkResult$Error;, Lcom/appsflyer/deeplink/DeepLinkResult$Status; } .end annotation # instance fields .field private final deepLink:Lcom/appsflyer/deeplink/DeepLink; .field private final error:Lcom/appsflyer/deeplink/DeepLinkResult$Error; .field private final status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; # direct methods .method public constructor (Lcom/appsflyer/deeplink/DeepLink;Lcom/appsflyer/deeplink/DeepLinkResult$Error;)V .locals 0 .param p1 # Lcom/appsflyer/deeplink/DeepLink; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p2 # Lcom/appsflyer/deeplink/DeepLinkResult$Error; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->deepLink:Lcom/appsflyer/deeplink/DeepLink; .line 3 iput-object p2, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->error:Lcom/appsflyer/deeplink/DeepLinkResult$Error; if-eqz p2, :cond_0 .line 4 sget-object p1, Lcom/appsflyer/deeplink/DeepLinkResult$Status;->ERROR:Lcom/appsflyer/deeplink/DeepLinkResult$Status; iput-object p1, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; goto :goto_0 :cond_0 if-eqz p1, :cond_1 .line 5 sget-object p1, Lcom/appsflyer/deeplink/DeepLinkResult$Status;->FOUND:Lcom/appsflyer/deeplink/DeepLinkResult$Status; iput-object p1, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; goto :goto_0 .line 6 :cond_1 sget-object p1, Lcom/appsflyer/deeplink/DeepLinkResult$Status;->NOT_FOUND:Lcom/appsflyer/deeplink/DeepLinkResult$Status; iput-object p1, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; :goto_0 return-void .end method # virtual methods .method public getDeepLink()Lcom/appsflyer/deeplink/DeepLink; .locals 1 .line 1 iget-object v0, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->deepLink:Lcom/appsflyer/deeplink/DeepLink; return-object v0 .end method .method public getError()Lcom/appsflyer/deeplink/DeepLinkResult$Error; .locals 1 .line 1 iget-object v0, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->error:Lcom/appsflyer/deeplink/DeepLinkResult$Error; return-object v0 .end method .method public getStatus()Lcom/appsflyer/deeplink/DeepLinkResult$Status; .locals 1 .line 1 iget-object v0, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; return-object v0 .end method .method public toString()Ljava/lang/String; .locals 3 .line 1 new-instance v0, Lorg/json/JSONObject; invoke-direct {v0}, Lorg/json/JSONObject;->()V :try_start_0 const-string v1, "deepLink" .line 2 iget-object v2, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->deepLink:Lcom/appsflyer/deeplink/DeepLink; invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v1, "error" .line 3 iget-object v2, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->error:Lcom/appsflyer/deeplink/DeepLinkResult$Error; invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v1, "status" .line 4 iget-object v2, p0, Lcom/appsflyer/deeplink/DeepLinkResult;->status:Lcom/appsflyer/deeplink/DeepLinkResult$Status; invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; :try_end_0 .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 .line 5 :catch_0 invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method