.class public Lcom/moji/http/wcr/WeatherCorrectRequest;
.super Lcom/moji/http/wcr/WCRWeatherFeedRequest;
.source "WeatherCorrectRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/http/wcr/WCRWeatherFeedRequest<",
        "Lcom/moji/http/wcr/WCRWeatherCorrectResp;",
        ">;"
    }
.end annotation


# direct methods
.method public constructor <init>(JILjava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Double;JLjava/lang/String;)V
    .locals 1

    .line 12
    invoke-direct {p0}, Lcom/moji/http/wcr/WCRWeatherFeedRequest;-><init>()V

    const-string v0, "city_id"

    .line 13
    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p0, v0, p1}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string p1, "source_icon"

    .line 14
    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    invoke-virtual {p0, p1, p2}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string p1, "source_desc"

    .line 15
    invoke-virtual {p0, p1, p4}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string p1, "correct_icon"

    .line 16
    invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    invoke-virtual {p0, p1, p2}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string p1, "correct_desc"

    .line 17
    invoke-virtual {p0, p1, p6}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string p1, "location"

    .line 18
    invoke-virtual {p0, p1, p7}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-wide/16 p1, 0x0

    cmp-long p3, p10, p1

    if-eqz p3, :cond_0

    const-string p1, "weather_update_time"

    .line 21
    invoke-static {p10, p11}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p2

    invoke-virtual {p0, p1, p2}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 23
    :cond_0
    invoke-virtual {p9}, Ljava/lang/Double;->doubleValue()D

    move-result-wide p1

    const-wide/16 p3, 0x0

    cmpl-double p5, p1, p3

    if-eqz p5, :cond_1

    const-string p1, "longitude"

    .line 24
    invoke-virtual {p0, p1, p9}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 26
    :cond_1
    invoke-virtual {p8}, Ljava/lang/Double;->doubleValue()D

    move-result-wide p1

    cmpl-double p5, p1, p3

    if-eqz p5, :cond_2

    const-string p1, "latitude"

    .line 27
    invoke-virtual {p0, p1, p8}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_2
    const-string p1, "content"

    .line 29
    invoke-virtual {p0, p1, p12}, Lcom/moji/http/wcr/WeatherCorrectRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    return-void
.end method


# virtual methods
.method protected a()Lcom/moji/requestcore/method/MJMethod;
    .locals 2

    .line 34
    new-instance v0, Lcom/moji/requestcore/method/POST_JSON;

    new-instance v1, Lcom/moji/requestcore/encrypt/DefaultEncryptParamImpl;

    invoke-direct {v1}, Lcom/moji/requestcore/encrypt/DefaultEncryptParamImpl;-><init>()V

    invoke-direct {v0, v1}, Lcom/moji/requestcore/method/POST_JSON;-><init>(Lcom/moji/requestcore/encrypt/IEncryptParams;)V

    return-object v0
.end method
