.class public Lcom/moji/http/mqn/SquareListRequest;
.super Lcom/moji/http/mqn/ForumBaseRequest;
.source "SquareListRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/http/mqn/ForumBaseRequest<",
        "Lcom/moji/http/mqn/entity/TopicSquareList;",
        ">;"
    }
.end annotation


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

    const-string v0, "topic/json/get_square_topic_list"

    .line 15
    invoke-direct {p0, v0}, Lcom/moji/http/mqn/ForumBaseRequest;-><init>(Ljava/lang/String;)V

    const-string v0, "square_id"

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

    move-result-object p1

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

    .line 18
    invoke-static {p4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_0

    const-string p1, "type"

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

    .line 21
    :cond_0
    invoke-static {p5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_1

    const-string p1, "page_past"

    .line 22
    invoke-virtual {p0, p1, p5}, Lcom/moji/http/mqn/SquareListRequest;->a(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_1
    const-string p1, "page_cursor"

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

    const-string p1, "page_length"

    const/16 p2, 0x14

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

    move-result-object p2

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

    const-string p1, "is_webp"

    .line 26
    invoke-static {}, Lcom/moji/tool/DeviceTool;->M()Z

    move-result p2

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

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

    return-void
.end method

.method public constructor <init>(Ljava/util/HashMap;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const-string v0, "topic/json/get_square_topic_list"

    .line 30
    invoke-direct {p0, v0, p1}, Lcom/moji/http/mqn/ForumBaseRequest;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    return-void
.end method
