Skip to content

Commit

Permalink
CHATBOT SDK Auto Released By longda.cld,Version:1.2.1
Browse files Browse the repository at this point in the history
发布日志:
1, fixed fastjson vulnerabilities: com.alibaba:[email protected] > com.alibaba:[email protected].
2, add "categoryId" to api "QueryKnowledges".
  • Loading branch information
Qingtang-SDK committed Jan 25, 2019
1 parent ee61704 commit ce8a60c
Show file tree
Hide file tree
Showing 75 changed files with 510 additions and 657 deletions.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-chatbot/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2019-01-25 Version: 1.2.1
1, fixed fastjson vulnerabilities: com.alibaba:[email protected] > com.alibaba:[email protected].
2, add "categoryId" to api "QueryKnowledges".

2018-11-15 Version: 1.2.0
1, Add new API.

Expand Down
9 changes: 7 additions & 2 deletions aliyun-java-sdk-chatbot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-chatbot</artifactId>
<packaging>jar</packaging>
<version>1.2.0</version>
<version>1.2.1</version>
<name>aliyun-java-sdk-chatbot</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down Expand Up @@ -41,8 +41,13 @@ http://www.aliyun.com</description>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.9</version>
<version>1.2.48</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.7</version>
</dependency>
</dependencies>
<licenses>
<license>
Expand Down
152 changes: 0 additions & 152 deletions aliyun-java-sdk-chatbot/src/main/java/com/aliyuncs/RpcAcsRequest.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.ActivatePerspectiveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.AddSynonymResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,46 +27,46 @@ public class AppendEntityMemberRequest extends RpcAcsRequest<AppendEntityMemberR

public AppendEntityMemberRequest() {
super("Chatbot", "2017-10-11", "AppendEntityMember", "beebot");
}

private Member member;

private Long entityId;

private String applyType;

public Member getMember() {
return this.member;
}


public void setMember(Member member) {
}

private Member member;

private Long entityId;

private String applyType;

public Member getMember() {
return this.member;
}


public void setMember(Member member) {
String memberStr = JSON.toJSONString(member);
this.member = member;
this.member = member;
if(member != null){
putBodyParameter("Member", memberStr);
putBodyParameter("Member", memberStr);
}
}

public Long getEntityId() {
return this.entityId;
}

public void setEntityId(Long entityId) {
this.entityId = entityId;
}

public Long getEntityId() {
return this.entityId;
}

public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
putQueryParameter("EntityId", entityId.toString());
}
}

public String getApplyType() {
return this.applyType;
}

public void setApplyType(String applyType) {
this.applyType = applyType;
}

public String getApplyType() {
return this.applyType;
}

public void setApplyType(String applyType) {
this.applyType = applyType;
if(applyType != null){
putQueryParameter("ApplyType", applyType);
putQueryParameter("ApplyType", applyType);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.AppendEntityMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

package com.aliyuncs.chatbot.model.v20171011;

import java.util.List;
import java.util.Map;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.ChatResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down Expand Up @@ -177,6 +176,8 @@ public static class Text {

private String answerSource;

private String metaData;

public String getContent() {
return this.content;
}
Expand All @@ -192,6 +193,14 @@ public String getAnswerSource() {
public void setAnswerSource(String answerSource) {
this.answerSource = answerSource;
}

public String getMetaData() {
return this.metaData;
}

public void setMetaData(String metaData) {
this.metaData = metaData;
}
}

public static class Knowledge {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateCoreWordResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*/

package com.aliyuncs.chatbot.model.v20171011;

import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateDialogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Loading

0 comments on commit ce8a60c

Please sign in to comment.