ManifestInfoResponse.smali

.class public final Lcom/garena/reactpush/data/ManifestInfoResponse;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field private final data:Lcom/garena/reactpush/data/ManifestInfo;
    .annotation runtime Lcom/google/gson/annotations/b;
        value = "data"
    .end annotation
.end field

.field private final error:Ljava/lang/Integer;
    .annotation runtime Lcom/google/gson/annotations/b;
        value = "error"
    .end annotation
.end field

.field private final errorMessage:Ljava/lang/String;
    .annotation runtime Lcom/google/gson/annotations/b;
        value = "error_msg"
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/Integer;Ljava/lang/String;Lcom/garena/reactpush/data/ManifestInfo;)V
    .registers 4

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

    iput-object p1, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->error:Ljava/lang/Integer;

    iput-object p2, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->errorMessage:Ljava/lang/String;

    iput-object p3, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->data:Lcom/garena/reactpush/data/ManifestInfo;

    return-void
.end method


# virtual methods
.method public final getData()Lcom/garena/reactpush/data/ManifestInfo;
    .registers 2

    iget-object v0, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->data:Lcom/garena/reactpush/data/ManifestInfo;

    return-object v0
.end method

.method public final getError()Ljava/lang/Integer;
    .registers 2

    iget-object v0, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->error:Ljava/lang/Integer;

    return-object v0
.end method

.method public final getErrorMessage()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->errorMessage:Ljava/lang/String;

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .registers 3

    const-string/jumbo v0, "{error: "

    .line 1
    invoke-static {v0}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 2
    iget-object v1, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->error:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v1, ", errorMessage: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->errorMessage:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", data: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/garena/reactpush/data/ManifestInfoResponse;->data:Lcom/garena/reactpush/data/ManifestInfo;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const/16 v1, 0x7d

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method