a.smali
.class public Lcom/cmcm/xiaobao/phone/ui/hi/a;
.super Ljava/lang/Object;
# direct methods
.method public static a()Lcom/sdk/orion/bean/SpeakerHistory;
.registers 9
const/4 v8, 0x0
const-string/jumbo v0, "{\"count\":1,\"timeline\":1505615519,\"more\":false,\"items\":[{\"historyId\":\"16113022\",\"sessionId\":\"3eb0ac84-7b8d-4399-99eb-18ad6acf99cd\",\"createDt\":0,\"request\":{\"domain\":\"chat\",\"intent\":\"chat\",\"text\":\"\\u4f60\",\"url\":\"http:\\/\\/110.40.16.57:18080\\/storge\\/hbase?key=3eb0ac84-7b8d-4399-99eb-18ad6acf99cd\",\"feedback\":\"\",\"isMiddleResult\":\"0\"},\"response\":{\"text\":\"\\u4f60\\u5728\\u7684\\u65f6\\u5019\\uff0c\\u4f60\\u662f\\u4e00\\u5207\\uff0c\\u4f60\\u4e0d\\u5728\\u7684\\u65f6\\u5019\\uff0c\\u4e00\\u5207\\u662f\\u4f60\\u3002\\u4f60\\u597d\\uff0c\\u6211\\u662f\\u5c0f\\u96c5\\uff0c\\u5f88\\u9ad8\\u5174\\u53c8\\u89c1\\u9762\\u4e86\\u3002\",\"data\":[{}],\"feedback\":\"\"},\"version\":1}]}"
new-instance v1, Lcom/a/b/f/d;
invoke-direct {v1}, Lcom/a/b/f/d;-><init>()V
const-class v2, Lcom/sdk/orion/bean/SpeakerHistory;
invoke-virtual {v1, v0, v2}, Lcom/a/b/f/d;->a(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sdk/orion/bean/SpeakerHistory;
iget-object v1, v0, Lcom/sdk/orion/bean/SpeakerHistory;->items:Ljava/util/List;
invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/sdk/orion/bean/SpeakerHistory$History;
iget-object v2, v0, Lcom/sdk/orion/bean/SpeakerHistory;->items:Ljava/util/List;
invoke-interface {v2, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/sdk/orion/bean/SpeakerHistory$History;
iget-object v3, v2, Lcom/sdk/orion/bean/SpeakerHistory$History;->response:Lcom/sdk/orion/bean/SpeakerHistory$Response;
iget-object v2, v0, Lcom/sdk/orion/bean/SpeakerHistory;->items:Ljava/util/List;
invoke-interface {v2, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/sdk/orion/bean/SpeakerHistory$History;
iget-object v2, v2, Lcom/sdk/orion/bean/SpeakerHistory$History;->request:Lcom/sdk/orion/bean/SpeakerHistory$Request;
const-string/jumbo v4, "hi"
iput-object v4, v2, Lcom/sdk/orion/bean/SpeakerHistory$Request;->domain:Ljava/lang/String;
const-string/jumbo v4, "hello"
iput-object v4, v2, Lcom/sdk/orion/bean/SpeakerHistory$Request;->text:Ljava/lang/String;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
const-wide/16 v6, 0x3e8
div-long/2addr v4, v6
iput-wide v4, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->createDt:J
invoke-static {}, Lcom/cmcm/xiaobao/phone/OrionApplication;->getAppContext()Landroid/content/Context;
move-result-object v4
const v5, 0x7f0a06d4
invoke-virtual {v4, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v4
iput-object v4, v3, Lcom/sdk/orion/bean/SpeakerHistory$Response;->text:Ljava/lang/String;
const/4 v4, 0x0
iput-object v4, v3, Lcom/sdk/orion/bean/SpeakerHistory$Response;->recommands:Lcom/sdk/orion/bean/SpeakerHistory$Recommands;
iput-object v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->request:Lcom/sdk/orion/bean/SpeakerHistory$Request;
iput-object v3, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->response:Lcom/sdk/orion/bean/SpeakerHistory$Response;
iput-boolean v8, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->needCorrect:Z
const/4 v2, 0x1
iput-boolean v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->isHello:Z
const-wide/16 v2, 0x0
iput-wide v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->createDt:J
return-object v0
.end method
.method public static b()Lcom/sdk/orion/bean/SpeakerHistory;
.registers 7
const/4 v6, 0x0
new-instance v0, Lcom/sdk/orion/bean/SpeakerHistory;
invoke-direct {v0}, Lcom/sdk/orion/bean/SpeakerHistory;-><init>()V
new-instance v1, Lcom/sdk/orion/bean/SpeakerHistory$History;
invoke-direct {v1}, Lcom/sdk/orion/bean/SpeakerHistory$History;-><init>()V
new-instance v2, Lcom/sdk/orion/bean/SpeakerHistory$Response;
invoke-direct {v2}, Lcom/sdk/orion/bean/SpeakerHistory$Response;-><init>()V
new-instance v3, Lcom/sdk/orion/bean/SpeakerHistory$Request;
invoke-direct {v3}, Lcom/sdk/orion/bean/SpeakerHistory$Request;-><init>()V
const-string/jumbo v4, "hi"
iput-object v4, v3, Lcom/sdk/orion/bean/SpeakerHistory$Request;->domain:Ljava/lang/String;
iput-object v6, v3, Lcom/sdk/orion/bean/SpeakerHistory$Request;->text:Ljava/lang/String;
const-wide/16 v4, 0x0
iput-wide v4, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->createDt:J
const-string/jumbo v4, ""
iput-object v4, v2, Lcom/sdk/orion/bean/SpeakerHistory$Response;->text:Ljava/lang/String;
iput-object v6, v2, Lcom/sdk/orion/bean/SpeakerHistory$Response;->recommands:Lcom/sdk/orion/bean/SpeakerHistory$Recommands;
iput-object v3, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->request:Lcom/sdk/orion/bean/SpeakerHistory$Request;
iput-object v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->response:Lcom/sdk/orion/bean/SpeakerHistory$Response;
const/4 v2, 0x0
iput-boolean v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->needCorrect:Z
const/4 v2, 0x1
iput-boolean v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->isHello:Z
const-string/jumbo v2, "0"
iput-object v2, v1, Lcom/sdk/orion/bean/SpeakerHistory$History;->historyId:Ljava/lang/String;
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
iput-object v2, v0, Lcom/sdk/orion/bean/SpeakerHistory;->items:Ljava/util/List;
return-object v0
.end method