.class public Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;
.super Ljava/lang/Object;
.source "AppInfoResult.java"

# interfaces
.implements Landroid/os/Parcelable;
.implements Ljava/io/Serializable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/http/appmoji001/data/AppInfoResult;
.end annotation

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


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator<",
            "Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public appid:Ljava/lang/String;

.field public charge:Ljava/lang/String;

.field public commentcount:Ljava/lang/String;

.field public desc:Ljava/lang/String;

.field public download:Ljava/lang/String;

.field public icon:Ljava/lang/String;

.field public isfree:Ljava/lang/String;

.field public linkurl:Ljava/lang/String;

.field public name:Ljava/lang/String;

.field public order:Ljava/lang/String;

.field public pkgname:Ljava/lang/String;

.field public size:Ljava/lang/String;

.field public softstate:I

.field public stars:F

.field public token:Ljava/lang/String;

.field public version:Ljava/lang/String;

.field public versioncode:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 223
    new-instance v0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo$1;

    invoke-direct {v0}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo$1;-><init>()V

    sput-object v0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

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

    return-void
.end method

.method public static parseJson(Lorg/json/JSONObject;)Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/json/JSONException;
        }
    .end annotation

    if-nez p0, :cond_0

    const/4 p0, 0x0

    return-object p0

    .line 60
    :cond_0
    new-instance v0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;

    invoke-direct {v0}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;-><init>()V

    const-string v1, "appid"

    .line 61
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setAppid(Ljava/lang/String;)V

    const-string v1, "desc"

    .line 62
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setDesc(Ljava/lang/String;)V

    const-string v1, "icon"

    .line 63
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setIcon(Ljava/lang/String;)V

    const-string v1, "download"

    .line 64
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setDownload(Ljava/lang/String;)V

    const-string v1, "linkurl"

    .line 65
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setLinkurl(Ljava/lang/String;)V

    const-string v1, "name"

    .line 66
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setName(Ljava/lang/String;)V

    const-string v1, "order"

    .line 67
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setOrder(Ljava/lang/String;)V

    const-string v1, "pkgname"

    .line 68
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setPkgName(Ljava/lang/String;)V

    const-string v1, "stars"

    .line 69
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optDouble(Ljava/lang/String;)D

    move-result-wide v1

    double-to-float v1, v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setStars(F)V

    const-string v1, "token"

    .line 70
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setToken(Ljava/lang/String;)V

    const-string v1, "version"

    .line 71
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setVersion(Ljava/lang/String;)V

    const-string v1, "isfree"

    .line 72
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setIsFree(Ljava/lang/String;)V

    const-string v1, "charge"

    .line 73
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setCharge(Ljava/lang/String;)V

    const-string v1, "commentcount"

    .line 74
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setCommentcount(Ljava/lang/String;)V

    const-string v1, "versioncode"

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

    move-result v1

    invoke-virtual {v0, v1}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setVersioncode(I)V

    const-string v1, "size"

    .line 76
    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v0, p0}, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->setSize(Ljava/lang/String;)V

    return-object v0
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public getAppid()Ljava/lang/String;
    .locals 1

    .line 85
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->appid:Ljava/lang/String;

    return-object v0
.end method

.method public getCharge()Ljava/lang/String;
    .locals 1

    .line 89
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->charge:Ljava/lang/String;

    return-object v0
.end method

.method public getCommentcount()Ljava/lang/String;
    .locals 1

    .line 93
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->commentcount:Ljava/lang/String;

    return-object v0
.end method

.method public getDesc()Ljava/lang/String;
    .locals 1

    .line 97
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->desc:Ljava/lang/String;

    return-object v0
.end method

.method public getDownload()Ljava/lang/String;
    .locals 1

    .line 101
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->download:Ljava/lang/String;

    return-object v0
.end method

.method public getIcon()Ljava/lang/String;
    .locals 1

    .line 105
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->icon:Ljava/lang/String;

    return-object v0
.end method

.method public getIsFree()Ljava/lang/String;
    .locals 1

    .line 109
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->isfree:Ljava/lang/String;

    return-object v0
.end method

.method public getLinkurl()Ljava/lang/String;
    .locals 1

    .line 113
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->linkurl:Ljava/lang/String;

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .line 117
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->name:Ljava/lang/String;

    return-object v0
.end method

.method public getOrder()Ljava/lang/String;
    .locals 1

    .line 121
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->order:Ljava/lang/String;

    return-object v0
.end method

.method public getPkgName()Ljava/lang/String;
    .locals 1

    .line 125
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->pkgname:Ljava/lang/String;

    return-object v0
.end method

.method public getSize()Ljava/lang/String;
    .locals 1

    .line 41
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->size:Ljava/lang/String;

    return-object v0
.end method

.method public getSoftstate()I
    .locals 1

    .line 129
    iget v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->softstate:I

    return v0
.end method

.method public getStars()F
    .locals 1

    .line 133
    iget v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->stars:F

    return v0
.end method

.method public getToken()Ljava/lang/String;
    .locals 1

    .line 137
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->token:Ljava/lang/String;

    return-object v0
.end method

.method public getVersion()Ljava/lang/String;
    .locals 1

    .line 141
    iget-object v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->version:Ljava/lang/String;

    return-object v0
.end method

.method public getVersioncode()I
    .locals 1

    .line 49
    iget v0, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->versioncode:I

    return v0
.end method

.method public setAppid(Ljava/lang/String;)V
    .locals 0

    .line 145
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->appid:Ljava/lang/String;

    return-void
.end method

.method public setCharge(Ljava/lang/String;)V
    .locals 0

    .line 149
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->charge:Ljava/lang/String;

    return-void
.end method

.method public setCommentcount(Ljava/lang/String;)V
    .locals 0

    .line 153
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->commentcount:Ljava/lang/String;

    return-void
.end method

.method public setDesc(Ljava/lang/String;)V
    .locals 0

    .line 157
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->desc:Ljava/lang/String;

    return-void
.end method

.method public setDownload(Ljava/lang/String;)V
    .locals 0

    .line 161
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->download:Ljava/lang/String;

    return-void
.end method

.method public setIcon(Ljava/lang/String;)V
    .locals 0

    .line 165
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->icon:Ljava/lang/String;

    return-void
.end method

.method public setIsFree(Ljava/lang/String;)V
    .locals 0

    .line 169
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->isfree:Ljava/lang/String;

    return-void
.end method

.method public setLinkurl(Ljava/lang/String;)V
    .locals 0

    .line 173
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->linkurl:Ljava/lang/String;

    return-void
.end method

.method public setName(Ljava/lang/String;)V
    .locals 0

    .line 177
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->name:Ljava/lang/String;

    return-void
.end method

.method public setOrder(Ljava/lang/String;)V
    .locals 0

    .line 181
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->order:Ljava/lang/String;

    return-void
.end method

.method public setPkgName(Ljava/lang/String;)V
    .locals 0

    .line 185
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->pkgname:Ljava/lang/String;

    return-void
.end method

.method public setSize(Ljava/lang/String;)V
    .locals 0

    .line 45
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->size:Ljava/lang/String;

    return-void
.end method

.method public setSoftstate(I)V
    .locals 0

    .line 189
    iput p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->softstate:I

    return-void
.end method

.method public setStars(F)V
    .locals 0

    .line 193
    iput p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->stars:F

    return-void
.end method

.method public setToken(Ljava/lang/String;)V
    .locals 0

    .line 197
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->token:Ljava/lang/String;

    return-void
.end method

.method public setVersion(Ljava/lang/String;)V
    .locals 0

    .line 201
    iput-object p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->version:Ljava/lang/String;

    return-void
.end method

.method public setVersioncode(I)V
    .locals 0

    .line 53
    iput p1, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->versioncode:I

    return-void
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 0

    .line 205
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->name:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 206
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->order:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 207
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->icon:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 208
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->linkurl:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 209
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->desc:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 210
    iget p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->stars:F

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V

    .line 211
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->download:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 212
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->token:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 213
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->version:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 214
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->appid:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 215
    iget p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->softstate:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 216
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->pkgname:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 217
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->isfree:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 218
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->charge:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 219
    iget p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->versioncode:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 220
    iget-object p2, p0, Lcom/moji/http/appmoji001/data/AppInfoResult$AppInfo;->size:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    return-void
.end method
