Package com.foxinmy.weixin4j.mp.model
Class SemResult
- java.lang.Object
-
- com.foxinmy.weixin4j.http.weixin.ApiResult
-
- com.foxinmy.weixin4j.mp.model.SemResult
-
- All Implemented Interfaces:
Serializable
public class SemResult extends com.foxinmy.weixin4j.http.weixin.ApiResult
语义理解结果- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- 语义理解, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnswer()
String
getQuery()
com.alibaba.fastjson.JSONArray
getResult()
com.alibaba.fastjson.JSONObject
getSemantic()
String
getText()
String
getType()
void
setAnswer(String answer)
void
setQuery(String query)
void
setResult(com.alibaba.fastjson.JSONArray result)
void
setSemantic(com.alibaba.fastjson.JSONObject semantic)
void
setText(String text)
void
setType(String type)
String
toString()
-
-
-
Method Detail
-
getQuery
public String getQuery()
-
setQuery
public void setQuery(String query)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSemantic
public com.alibaba.fastjson.JSONObject getSemantic()
-
setSemantic
public void setSemantic(com.alibaba.fastjson.JSONObject semantic)
-
getResult
public com.alibaba.fastjson.JSONArray getResult()
-
setResult
public void setResult(com.alibaba.fastjson.JSONArray result)
-
getAnswer
public String getAnswer()
-
setAnswer
public void setAnswer(String answer)
-
getText
public String getText()
-
setText
public void setText(String text)
-
toString
public String toString()
- Overrides:
toString
in classcom.foxinmy.weixin4j.http.weixin.ApiResult
-
-