package com.zys.chatmachine.bean;
import java.util.List;
/**
* 图灵机器人发送回来的信息的JavaBean类
* Created by zm678 on 2018/9/21.
*/
public class ResponseResult {
/**
* emotion : {"robotEmotion":{"a":0,"d":0,"emotionId":0,"p":0},"userEmotion":{"a":0,"d":0,"emotionId":0,"p":0}}
* intent : {"actionName":"","code":10004,"intentName":""}
* results : [{"groupType":1,"resultType":"text","values":{"text":"在下西单,请多多指教。"}}]
*/
private EmotionBean emotion;
private IntentBean intent;
private List<ResultsBean> results;
public EmotionBean getEmotion() {
return emotion;
}
public void setEmotion(EmotionBean emotion) {
this.emotion = emotion;
}
public IntentBean getIntent() {
return intent;
}
public void setIntent(IntentBean intent) {
this.intent = intent;
}
public List<ResultsBean> getResults() {
return results;
}
public void setResults(List<ResultsBean> results) {
this.results = results;
}
public static class EmotionBean {
/**
* robotEmotion : {"a":0,"d":0,"emotionId":0,"p":0}
* userEmotion : {"a":0,"d":0,"emotionId":0,"p":0}
*/
private RobotEmotionBean robotEmotion;
private UserEmotionBean userEmotion;
public RobotEmotionBean getRobotEmotion() {
return robotEmotion;
}
public void setRobotEmotion(RobotEmotionBean robotEmotion) {
this.robotEmotion = robotEmotion;
}
public UserEmotionBean getUserEmotion() {
return userEmotion;
}
public void setUserEmotion(UserEmotionBean userEmotion) {
this.userEmotion = userEmotion;
}
public static class RobotEmotionBean {
/**
* a : 0
* d : 0
* emotionId : 0
* p : 0
*/
private int a;
private int d;
private int emotionId;
private int p;
public int getA() {
return a;
}
public void setA(int a) {
this.a = a;
}
public int getD() {
return d;
}
public void setD(int d) {
this.d = d;
}
public int getEmotionId() {
return emotionId;
}
public void setEmotionId(int emotionId) {
this.emotionId = emotionId;
}
public int getP() {
return p;
}
public void setP(int p) {
this.p = p;
}
}
public static class UserEmotionBean {
/**
* a : 0
* d : 0
* emotionId : 0
* p : 0
*/
private int a;
private int d;
private int emotionId;
private int p;
public int getA() {
return a;
}
public void setA(int a) {
this.a = a;
}
public int getD() {
return d;
}
public void setD(int d) {
this.d = d;
}
public int getEmotionId() {
return emotionId;
}
public void setEmotionId(int emotionId) {
this.emotionId = emotionId;
}
public int getP() {
return p;
}
public void setP(int p) {
this.p = p;
}
}
}
public static class IntentBean {
/**
* actionName :
* code : 10004
* intentName :
*/
private String actionName;
private int code;
private String intentName;
public String getActionName() {
return actionName;
}
public void setActionName(String actionName) {
this.actionName = actionName;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getIntentName() {
return intentName;
}
public void setIntentName(String intentName) {
this.intentName = intentName;
}
}
public static class ResultsBean {
/**
* groupType : 1
* resultType : text
* values : {"text":"在下西单,请多多指教。"}
*/
private int groupType;
private String resultType;
private ValuesBean values;
public int getGroupType() {
return groupType;
}
public void setGroupType(int groupType) {
this.groupType = groupType;
}
public String getResultType() {
return resultType;
}
public void setResultType(String resultType) {
this.resultType = resultType;
}
public ValuesBean getValues() {
return values;
}
public void setValues(ValuesBean values) {
this.values = values;
}
public static class ValuesBean {
/**
* text : 在下西单,请多多指教。
*/
private String text;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
个人独立开发的一款基于图灵机器人API的聊天机器人,用于学习。.zip (63个子文件)
ignore481169
gradle.properties 730B
gradle
wrapper
gradle-wrapper.jar 52KB
gradle-wrapper.properties 233B
app
src
androidTest
java
com
zys
chatmachine
ExampleInstrumentedTest.java 742B
test
java
com
zys
chatmachine
ExampleUnitTest.java 397B
main
java
com
zys
chatmachine
HideSoftInputActivity.java 2KB
MyAdapter.java 2KB
Workaround.java 3KB
biz
IConnectBiz.java 246B
JsonBiz.java 2KB
ConnectBiz.java 3KB
OnConnectListener.java 184B
IJsonBiz.java 221B
presenter
ChatPresenter.java 4KB
view
MyToolbar.java 646B
IChatView.java 190B
MyRelativeLayout.java 641B
MainActivity.java 4KB
MyViewHolder.java 844B
bean
ChatMessage.java 873B
ResponseResult.java 6KB
res
mipmap-xxhdpi
icon_robot.png 10KB
ic_launcher.png 8KB
mipmap-hdpi
ic_launcher.png 3KB
values-v19
styles.xml 290B
mipmap-mdpi
ic_launcher.png 2KB
mipmap-xxxhdpi
ic_launcher.png 10KB
mipmap-xhdpi
ic_launcher.png 5KB
values-w820dp
dimens.xml 358B
values
dimens.xml 211B
colors.xml 491B
strings.xml 433B
styles.xml 380B
layout
my_chat.xml 2KB
activity_main.xml 3KB
out_chat.xml 2KB
drawable
btn_normal.9.png 644B
login_edit.9.png 496B
my_avator.png 698B
btn_pressed.9.png 694B
out_avator.png 681B
out_bg.9.png 4KB
my_bg.9.png 3KB
edit_text_cursor.xml 228B
btn_bg.xml 258B
AndroidManifest.xml 873B
proguard-rules.pro 648B
build.gradle 1019B
.gitignore 7B
gradlew.bat 2KB
build.gradle 498B
.idea
runConfigurations.xml 564B
vcs.xml 180B
misc.xml 3KB
inspectionProfiles
Project_Default.xml 664B
profiles_settings.xml 235B
compiler.xml 686B
modules.xml 359B
gradle.xml 700B
copyright
profiles_settings.xml 74B
settings.gradle 15B
gradlew 5KB
.gitignore 118B
共 63 条
- 1
资源评论
Nowl
- 粉丝: 1w+
- 资源: 3891
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 知识蒸馏-基于Pytorch通过匹配训练轨迹进行数据集蒸馏-附项目源码+流程教程-优质项目实战.zip
- 儿童节 python庆祝代码简要介绍-20240601.docx
- 知识蒸馏-基于Pytorch实现的语义分割结构化知识蒸馏算法-附项目源码+流程教程-优质项目实战.zip
- 小白物联网智能家居毕设参考STM32+ESP8266/MQTT+OneNet+UniApp
- BeanUtil.java,对象属性拷贝工具
- 糖尿病肾病检测数据集VOC+YOLO格式4122张5类别.7z
- win10/11 更新禁用/开启
- IMG_3534.CR2.cr2
- FileZilla客户端
- 删除win10/11安全中心
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功