CommentsContent.smali
.class public Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;
.super Ljava/lang/Object;
.source "CommentsContent.java"
# instance fields
.field private meta:Ltr/com/hurriyet/androidsdk/response/comment/Meta;
.field private socialComment:Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
# direct methods
.method public constructor <init>()V
.registers 1
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(Lorg/json/JSONObject;)V
.registers 4
.line 16
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 18
new-instance v0, Ltr/com/hurriyet/androidsdk/response/comment/Meta;
const-string v1, "meta"
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object v1
invoke-direct {v0, v1}, Ltr/com/hurriyet/androidsdk/response/comment/Meta;-><init>(Lorg/json/JSONObject;)V
iput-object v0, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->meta:Ltr/com/hurriyet/androidsdk/response/comment/Meta;
.line 19
new-instance v0, Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
const-string v1, "socialComment"
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object p1
invoke-direct {v0, p1}, Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;-><init>(Lorg/json/JSONObject;)V
iput-object v0, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->socialComment:Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
return-void
.end method
# virtual methods
.method public getMeta()Ltr/com/hurriyet/androidsdk/response/comment/Meta;
.registers 2
.line 24
iget-object v0, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->meta:Ltr/com/hurriyet/androidsdk/response/comment/Meta;
return-object v0
.end method
.method public getSocialComment()Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
.registers 2
.line 32
iget-object v0, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->socialComment:Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
return-object v0
.end method
.method public setMeta(Ltr/com/hurriyet/androidsdk/response/comment/Meta;)V
.registers 2
.line 28
iput-object p1, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->meta:Ltr/com/hurriyet/androidsdk/response/comment/Meta;
return-void
.end method
.method public setSocialComment(Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;)V
.registers 2
.line 36
iput-object p1, p0, Ltr/com/hurriyet/androidsdk/response/comment/CommentsContent;->socialComment:Ltr/com/hurriyet/androidsdk/response/comment/SocialComment;
return-void
.end method