.class public Lcom/in2wow/sdk/a/a$a;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/in2wow/sdk/a/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "a"
.end annotation


# instance fields
.field public a:Lcom/in2wow/sdk/i/c$a;

.field public b:I


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 294
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 295
    iput-object v0, p0, Lcom/in2wow/sdk/a/a$a;->a:Lcom/in2wow/sdk/i/c$a;

    const/4 v0, -0x1

    .line 296
    iput v0, p0, Lcom/in2wow/sdk/a/a$a;->b:I

    return-void
.end method

.method public static a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/a/a$a;
    .locals 3

    const/4 v0, 0x0

    if-nez p0, :cond_0

    return-object v0

    .line 301
    :cond_0
    new-instance v1, Lcom/in2wow/sdk/a/a$a;

    invoke-direct {v1}, Lcom/in2wow/sdk/a/a$a;-><init>()V

    :try_start_0
    const-string v2, "type"

    .line 303
    invoke-virtual {p0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/in2wow/sdk/i/c$a;->valueOf(Ljava/lang/String;)Lcom/in2wow/sdk/i/c$a;

    move-result-object v2

    iput-object v2, v1, Lcom/in2wow/sdk/a/a$a;->a:Lcom/in2wow/sdk/i/c$a;

    const-string v2, "value"

    .line 304
    invoke-virtual {p0, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result p0

    iput p0, v1, Lcom/in2wow/sdk/a/a$a;->b:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v1

    :catch_0
    return-object v0
.end method
