index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CfAccountQueryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CfAccountQueryRequest extends RpcAcsRequest<CfAccountQueryResponse> {
public CfAccountQueryRequest() {
super("CF", "2015-11-27", "CfAccountQuery", "cf");
setProtocol(ProtocolType.HTTPS);
}
private String ip;
private String sceneId;
private String phoneNumber;
private String appToken;
private String appKey;
private String cFTimestamp;
private String trans;
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
if(ip != null){
putQueryParameter("Ip", ip);
}
}
public String getSceneId() {
return this.sceneId;
}
public void setSceneId(String sceneId) {
this.sceneId = sceneId;
if(sceneId != null){
putQueryParameter("SceneId", sceneId);
}
}
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
if(phoneNumber != null){
putQueryParameter("PhoneNumber", phoneNumber);
}
}
public String getAppToken() {
return this.appToken;
}
public void setAppToken(String appToken) {
this.appToken = appToken;
if(appToken != null){
putQueryParameter("AppToken", appToken);
}
}
public String getAppKey() {
return this.appKey;
}
public void setAppKey(String appKey) {
this.appKey = appKey;
if(appKey != null){
putQueryParameter("AppKey", appKey);
}
}
public String getCFTimestamp() {
return this.cFTimestamp;
}
public void setCFTimestamp(String cFTimestamp) {
this.cFTimestamp = cFTimestamp;
if(cFTimestamp != null){
putQueryParameter("CFTimestamp", cFTimestamp);
}
}
public String getTrans() {
return this.trans;
}
public void setTrans(String trans) {
this.trans = trans;
if(trans != null){
putQueryParameter("Trans", trans);
}
}
@Override
public Class<CfAccountQueryResponse> getResponseClass() {
return CfAccountQueryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/CfAccountQueryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cf.transform.v20151127.CfAccountQueryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CfAccountQueryResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String detailMessage;
private AccountQueryResponse accountQueryResponse;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getDetailMessage() {
return this.detailMessage;
}
public void setDetailMessage(String detailMessage) {
this.detailMessage = detailMessage;
}
public AccountQueryResponse getAccountQueryResponse() {
return this.accountQueryResponse;
}
public void setAccountQueryResponse(AccountQueryResponse accountQueryResponse) {
this.accountQueryResponse = accountQueryResponse;
}
public static class AccountQueryResponse {
private String riskLevel;
private String score;
private String eventId;
private List<AccountRiskDetail> detail;
public String getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(String riskLevel) {
this.riskLevel = riskLevel;
}
public String getScore() {
return this.score;
}
public void setScore(String score) {
this.score = score;
}
public String getEventId() {
return this.eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
}
public List<AccountRiskDetail> getDetail() {
return this.detail;
}
public void setDetail(List<AccountRiskDetail> detail) {
this.detail = detail;
}
public static class AccountRiskDetail {
private String name;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
@Override
public CfAccountQueryResponse getInstance(UnmarshallerContext context) {
return CfAccountQueryResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/MonthlyPaymentCheckOrderRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class MonthlyPaymentCheckOrderRequest extends RpcAcsRequest<MonthlyPaymentCheckOrderResponse> {
public MonthlyPaymentCheckOrderRequest() {
super("CF", "2015-11-27", "MonthlyPaymentCheckOrder", "cf");
}
private String data;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
if(data != null){
putQueryParameter("data", data);
}
}
@Override
public Class<MonthlyPaymentCheckOrderResponse> getResponseClass() {
return MonthlyPaymentCheckOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/MonthlyPaymentCheckOrderResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cf.transform.v20151127.MonthlyPaymentCheckOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MonthlyPaymentCheckOrderResponse extends AcsResponse {
private String requestId;
private Boolean data;
private String code;
private Boolean success;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getData() {
return this.data;
}
public void setData(Boolean data) {
this.data = data;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public MonthlyPaymentCheckOrderResponse getInstance(UnmarshallerContext context) {
return MonthlyPaymentCheckOrderResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/QuerySimpleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class QuerySimpleRequest extends RpcAcsRequest<QuerySimpleResponse> {
public QuerySimpleRequest() {
super("CF", "2015-11-27", "QuerySimple", "cf");
setProtocol(ProtocolType.HTTPS);
}
private String tokenId;
private String sceneId;
private String appKey;
private String serialNo;
private Long timeStamp;
private String trans;
public String getTokenId() {
return this.tokenId;
}
public void setTokenId(String tokenId) {
this.tokenId = tokenId;
if(tokenId != null){
putQueryParameter("TokenId", tokenId);
}
}
public String getSceneId() {
return this.sceneId;
}
public void setSceneId(String sceneId) {
this.sceneId = sceneId;
if(sceneId != null){
putQueryParameter("SceneId", sceneId);
}
}
public String getAppKey() {
return this.appKey;
}
public void setAppKey(String appKey) {
this.appKey = appKey;
if(appKey != null){
putQueryParameter("AppKey", appKey);
}
}
public String getSerialNo() {
return this.serialNo;
}
public void setSerialNo(String serialNo) {
this.serialNo = serialNo;
if(serialNo != null){
putQueryParameter("SerialNo", serialNo);
}
}
public Long getTimeStamp() {
return this.timeStamp;
}
public void setTimeStamp(Long timeStamp) {
this.timeStamp = timeStamp;
if(timeStamp != null){
putQueryParameter("TimeStamp", timeStamp.toString());
}
}
public String getTrans() {
return this.trans;
}
public void setTrans(String trans) {
this.trans = trans;
if(trans != null){
putQueryParameter("Trans", trans);
}
}
@Override
public Class<QuerySimpleResponse> getResponseClass() {
return QuerySimpleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/model/v20151127/QuerySimpleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.model.v20151127;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cf.transform.v20151127.QuerySimpleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QuerySimpleResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String msg;
private Integer code;
private CollinadataQueryResult collinadataQueryResult;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMsg() {
return this.msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public Integer getCode() {
return this.code;
}
public void setCode(Integer code) {
this.code = code;
}
public CollinadataQueryResult getCollinadataQueryResult() {
return this.collinadataQueryResult;
}
public void setCollinadataQueryResult(CollinadataQueryResult collinadataQueryResult) {
this.collinadataQueryResult = collinadataQueryResult;
}
public static class CollinadataQueryResult {
private String score;
private String detail;
private String risklevel;
public String getScore() {
return this.score;
}
public void setScore(String score) {
this.score = score;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getRisklevel() {
return this.risklevel;
}
public void setRisklevel(String risklevel) {
this.risklevel = risklevel;
}
}
@Override
public QuerySimpleResponse getInstance(UnmarshallerContext context) {
return QuerySimpleResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/AuthenticateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import com.aliyuncs.cf.model.v20151127.AuthenticateResponse;
import com.aliyuncs.cf.model.v20151127.AuthenticateResponse.SigAuthenticateResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class AuthenticateResponseUnmarshaller {
public static AuthenticateResponse unmarshall(AuthenticateResponse authenticateResponse, UnmarshallerContext context) {
authenticateResponse.setRequestId(context.stringValue("AuthenticateResponse.RequestId"));
authenticateResponse.setSuccess(context.booleanValue("AuthenticateResponse.Success"));
authenticateResponse.setMsg(context.stringValue("AuthenticateResponse.Msg"));
authenticateResponse.setCode(context.integerValue("AuthenticateResponse.Code"));
SigAuthenticateResult sigAuthenticateResult = new SigAuthenticateResult();
sigAuthenticateResult.setTimestamp(context.longValue("AuthenticateResponse.SigAuthenticateResult.Timestamp"));
sigAuthenticateResult.setCode(context.integerValue("AuthenticateResponse.SigAuthenticateResult.Code"));
sigAuthenticateResult.setMsg(context.stringValue("AuthenticateResponse.SigAuthenticateResult.Msg"));
sigAuthenticateResult.setRisklevel(context.stringValue("AuthenticateResponse.SigAuthenticateResult.Risklevel"));
authenticateResponse.setSigAuthenticateResult(sigAuthenticateResult);
return authenticateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/CFMonthlyPaymentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import com.aliyuncs.cf.model.v20151127.CFMonthlyPaymentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CFMonthlyPaymentResponseUnmarshaller {
public static CFMonthlyPaymentResponse unmarshall(CFMonthlyPaymentResponse cFMonthlyPaymentResponse, UnmarshallerContext context) {
cFMonthlyPaymentResponse.setRequestId(context.stringValue("CFMonthlyPaymentResponse.requestId"));
cFMonthlyPaymentResponse.setData(context.booleanValue("CFMonthlyPaymentResponse.data"));
cFMonthlyPaymentResponse.setCode(context.stringValue("CFMonthlyPaymentResponse.code"));
cFMonthlyPaymentResponse.setSuccess(context.booleanValue("CFMonthlyPaymentResponse.success"));
cFMonthlyPaymentResponse.setMessage(context.stringValue("CFMonthlyPaymentResponse.message"));
cFMonthlyPaymentResponse.setSynchro(context.booleanValue("CFMonthlyPaymentResponse.synchro"));
return cFMonthlyPaymentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/CfAccountFeedbackResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import com.aliyuncs.cf.model.v20151127.CfAccountFeedbackResponse;
import com.aliyuncs.cf.model.v20151127.CfAccountFeedbackResponse.AccountFeedbackResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CfAccountFeedbackResponseUnmarshaller {
public static CfAccountFeedbackResponse unmarshall(CfAccountFeedbackResponse cfAccountFeedbackResponse, UnmarshallerContext context) {
cfAccountFeedbackResponse.setRequestId(context.stringValue("CfAccountFeedbackResponse.RequestId"));
cfAccountFeedbackResponse.setSuccess(context.booleanValue("CfAccountFeedbackResponse.Success"));
cfAccountFeedbackResponse.setMessage(context.stringValue("CfAccountFeedbackResponse.Message"));
cfAccountFeedbackResponse.setDetailMessage(context.stringValue("CfAccountFeedbackResponse.DetailMessage"));
AccountFeedbackResponse accountFeedbackResponse = new AccountFeedbackResponse();
accountFeedbackResponse.setErrorCode(context.integerValue("CfAccountFeedbackResponse.AccountFeedbackResponse.ErrorCode"));
accountFeedbackResponse.setErrorMessage(context.stringValue("CfAccountFeedbackResponse.AccountFeedbackResponse.ErrorMessage"));
cfAccountFeedbackResponse.setAccountFeedbackResponse(accountFeedbackResponse);
return cfAccountFeedbackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/CfAccountQueryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cf.model.v20151127.CfAccountQueryResponse;
import com.aliyuncs.cf.model.v20151127.CfAccountQueryResponse.AccountQueryResponse;
import com.aliyuncs.cf.model.v20151127.CfAccountQueryResponse.AccountQueryResponse.AccountRiskDetail;
import com.aliyuncs.transform.UnmarshallerContext;
public class CfAccountQueryResponseUnmarshaller {
public static CfAccountQueryResponse unmarshall(CfAccountQueryResponse cfAccountQueryResponse, UnmarshallerContext context) {
cfAccountQueryResponse.setRequestId(context.stringValue("CfAccountQueryResponse.RequestId"));
cfAccountQueryResponse.setSuccess(context.booleanValue("CfAccountQueryResponse.Success"));
cfAccountQueryResponse.setMessage(context.stringValue("CfAccountQueryResponse.Message"));
cfAccountQueryResponse.setDetailMessage(context.stringValue("CfAccountQueryResponse.DetailMessage"));
AccountQueryResponse accountQueryResponse = new AccountQueryResponse();
accountQueryResponse.setRiskLevel(context.stringValue("CfAccountQueryResponse.AccountQueryResponse.RiskLevel"));
accountQueryResponse.setScore(context.stringValue("CfAccountQueryResponse.AccountQueryResponse.Score"));
accountQueryResponse.setEventId(context.stringValue("CfAccountQueryResponse.AccountQueryResponse.EventId"));
List<AccountRiskDetail> detail = new ArrayList<AccountRiskDetail>();
for (int i = 0; i < context.lengthValue("CfAccountQueryResponse.AccountQueryResponse.Detail.Length"); i++) {
AccountRiskDetail accountRiskDetail = new AccountRiskDetail();
accountRiskDetail.setName(context.stringValue("CfAccountQueryResponse.AccountQueryResponse.Detail["+ i +"].Name"));
detail.add(accountRiskDetail);
}
accountQueryResponse.setDetail(detail);
cfAccountQueryResponse.setAccountQueryResponse(accountQueryResponse);
return cfAccountQueryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/MonthlyPaymentCheckOrderResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import com.aliyuncs.cf.model.v20151127.MonthlyPaymentCheckOrderResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class MonthlyPaymentCheckOrderResponseUnmarshaller {
public static MonthlyPaymentCheckOrderResponse unmarshall(MonthlyPaymentCheckOrderResponse monthlyPaymentCheckOrderResponse, UnmarshallerContext context) {
monthlyPaymentCheckOrderResponse.setRequestId(context.stringValue("MonthlyPaymentCheckOrderResponse.requestId"));
monthlyPaymentCheckOrderResponse.setData(context.booleanValue("MonthlyPaymentCheckOrderResponse.data"));
monthlyPaymentCheckOrderResponse.setCode(context.stringValue("MonthlyPaymentCheckOrderResponse.code"));
monthlyPaymentCheckOrderResponse.setSuccess(context.booleanValue("MonthlyPaymentCheckOrderResponse.success"));
monthlyPaymentCheckOrderResponse.setMessage(context.stringValue("MonthlyPaymentCheckOrderResponse.message"));
return monthlyPaymentCheckOrderResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cf/2.6.1/com/aliyuncs/cf/transform/v20151127/QuerySimpleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cf.transform.v20151127;
import com.aliyuncs.cf.model.v20151127.QuerySimpleResponse;
import com.aliyuncs.cf.model.v20151127.QuerySimpleResponse.CollinadataQueryResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class QuerySimpleResponseUnmarshaller {
public static QuerySimpleResponse unmarshall(QuerySimpleResponse querySimpleResponse, UnmarshallerContext context) {
querySimpleResponse.setRequestId(context.stringValue("QuerySimpleResponse.RequestId"));
querySimpleResponse.setSuccess(context.booleanValue("QuerySimpleResponse.Success"));
querySimpleResponse.setMsg(context.stringValue("QuerySimpleResponse.Msg"));
querySimpleResponse.setCode(context.integerValue("QuerySimpleResponse.Code"));
CollinadataQueryResult collinadataQueryResult = new CollinadataQueryResult();
collinadataQueryResult.setScore(context.stringValue("QuerySimpleResponse.CollinadataQueryResult.Score"));
collinadataQueryResult.setDetail(context.stringValue("QuerySimpleResponse.CollinadataQueryResult.Detail"));
collinadataQueryResult.setRisklevel(context.stringValue("QuerySimpleResponse.CollinadataQueryResult.Risklevel"));
querySimpleResponse.setCollinadataQueryResult(collinadataQueryResult);
return querySimpleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/ActivatePerspectiveRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class ActivatePerspectiveRequest extends RpcAcsRequest<ActivatePerspectiveResponse> {
public ActivatePerspectiveRequest() {
super("Chatbot", "2017-10-11", "ActivatePerspective", "beebot");
}
private String perspectiveId;
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
if(perspectiveId != null){
putQueryParameter("PerspectiveId", perspectiveId);
}
}
@Override
public Class<ActivatePerspectiveResponse> getResponseClass() {
return ActivatePerspectiveResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/ActivatePerspectiveResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.ActivatePerspectiveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ActivatePerspectiveResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ActivatePerspectiveResponse getInstance(UnmarshallerContext context) {
return ActivatePerspectiveResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/AddSynonymRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AddSynonymRequest extends RpcAcsRequest<AddSynonymResponse> {
public AddSynonymRequest() {
super("Chatbot", "2017-10-11", "AddSynonym", "beebot");
}
private String synonym;
private String coreWordName;
public String getSynonym() {
return this.synonym;
}
public void setSynonym(String synonym) {
this.synonym = synonym;
if(synonym != null){
putQueryParameter("Synonym", synonym);
}
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
@Override
public Class<AddSynonymResponse> getResponseClass() {
return AddSynonymResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/AddSynonymResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.AddSynonymResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddSynonymResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AddSynonymResponse getInstance(UnmarshallerContext context) {
return AddSynonymResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/AppendEntityMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class AppendEntityMemberRequest extends RpcAcsRequest<AppendEntityMemberResponse> {
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) {
String memberStr = JSON.toJSONString(member);
this.member = member;
if(member != null){
putBodyParameter("Member", memberStr);
}
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
}
}
public String getApplyType() {
return this.applyType;
}
public void setApplyType(String applyType) {
this.applyType = applyType;
if(applyType != null){
putQueryParameter("ApplyType", applyType);
}
}
@Override
public Class<AppendEntityMemberResponse> getResponseClass() {
return AppendEntityMemberResponse.class;
}
public static class Member {
private List<String> synonyms;
private String memberName;
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
public String getMemberName() {
return memberName;
}
public List<String> getSynonyms() {
return synonyms;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/AppendEntityMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.AppendEntityMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AppendEntityMemberResponse extends AcsResponse {
private String requestId;
private String entityId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
@Override
public AppendEntityMemberResponse getInstance(UnmarshallerContext context) {
return AppendEntityMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/ChatRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class ChatRequest extends RpcAcsRequest<ChatResponse> {
public ChatRequest() {
super("Chatbot", "2017-10-11", "Chat", "beebot");
}
private String knowledgeId;
private String senderId;
private String instanceId;
private String senderNick;
private List<String> perspectives;
private String sessionId;
private String tag;
private String utterance;
public String getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(String knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId);
}
}
public String getSenderId() {
return this.senderId;
}
public void setSenderId(String senderId) {
this.senderId = senderId;
if(senderId != null){
putQueryParameter("SenderId", senderId);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getSenderNick() {
return this.senderNick;
}
public void setSenderNick(String senderNick) {
this.senderNick = senderNick;
if(senderNick != null){
putQueryParameter("SenderNick", senderNick);
}
}
public List<String> getPerspectives() {
return this.perspectives;
}
public void setPerspectives(List<String> perspectives) {
this.perspectives = perspectives;
if (perspectives != null) {
for (int i = 0; i < perspectives.size(); i++) {
putQueryParameter("Perspective." + (i + 1) , perspectives.get(i));
}
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public String getUtterance() {
return this.utterance;
}
public void setUtterance(String utterance) {
this.utterance = utterance;
if(utterance != null){
putQueryParameter("Utterance", utterance);
}
}
@Override
public Class<ChatResponse> getResponseClass() {
return ChatResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/ChatResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.ChatResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ChatResponse extends AcsResponse {
private String requestId;
private String sessionId;
private String messageId;
private String tag;
private List<Message> messages;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getMessageId() {
return this.messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public List<Message> getMessages() {
return this.messages;
}
public void setMessages(List<Message> messages) {
this.messages = messages;
}
public static class Message {
private String type;
private List<Recommend> recommends;
private Text text;
private Knowledge knowledge;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List<Recommend> getRecommends() {
return this.recommends;
}
public void setRecommends(List<Recommend> recommends) {
this.recommends = recommends;
}
public Text getText() {
return this.text;
}
public void setText(Text text) {
this.text = text;
}
public Knowledge getKnowledge() {
return this.knowledge;
}
public void setKnowledge(Knowledge knowledge) {
this.knowledge = knowledge;
}
public static class Recommend {
private String knowledgeId;
private String title;
private String answerSource;
private String summary;
private String content;
public String getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(String knowledgeId) {
this.knowledgeId = knowledgeId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAnswerSource() {
return this.answerSource;
}
public void setAnswerSource(String answerSource) {
this.answerSource = answerSource;
}
public String getSummary() {
return this.summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
public static class Text {
private String content;
private String answerSource;
private String metaData;
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getAnswerSource() {
return this.answerSource;
}
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 {
private String id;
private String title;
private String summary;
private String content;
private String answerSource;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getSummary() {
return this.summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getAnswerSource() {
return this.answerSource;
}
public void setAnswerSource(String answerSource) {
this.answerSource = answerSource;
}
}
}
@Override
public ChatResponse getInstance(UnmarshallerContext context) {
return ChatResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateCategoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateCategoryRequest extends RpcAcsRequest<CreateCategoryResponse> {
public CreateCategoryRequest() {
super("Chatbot", "2017-10-11", "CreateCategory", "beebot");
}
private Long parentCategoryId;
private String name;
public Long getParentCategoryId() {
return this.parentCategoryId;
}
public void setParentCategoryId(Long parentCategoryId) {
this.parentCategoryId = parentCategoryId;
if(parentCategoryId != null){
putQueryParameter("ParentCategoryId", parentCategoryId.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<CreateCategoryResponse> getResponseClass() {
return CreateCategoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateCategoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateCategoryResponse extends AcsResponse {
private String requestId;
private Long categoryId;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public CreateCategoryResponse getInstance(UnmarshallerContext context) {
return CreateCategoryResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateCoreWordRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateCoreWordRequest extends RpcAcsRequest<CreateCoreWordResponse> {
public CreateCoreWordRequest() {
super("Chatbot", "2017-10-11", "CreateCoreWord", "beebot");
}
private String coreWordName;
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
@Override
public Class<CreateCoreWordResponse> getResponseClass() {
return CreateCoreWordResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateCoreWordResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateCoreWordResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateCoreWordResponse extends AcsResponse {
private String requestId;
private String coreWordCode;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCoreWordCode() {
return this.coreWordCode;
}
public void setCoreWordCode(String coreWordCode) {
this.coreWordCode = coreWordCode;
}
@Override
public CreateCoreWordResponse getInstance(UnmarshallerContext context) {
return CreateCoreWordResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateDialogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateDialogRequest extends RpcAcsRequest<CreateDialogResponse> {
public CreateDialogRequest() {
super("Chatbot", "2017-10-11", "CreateDialog", "beebot");
}
private String instanceId;
private String description;
private String dialogName;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
if(dialogName != null){
putQueryParameter("DialogName", dialogName);
}
}
@Override
public Class<CreateDialogResponse> getResponseClass() {
return CreateDialogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateDialogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateDialogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateDialogResponse extends AcsResponse {
private String requestId;
private String dialogId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDialogId() {
return this.dialogId;
}
public void setDialogId(String dialogId) {
this.dialogId = dialogId;
}
@Override
public CreateDialogResponse getInstance(UnmarshallerContext context) {
return CreateDialogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateEntityRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class CreateEntityRequest extends RpcAcsRequest<CreateEntityResponse> {
public CreateEntityRequest() {
super("Chatbot", "2017-10-11", "CreateEntity", "beebot");
}
private String regex;
private String entityType;
private List<Member> members;
private String entityName;
private Long dialogId;
public String getRegex() {
return this.regex;
}
public void setRegex(String regex) {
this.regex = regex;
if(regex != null){
putQueryParameter("Regex", regex);
}
}
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
if(entityType != null){
putQueryParameter("EntityType", entityType);
}
}
public List<Member> getMembers() {
return this.members;
}
public void setMembers(List<Member> members) {
this.members = members;
String membersStr = JSON.toJSONString(members);
if(members != null){
putBodyParameter("Members", membersStr);
}
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putQueryParameter("EntityName", entityName);
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<CreateEntityResponse> getResponseClass() {
return CreateEntityResponse.class;
}
public static class Member {
private List<String> synonyms;
private String memberName;
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
public String getMemberName() {
return memberName;
}
public List<String> getSynonyms() {
return synonyms;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateEntityResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateEntityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateEntityResponse extends AcsResponse {
private String requestId;
private String entityId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
@Override
public CreateEntityResponse getInstance(UnmarshallerContext context) {
return CreateEntityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateIntentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
* @version
*/
public class CreateIntentRequest extends RpcAcsRequest<CreateIntentResponse> {
public CreateIntentRequest() {
super("Chatbot", "2017-10-11", "CreateIntent", "beebot");
}
private IntentDefinition intentDefinition;
private Long dialogId;
public IntentDefinition getIntentDefinition() {
return this.intentDefinition;
}
public void setIntentDefinition(IntentDefinition intentDefinition) {
this.intentDefinition = intentDefinition;
String intentDefinitionStr = JSON.toJSONString(intentDefinition);
if(intentDefinition != null){
putBodyParameter("IntentDefinition", intentDefinitionStr);
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<CreateIntentResponse> getResponseClass() {
return CreateIntentResponse.class;
}
public static class IntentDefinition {
private Long dialogId;
private String name;
private Long id;
private String botName;
private List<UsersayMtopDTO> userSay;
private List<RuleMtopDTO> ruleCheck;
private List<SlotrecordMtopDTO> slot;
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public void setBotName(String botName) {
this.botName = botName;
}
public void setId(Long id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setRuleCheck(List<RuleMtopDTO> ruleCheck) {
this.ruleCheck = ruleCheck;
}
public void setSlot(List<SlotrecordMtopDTO> slot) {
this.slot = slot;
}
public void setUserSay(List<UsersayMtopDTO> userSay) {
this.userSay = userSay;
}
public List<RuleMtopDTO> getRuleCheck() {
return ruleCheck;
}
public List<SlotrecordMtopDTO> getSlot() {
return slot;
}
public List<UsersayMtopDTO> getUserSay() {
return userSay;
}
public Long getDialogId() {
return dialogId;
}
public Long getId() {
return id;
}
public String getBotName() {
return botName;
}
public String getName() {
return name;
}
}
public static class UsersayMtopDTO{
private String id;
private Boolean strict;
private List<SectionMtopDTO> data;
public void setId(String id) {
this.id = id;
}
public void setData(List<SectionMtopDTO> data) {
this.data = data;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public Boolean getStrict() {
return strict;
}
public List<SectionMtopDTO> getData() {
return data;
}
public String getId() {
return id;
}
}
public static class SectionMtopDTO {
public SectionMtopDTO(String slotId,String text){
this.slotId = slotId;
this.text = text;
}
public SectionMtopDTO(String text){
this.text = text;
}
private String slotId;
private String text;
public void setSlotId(String slotId) {
this.slotId = slotId;
}
public void setText(String text) {
this.text = text;
}
public String getSlotId() {
return slotId;
}
public String getText() {
return text;
}
}
public static class RuleMtopDTO {
private Boolean strict;
private String text;
private List<String> warning;
private List<String> error;
public void setText(String text) {
this.text = text;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public void setError(List<String> error) {
this.error = error;
}
public void setWarning(List<String> warning) {
this.warning = warning;
}
public String getText() {
return text;
}
public Boolean getStrict() {
return strict;
}
public List<String> getError() {
return error;
}
public List<String> getWarning() {
return warning;
}
}
public static class SlotrecordMtopDTO {
private String id;
private String name;
private Boolean isArray;
private String value;
private List<TagMtopDTO> tags;
private List<String> question = new ArrayList<String>();
private Boolean isNecessary = true;
private int lifeSpan;
public void setId(String id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}
public void setValue(String value) {
this.value = value;
}
public void setIsArray(Boolean isArray) {
isArray = isArray;
}
public void setLifeSpan(int lifeSpan) {
this.lifeSpan = lifeSpan;
}
public void setIsNecessary(Boolean necessary) {
isNecessary = necessary;
}
public void setQuestion(List<String> question) {
this.question = question;
}
public void setTags(List<TagMtopDTO> tags) {
this.tags = tags;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
public Boolean getIsArray() {
return isArray;
}
public Boolean getIsNecessary() {
return isNecessary;
}
public int getLifeSpan() {
return lifeSpan;
}
public List<String> getQuestion() {
return question;
}
public List<TagMtopDTO> getTags() {
return tags;
}
}
public static class TagMtopDTO {
private String userSayId;
private String value;
public void setValue(String value) {
this.value = value;
}
public void setUserSayId(String userSayId) {
this.userSayId = userSayId;
}
public String getValue() {
return value;
}
public String getUserSayId() {
return userSayId;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateIntentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateIntentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateIntentResponse extends AcsResponse {
private String requestId;
private String intentId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getIntentId() {
return this.intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
@Override
public CreateIntentResponse getInstance(UnmarshallerContext context) {
return CreateIntentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import java.util.List;
/**
* @author auto create
* @version
*/
public class CreateKnowledgeRequest extends RpcAcsRequest<CreateKnowledgeResponse> {
public CreateKnowledgeRequest() {
super("Chatbot", "2017-10-11", "CreateKnowledge", "beebot");
setMethod(MethodType.POST);
}
private Knowledge knowledge;
public Knowledge getKnowledge() {
return this.knowledge;
}
public void setKnowledge(Knowledge knowledge) {
this.knowledge = knowledge;
String knowledgeStr = JSON.toJSONString(knowledge);
if(knowledge != null){
putBodyParameter("Knowledge", knowledgeStr);
}
}
@Override
public Class<CreateKnowledgeResponse> getResponseClass() {
return CreateKnowledgeResponse.class;
}
public static class Knowledge {
private Long categoryId;
private String knowledgeTitle;
private Integer knowledgeType;
private String startDate;
private String endDate;
private List<Solution> solutions;
private List<SimQuestion> simQuestions;
private List<String> keyWords;
private List<String> coreWords;
public String getEndDate() {
return this.endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getKnowledgeTitle() {
return this.knowledgeTitle;
}
public void setKnowledgeTitle(String knowledgeTitle) {
this.knowledgeTitle = knowledgeTitle;
}
public Integer getKnowledgeType() {
return this.knowledgeType;
}
public void setKnowledgeType(Integer knowledgeType) {
this.knowledgeType = knowledgeType;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getStartDate() {
return this.startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public List<SimQuestion> getSimQuestions() {
return this.simQuestions;
}
public void setSimQuestions(List<SimQuestion> simQuestions) {
this.simQuestions = simQuestions;
}
public List<Solution> getSolutions() {
return this.solutions;
}
public void setSolutions(List<Solution> solutions) {
this.solutions = solutions;
}
public List<String> getKeyWords() {
return this.keyWords;
}
public void setKeyWords(List<String> keyWords) {
this.keyWords = keyWords;
}
public List<String> getCoreWords() {
return this.coreWords;
}
public void setCoreWords(List<String> coreWords) {
this.coreWords = coreWords;
}
}
public static class SimQuestion {
private String title;
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
}
public static class Solution {
private String plainText;
private String content;
private List<String> perspectiveIds;
public String getPlainText() {
return plainText;
}
public void setPlainText(String plainText) {
this.plainText = plainText;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public List<String> getPerspectiveIds() {
return this.perspectiveIds;
}
public void setPerspectiveIds(List<String> perspectiveIds) {
this.perspectiveIds = perspectiveIds;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreateKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreateKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateKnowledgeResponse extends AcsResponse {
private String requestId;
private Long knowledgeId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
@Override
public CreateKnowledgeResponse getInstance(UnmarshallerContext context) {
return CreateKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreatePerspectiveRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreatePerspectiveRequest extends RpcAcsRequest<CreatePerspectiveResponse> {
public CreatePerspectiveRequest() {
super("Chatbot", "2017-10-11", "CreatePerspective", "beebot");
}
private String name;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<CreatePerspectiveResponse> getResponseClass() {
return CreatePerspectiveResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/CreatePerspectiveResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.CreatePerspectiveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreatePerspectiveResponse extends AcsResponse {
private String requestId;
private String perspectiveId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
}
@Override
public CreatePerspectiveResponse getInstance(UnmarshallerContext context) {
return CreatePerspectiveResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteCategoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DeleteCategoryRequest extends RpcAcsRequest<DeleteCategoryResponse> {
public DeleteCategoryRequest() {
super("Chatbot", "2017-10-11", "DeleteCategory", "beebot");
}
private Long categoryId;
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
if(categoryId != null){
putQueryParameter("CategoryId", categoryId.toString());
}
}
@Override
public Class<DeleteCategoryResponse> getResponseClass() {
return DeleteCategoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteCategoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DeleteCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteCategoryResponse extends AcsResponse {
private String requestId;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public DeleteCategoryResponse getInstance(UnmarshallerContext context) {
return DeleteCategoryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteDialogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DeleteDialogRequest extends RpcAcsRequest<DeleteDialogResponse> {
public DeleteDialogRequest() {
super("Chatbot", "2017-10-11", "DeleteDialog", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<DeleteDialogResponse> getResponseClass() {
return DeleteDialogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteDialogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DeleteDialogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteDialogResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteDialogResponse getInstance(UnmarshallerContext context) {
return DeleteDialogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteEntityRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DeleteEntityRequest extends RpcAcsRequest<DeleteEntityResponse> {
public DeleteEntityRequest() {
super("Chatbot", "2017-10-11", "DeleteEntity", "beebot");
}
private Long entityId;
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
}
}
@Override
public Class<DeleteEntityResponse> getResponseClass() {
return DeleteEntityResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteEntityResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DeleteEntityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteEntityResponse extends AcsResponse {
private String requestId;
private String entityId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
@Override
public DeleteEntityResponse getInstance(UnmarshallerContext context) {
return DeleteEntityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteIntentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DeleteIntentRequest extends RpcAcsRequest<DeleteIntentResponse> {
public DeleteIntentRequest() {
super("Chatbot", "2017-10-11", "DeleteIntent", "beebot");
}
private Long intentId;
public Long getIntentId() {
return this.intentId;
}
public void setIntentId(Long intentId) {
this.intentId = intentId;
if(intentId != null){
putQueryParameter("IntentId", intentId.toString());
}
}
@Override
public Class<DeleteIntentResponse> getResponseClass() {
return DeleteIntentResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteIntentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DeleteIntentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteIntentResponse extends AcsResponse {
private String requestId;
private String intentId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getIntentId() {
return this.intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
@Override
public DeleteIntentResponse getInstance(UnmarshallerContext context) {
return DeleteIntentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DeleteKnowledgeRequest extends RpcAcsRequest<DeleteKnowledgeResponse> {
public DeleteKnowledgeRequest() {
super("Chatbot", "2017-10-11", "DeleteKnowledge", "beebot");
}
private Long knowledgeId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId.toString());
}
}
@Override
public Class<DeleteKnowledgeResponse> getResponseClass() {
return DeleteKnowledgeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DeleteKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DeleteKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteKnowledgeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteKnowledgeResponse getInstance(UnmarshallerContext context) {
return DeleteKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeCategoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeCategoryRequest extends RpcAcsRequest<DescribeCategoryResponse> {
public DescribeCategoryRequest() {
super("Chatbot", "2017-10-11", "DescribeCategory", "beebot");
}
private Long categoryId;
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
if(categoryId != null){
putQueryParameter("CategoryId", categoryId.toString());
}
}
@Override
public Class<DescribeCategoryResponse> getResponseClass() {
return DescribeCategoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeCategoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeCategoryResponse extends AcsResponse {
private String requestId;
private Long parentCategoryId;
private Long categoryId;
private String name;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getParentCategoryId() {
return this.parentCategoryId;
}
public void setParentCategoryId(Long parentCategoryId) {
this.parentCategoryId = parentCategoryId;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
@Override
public DescribeCategoryResponse getInstance(UnmarshallerContext context) {
return DescribeCategoryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeCoreWordRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeCoreWordRequest extends RpcAcsRequest<DescribeCoreWordResponse> {
public DescribeCoreWordRequest() {
super("Chatbot", "2017-10-11", "DescribeCoreWord", "beebot");
}
private String coreWordName;
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
@Override
public Class<DescribeCoreWordResponse> getResponseClass() {
return DescribeCoreWordResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeCoreWordResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeCoreWordResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeCoreWordResponse extends AcsResponse {
private String requestId;
private String coreWordCode;
private String coreWordName;
private String modifyTime;
private String createTime;
private List<String> synonyms;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCoreWordCode() {
return this.coreWordCode;
}
public void setCoreWordCode(String coreWordCode) {
this.coreWordCode = coreWordCode;
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getSynonyms() {
return this.synonyms;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
@Override
public DescribeCoreWordResponse getInstance(UnmarshallerContext context) {
return DescribeCoreWordResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeDialogFlowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeDialogFlowRequest extends RpcAcsRequest<DescribeDialogFlowResponse> {
public DescribeDialogFlowRequest() {
super("Chatbot", "2017-10-11", "DescribeDialogFlow", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<DescribeDialogFlowResponse> getResponseClass() {
return DescribeDialogFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeDialogFlowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeDialogFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDialogFlowResponse extends AcsResponse {
private String requestId;
private Long dialogId;
private String instanceId;
private String dialogName;
private Long moduleId;
private String moduleName;
private String templates;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private String accountId;
private String tags;
private Integer status;
private ModuleDefinition moduleDefinition;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
}
public Long getModuleId() {
return this.moduleId;
}
public void setModuleId(Long moduleId) {
this.moduleId = moduleId;
}
public String getModuleName() {
return this.moduleName;
}
public void setModuleName(String moduleName) {
this.moduleName = moduleName;
}
public String getTemplates() {
return this.templates;
}
public void setTemplates(String templates) {
this.templates = templates;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public ModuleDefinition getModuleDefinition() {
return this.moduleDefinition;
}
public void setModuleDefinition(ModuleDefinition moduleDefinition) {
this.moduleDefinition = moduleDefinition;
}
public static class ModuleDefinition {
private List<NodesItem> nodes;
private List<EdgesItem> edges;
public List<NodesItem> getNodes() {
return this.nodes;
}
public void setNodes(List<NodesItem> nodes) {
this.nodes = nodes;
}
public List<EdgesItem> getEdges() {
return this.edges;
}
public void setEdges(List<EdgesItem> edges) {
this.edges = edges;
}
public static class NodesItem {
private String code;
private String componentCode;
private Boolean pluginDataUpdate;
private String xx;
private String yy;
private String id;
private String label;
private PluginData pluginData;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getComponentCode() {
return this.componentCode;
}
public void setComponentCode(String componentCode) {
this.componentCode = componentCode;
}
public Boolean getPluginDataUpdate() {
return this.pluginDataUpdate;
}
public void setPluginDataUpdate(Boolean pluginDataUpdate) {
this.pluginDataUpdate = pluginDataUpdate;
}
public String getXx() {
return this.xx;
}
public void setXx(String xx) {
this.xx = xx;
}
public String getYy() {
return this.yy;
}
public void setYy(String yy) {
this.yy = yy;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public PluginData getPluginData() {
return this.pluginData;
}
public void setPluginData(PluginData pluginData) {
this.pluginData = pluginData;
}
public static class PluginData {
private Entry entry;
private Function function;
private Response response;
private Slot slot;
public Entry getEntry() {
return this.entry;
}
public void setEntry(Entry entry) {
this.entry = entry;
}
public Function getFunction() {
return this.function;
}
public void setFunction(Function function) {
this.function = function;
}
public Response getResponse() {
return this.response;
}
public void setResponse(Response response) {
this.response = response;
}
public Slot getSlot() {
return this.slot;
}
public void setSlot(Slot slot) {
this.slot = slot;
}
public static class Entry {
private PluginFieldDataEntry pluginFieldDataEntry;
public PluginFieldDataEntry getPluginFieldDataEntry() {
return this.pluginFieldDataEntry;
}
public void setPluginFieldDataEntry(PluginFieldDataEntry pluginFieldDataEntry) {
this.pluginFieldDataEntry = pluginFieldDataEntry;
}
public static class PluginFieldDataEntry {
private Integer lifeSpan;
private String name;
private List<ContentEntryItem> contentEntry;
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<ContentEntryItem> getContentEntry() {
return this.contentEntry;
}
public void setContentEntry(List<ContentEntryItem> contentEntry) {
this.contentEntry = contentEntry;
}
public static class ContentEntryItem {
private List<ConditionEntriesItem> conditionEntries;
public List<ConditionEntriesItem> getConditionEntries() {
return this.conditionEntries;
}
public void setConditionEntries(List<ConditionEntriesItem> conditionEntries) {
this.conditionEntries = conditionEntries;
}
public static class ConditionEntriesItem {
private String id;
private String term;
private String name;
private String type;
private String value;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getTerm() {
return this.term;
}
public void setTerm(String term) {
this.term = term;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
}
}
public static class Function {
private PluginFieldDataFunction pluginFieldDataFunction;
public PluginFieldDataFunction getPluginFieldDataFunction() {
return this.pluginFieldDataFunction;
}
public void setPluginFieldDataFunction(PluginFieldDataFunction pluginFieldDataFunction) {
this.pluginFieldDataFunction = pluginFieldDataFunction;
}
public static class PluginFieldDataFunction {
private String code;
private String description;
private String function;
private String name;
private String aliyunService;
private String aliyunFunction;
private String endPoint;
private String type;
private Map<Object,Object> params;
private List<SwitchItem> _switch;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getFunction() {
return this.function;
}
public void setFunction(String function) {
this.function = function;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getAliyunService() {
return this.aliyunService;
}
public void setAliyunService(String aliyunService) {
this.aliyunService = aliyunService;
}
public String getAliyunFunction() {
return this.aliyunFunction;
}
public void setAliyunFunction(String aliyunFunction) {
this.aliyunFunction = aliyunFunction;
}
public String getEndPoint() {
return this.endPoint;
}
public void setEndPoint(String endPoint) {
this.endPoint = endPoint;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Map<Object,Object> getParams() {
return this.params;
}
public void setParams(Map<Object,Object> params) {
this.params = params;
}
public List<SwitchItem> get_Switch() {
return this._switch;
}
public void set_Switch(List<SwitchItem> _switch) {
this._switch = _switch;
}
public static class SwitchItem {
private String id;
private String label;
private String type;
private String value;
private String name;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
public static class Response {
private PluginFieldDataResponse pluginFieldDataResponse;
public PluginFieldDataResponse getPluginFieldDataResponse() {
return this.pluginFieldDataResponse;
}
public void setPluginFieldDataResponse(PluginFieldDataResponse pluginFieldDataResponse) {
this.pluginFieldDataResponse = pluginFieldDataResponse;
}
public static class PluginFieldDataResponse {
private String name;
private ContentResponse contentResponse;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public ContentResponse getContentResponse() {
return this.contentResponse;
}
public void setContentResponse(ContentResponse contentResponse) {
this.contentResponse = contentResponse;
}
public static class ContentResponse {
private String text;
private String type;
private String image;
private ButtonList buttonList;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public ButtonList getButtonList() {
return this.buttonList;
}
public void setButtonList(ButtonList buttonList) {
this.buttonList = buttonList;
}
public static class ButtonList {
private String intro;
private List<ButtonItem> button;
public String getIntro() {
return this.intro;
}
public void setIntro(String intro) {
this.intro = intro;
}
public List<ButtonItem> getButton() {
return this.button;
}
public void setButton(List<ButtonItem> button) {
this.button = button;
}
public static class ButtonItem {
private String name;
private String type;
private String text;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
}
}
}
}
}
public static class Slot {
private PluginFieldDataSlot pluginFieldDataSlot;
public PluginFieldDataSlot getPluginFieldDataSlot() {
return this.pluginFieldDataSlot;
}
public void setPluginFieldDataSlot(PluginFieldDataSlot pluginFieldDataSlot) {
this.pluginFieldDataSlot = pluginFieldDataSlot;
}
public static class PluginFieldDataSlot {
private String intentId;
private String intentName;
private Boolean isSysIntent;
private String name;
private List<ContentSlotItem> contentSlot;
public String getIntentId() {
return this.intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
public String getIntentName() {
return this.intentName;
}
public void setIntentName(String intentName) {
this.intentName = intentName;
}
public Boolean getIsSysIntent() {
return this.isSysIntent;
}
public void setIsSysIntent(Boolean isSysIntent) {
this.isSysIntent = isSysIntent;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<ContentSlotItem> getContentSlot() {
return this.contentSlot;
}
public void setContentSlot(List<ContentSlotItem> contentSlot) {
this.contentSlot = contentSlot;
}
public static class ContentSlotItem {
private Boolean isArray;
private Boolean isNecessary;
private Integer lifeSpan;
private String name;
private String value;
private List<String> question;
public Boolean getIsArray() {
return this.isArray;
}
public void setIsArray(Boolean isArray) {
this.isArray = isArray;
}
public Boolean getIsNecessary() {
return this.isNecessary;
}
public void setIsNecessary(Boolean isNecessary) {
this.isNecessary = isNecessary;
}
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public List<String> getQuestion() {
return this.question;
}
public void setQuestion(List<String> question) {
this.question = question;
}
}
}
}
}
}
public static class EdgesItem {
private String id;
private String label;
private String source;
private String target;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
}
}
@Override
public DescribeDialogFlowResponse getInstance(UnmarshallerContext context) {
return DescribeDialogFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeDialogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeDialogRequest extends RpcAcsRequest<DescribeDialogResponse> {
public DescribeDialogRequest() {
super("Chatbot", "2017-10-11", "DescribeDialog", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<DescribeDialogResponse> getResponseClass() {
return DescribeDialogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeDialogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeDialogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeDialogResponse extends AcsResponse {
private String requestId;
private Long dialogId;
private String dialogName;
private String description;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private Boolean isSampleDialog;
private Integer status;
private Boolean isOnline;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public Boolean getIsSampleDialog() {
return this.isSampleDialog;
}
public void setIsSampleDialog(Boolean isSampleDialog) {
this.isSampleDialog = isSampleDialog;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Boolean getIsOnline() {
return this.isOnline;
}
public void setIsOnline(Boolean isOnline) {
this.isOnline = isOnline;
}
@Override
public DescribeDialogResponse getInstance(UnmarshallerContext context) {
return DescribeDialogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeEntitiesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeEntitiesRequest extends RpcAcsRequest<DescribeEntitiesResponse> {
public DescribeEntitiesRequest() {
super("Chatbot", "2017-10-11", "DescribeEntities", "beebot");
}
private Long entityId;
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
}
}
@Override
public Class<DescribeEntitiesResponse> getResponseClass() {
return DescribeEntitiesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeEntitiesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeEntitiesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeEntitiesResponse extends AcsResponse {
private String requestId;
private Long entityId;
private String entityName;
private String entityType;
private String regex;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private List<MembersItem> members;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
}
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
}
public String getRegex() {
return this.regex;
}
public void setRegex(String regex) {
this.regex = regex;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public List<MembersItem> getMembers() {
return this.members;
}
public void setMembers(List<MembersItem> members) {
this.members = members;
}
public static class MembersItem {
private String memberName;
private List<String> synonyms;
public String getMemberName() {
return this.memberName;
}
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public List<String> getSynonyms() {
return this.synonyms;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
}
@Override
public DescribeEntitiesResponse getInstance(UnmarshallerContext context) {
return DescribeEntitiesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeIntentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeIntentRequest extends RpcAcsRequest<DescribeIntentResponse> {
public DescribeIntentRequest() {
super("Chatbot", "2017-10-11", "DescribeIntent", "beebot");
}
private Long intentId;
public Long getIntentId() {
return this.intentId;
}
public void setIntentId(Long intentId) {
this.intentId = intentId;
if(intentId != null){
putQueryParameter("IntentId", intentId.toString());
}
}
@Override
public Class<DescribeIntentResponse> getResponseClass() {
return DescribeIntentResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeIntentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeIntentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeIntentResponse extends AcsResponse {
private String requestId;
private Long intentId;
private String name;
private String type;
private Long dialogId;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private List<RuleCheckItem> ruleCheck;
private List<SlotItem> slot;
private List<UserSayItem> userSay;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getIntentId() {
return this.intentId;
}
public void setIntentId(Long intentId) {
this.intentId = intentId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public List<RuleCheckItem> getRuleCheck() {
return this.ruleCheck;
}
public void setRuleCheck(List<RuleCheckItem> ruleCheck) {
this.ruleCheck = ruleCheck;
}
public List<SlotItem> getSlot() {
return this.slot;
}
public void setSlot(List<SlotItem> slot) {
this.slot = slot;
}
public List<UserSayItem> getUserSay() {
return this.userSay;
}
public void setUserSay(List<UserSayItem> userSay) {
this.userSay = userSay;
}
public static class RuleCheckItem {
private String text;
private Boolean strict;
private List<String> warning;
private List<String> error;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public Boolean getStrict() {
return this.strict;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public List<String> getWarning() {
return this.warning;
}
public void setWarning(List<String> warning) {
this.warning = warning;
}
public List<String> getError() {
return this.error;
}
public void setError(List<String> error) {
this.error = error;
}
}
public static class SlotItem {
private String name;
private String value;
private Boolean isNecessary;
private Boolean isArray;
private Integer lifeSpan;
private List<TagsItem> tags;
private List<String> question;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public Boolean getIsNecessary() {
return this.isNecessary;
}
public void setIsNecessary(Boolean isNecessary) {
this.isNecessary = isNecessary;
}
public Boolean getIsArray() {
return this.isArray;
}
public void setIsArray(Boolean isArray) {
this.isArray = isArray;
}
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public List<TagsItem> getTags() {
return this.tags;
}
public void setTags(List<TagsItem> tags) {
this.tags = tags;
}
public List<String> getQuestion() {
return this.question;
}
public void setQuestion(List<String> question) {
this.question = question;
}
public static class TagsItem {
private String value;
private String userSayId;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getUserSayId() {
return this.userSayId;
}
public void setUserSayId(String userSayId) {
this.userSayId = userSayId;
}
}
}
public static class UserSayItem {
private Boolean strict;
private List<DataItem> data;
public Boolean getStrict() {
return this.strict;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String text;
private String slotId;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getSlotId() {
return this.slotId;
}
public void setSlotId(String slotId) {
this.slotId = slotId;
}
}
}
@Override
public DescribeIntentResponse getInstance(UnmarshallerContext context) {
return DescribeIntentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribeKnowledgeRequest extends RpcAcsRequest<DescribeKnowledgeResponse> {
public DescribeKnowledgeRequest() {
super("Chatbot", "2017-10-11", "DescribeKnowledge", "beebot");
}
private Long knowledgeId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId.toString());
}
}
@Override
public Class<DescribeKnowledgeResponse> getResponseClass() {
return DescribeKnowledgeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribeKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribeKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeKnowledgeResponse extends AcsResponse {
private String requestId;
private String endDate;
private String createUserName;
private String knowledgeTitle;
private Integer version;
private Long knowledgeId;
private String modifyUserName;
private String modifyTime;
private String createTime;
private Integer knowledgeType;
private Long categoryId;
private String startDate;
private Integer knowledgeStatus;
private List<Outline> outlines;
private List<SimQuestion> simQuestions;
private List<Solution> solutions;
private List<String> keyWords;
private List<String> coreWords;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEndDate() {
return this.endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getKnowledgeTitle() {
return this.knowledgeTitle;
}
public void setKnowledgeTitle(String knowledgeTitle) {
this.knowledgeTitle = knowledgeTitle;
}
public Integer getBizVersion() {
return this.version;
}
public void setBizVersion(Integer version) {
this.version = version;
}
/**
* @deprecated use getBizVersion instead of this.
*/
@Deprecated
public Integer getVersion() {
return this.version;
}
/**
* @deprecated use setBizVersion instead of this.
*/
@Deprecated
public void setVersion(Integer version) {
this.version = version;
}
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public Integer getKnowledgeType() {
return this.knowledgeType;
}
public void setKnowledgeType(Integer knowledgeType) {
this.knowledgeType = knowledgeType;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getStartDate() {
return this.startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public Integer getKnowledgeStatus() {
return this.knowledgeStatus;
}
public void setKnowledgeStatus(Integer knowledgeStatus) {
this.knowledgeStatus = knowledgeStatus;
}
public List<Outline> getOutlines() {
return this.outlines;
}
public void setOutlines(List<Outline> outlines) {
this.outlines = outlines;
}
public List<SimQuestion> getSimQuestions() {
return this.simQuestions;
}
public void setSimQuestions(List<SimQuestion> simQuestions) {
this.simQuestions = simQuestions;
}
public List<Solution> getSolutions() {
return this.solutions;
}
public void setSolutions(List<Solution> solutions) {
this.solutions = solutions;
}
public List<String> getKeyWords() {
return this.keyWords;
}
public void setKeyWords(List<String> keyWords) {
this.keyWords = keyWords;
}
public List<String> getCoreWords() {
return this.coreWords;
}
public void setCoreWords(List<String> coreWords) {
this.coreWords = coreWords;
}
public static class Outline {
private Long knowledgeId;
private String title;
private Long outlineId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public Long getOutlineId() {
return this.outlineId;
}
public void setOutlineId(Long outlineId) {
this.outlineId = outlineId;
}
}
public static class SimQuestion {
private String modifyTime;
private String createTime;
private Long simQuestionId;
private String title;
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public Long getSimQuestionId() {
return this.simQuestionId;
}
public void setSimQuestionId(Long simQuestionId) {
this.simQuestionId = simQuestionId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
}
public static class Solution {
private String summary;
private String modifyTime;
private String createTime;
private Long solutionId;
private String content;
private String plainText;
private List<String> perspectiveIds;
public String getSummary() {
return this.summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public Long getSolutionId() {
return this.solutionId;
}
public void setSolutionId(Long solutionId) {
this.solutionId = solutionId;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getPlainText() {
return this.plainText;
}
public void setPlainText(String plainText) {
this.plainText = plainText;
}
public List<String> getPerspectiveIds() {
return this.perspectiveIds;
}
public void setPerspectiveIds(List<String> perspectiveIds) {
this.perspectiveIds = perspectiveIds;
}
}
@Override
public DescribeKnowledgeResponse getInstance(UnmarshallerContext context) {
return DescribeKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribePerspectiveRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DescribePerspectiveRequest extends RpcAcsRequest<DescribePerspectiveResponse> {
public DescribePerspectiveRequest() {
super("Chatbot", "2017-10-11", "DescribePerspective", "beebot");
}
private String perspectiveId;
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
if(perspectiveId != null){
putQueryParameter("PerspectiveId", perspectiveId);
}
}
@Override
public Class<DescribePerspectiveResponse> getResponseClass() {
return DescribePerspectiveResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DescribePerspectiveResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DescribePerspectiveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribePerspectiveResponse extends AcsResponse {
private String modifyUserName;
private String modifyTime;
private String createTime;
private Boolean selfDefine;
private String perspectiveId;
private String createUserName;
private String perspectiveCode;
private Integer status;
private String requestId;
private String name;
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public Boolean getSelfDefine() {
return this.selfDefine;
}
public void setSelfDefine(Boolean selfDefine) {
this.selfDefine = selfDefine;
}
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getPerspectiveCode() {
return this.perspectiveCode;
}
public void setPerspectiveCode(String perspectiveCode) {
this.perspectiveCode = perspectiveCode;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
@Override
public DescribePerspectiveResponse getInstance(UnmarshallerContext context) {
return DescribePerspectiveResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DisableDialogFlowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DisableDialogFlowRequest extends RpcAcsRequest<DisableDialogFlowResponse> {
public DisableDialogFlowRequest() {
super("Chatbot", "2017-10-11", "DisableDialogFlow", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<DisableDialogFlowResponse> getResponseClass() {
return DisableDialogFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DisableDialogFlowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DisableDialogFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableDialogFlowResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DisableDialogFlowResponse getInstance(UnmarshallerContext context) {
return DisableDialogFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DisableKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DisableKnowledgeRequest extends RpcAcsRequest<DisableKnowledgeResponse> {
public DisableKnowledgeRequest() {
super("Chatbot", "2017-10-11", "DisableKnowledge", "beebot");
}
private Long knowledgeId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId.toString());
}
}
@Override
public Class<DisableKnowledgeResponse> getResponseClass() {
return DisableKnowledgeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/DisableKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.DisableKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableKnowledgeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DisableKnowledgeResponse getInstance(UnmarshallerContext context) {
return DisableKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/FeedbackRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class FeedbackRequest extends RpcAcsRequest<FeedbackResponse> {
public FeedbackRequest() {
super("Chatbot", "2017-10-11", "Feedback", "beebot");
}
private String feedback;
private String instanceId;
private String messageId;
private String sessionId;
public String getFeedback() {
return this.feedback;
}
public void setFeedback(String feedback) {
this.feedback = feedback;
if(feedback != null){
putQueryParameter("Feedback", feedback);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getMessageId() {
return this.messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
if(messageId != null){
putQueryParameter("MessageId", messageId);
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
@Override
public Class<FeedbackResponse> getResponseClass() {
return FeedbackResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/FeedbackResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.FeedbackResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FeedbackResponse extends AcsResponse {
private String requestId;
private String messageId;
private String feedback;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessageId() {
return this.messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId;
}
public String getFeedback() {
return this.feedback;
}
public void setFeedback(String feedback) {
this.feedback = feedback;
}
@Override
public FeedbackResponse getInstance(UnmarshallerContext context) {
return FeedbackResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/MoveKnowledgeCategoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class MoveKnowledgeCategoryRequest extends RpcAcsRequest<MoveKnowledgeCategoryResponse> {
public MoveKnowledgeCategoryRequest() {
super("Chatbot", "2017-10-11", "MoveKnowledgeCategory", "beebot");
}
private Long knowledgeId;
private Long categoryId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId.toString());
}
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
if(categoryId != null){
putQueryParameter("CategoryId", categoryId.toString());
}
}
@Override
public Class<MoveKnowledgeCategoryResponse> getResponseClass() {
return MoveKnowledgeCategoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/MoveKnowledgeCategoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.MoveKnowledgeCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MoveKnowledgeCategoryResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public MoveKnowledgeCategoryResponse getInstance(UnmarshallerContext context) {
return MoveKnowledgeCategoryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/PublishDialogFlowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class PublishDialogFlowRequest extends RpcAcsRequest<PublishDialogFlowResponse> {
public PublishDialogFlowRequest() {
super("Chatbot", "2017-10-11", "PublishDialogFlow", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<PublishDialogFlowResponse> getResponseClass() {
return PublishDialogFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/PublishDialogFlowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.PublishDialogFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PublishDialogFlowResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PublishDialogFlowResponse getInstance(UnmarshallerContext context) {
return PublishDialogFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/PublishKnowledgeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class PublishKnowledgeRequest extends RpcAcsRequest<PublishKnowledgeResponse> {
public PublishKnowledgeRequest() {
super("Chatbot", "2017-10-11", "PublishKnowledge", "beebot");
}
private Long knowledgeId;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
if(knowledgeId != null){
putQueryParameter("KnowledgeId", knowledgeId.toString());
}
}
@Override
public Class<PublishKnowledgeResponse> getResponseClass() {
return PublishKnowledgeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/PublishKnowledgeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.PublishKnowledgeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PublishKnowledgeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PublishKnowledgeResponse getInstance(UnmarshallerContext context) {
return PublishKnowledgeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryCategoriesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryCategoriesRequest extends RpcAcsRequest<QueryCategoriesResponse> {
public QueryCategoriesRequest() {
super("Chatbot", "2017-10-11", "QueryCategories", "beebot");
}
private Boolean showChildrens;
private Long parentCategoryId;
public Boolean getShowChildrens() {
return this.showChildrens;
}
public void setShowChildrens(Boolean showChildrens) {
this.showChildrens = showChildrens;
if(showChildrens != null){
putQueryParameter("ShowChildrens", showChildrens.toString());
}
}
public Long getParentCategoryId() {
return this.parentCategoryId;
}
public void setParentCategoryId(Long parentCategoryId) {
this.parentCategoryId = parentCategoryId;
if(parentCategoryId != null){
putQueryParameter("ParentCategoryId", parentCategoryId.toString());
}
}
@Override
public Class<QueryCategoriesResponse> getResponseClass() {
return QueryCategoriesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryCategoriesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryCategoriesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryCategoriesResponse extends AcsResponse {
private String requestId;
private List<Category> categories;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Category> getCategories() {
return this.categories;
}
public void setCategories(List<Category> categories) {
this.categories = categories;
}
public static class Category {
private Long categoryId;
private Long parentCategoryId;
private String name;
private List<Category> childrens;
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public Long getParentCategoryId() {
return this.parentCategoryId;
}
public void setParentCategoryId(Long parentCategoryId) {
this.parentCategoryId = parentCategoryId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<Category> getChildrens() {
return this.childrens;
}
public void setChildrens(List<Category> childrens) {
this.childrens = childrens;
}
}
@Override
public QueryCategoriesResponse getInstance(UnmarshallerContext context) {
return QueryCategoriesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryCoreWordsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryCoreWordsRequest extends RpcAcsRequest<QueryCoreWordsResponse> {
public QueryCoreWordsRequest() {
super("Chatbot", "2017-10-11", "QueryCoreWords", "beebot");
}
private Integer pageSize;
private String coreWordName;
private Integer pageNumber;
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
@Override
public Class<QueryCoreWordsResponse> getResponseClass() {
return QueryCoreWordsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryCoreWordsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryCoreWordsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryCoreWordsResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<CoreWord> coreWords;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<CoreWord> getCoreWords() {
return this.coreWords;
}
public void setCoreWords(List<CoreWord> coreWords) {
this.coreWords = coreWords;
}
public static class CoreWord {
private String coreWordCode;
private String coreWordName;
private String modifyTime;
private String createTime;
private List<String> synonyms;
public String getCoreWordCode() {
return this.coreWordCode;
}
public void setCoreWordCode(String coreWordCode) {
this.coreWordCode = coreWordCode;
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getSynonyms() {
return this.synonyms;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
}
@Override
public QueryCoreWordsResponse getInstance(UnmarshallerContext context) {
return QueryCoreWordsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryDialogsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryDialogsRequest extends RpcAcsRequest<QueryDialogsResponse> {
public QueryDialogsRequest() {
super("Chatbot", "2017-10-11", "QueryDialogs", "beebot");
}
private String instanceId;
private Integer pageSize;
private String dialogName;
private Integer pageNumber;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
if(dialogName != null){
putQueryParameter("DialogName", dialogName);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
@Override
public Class<QueryDialogsResponse> getResponseClass() {
return QueryDialogsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryDialogsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryDialogsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryDialogsResponse extends AcsResponse {
private String requestId;
private Integer pageSize;
private Integer pageNumber;
private Integer totalCount;
private List<Dialog> dialogs;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Dialog> getDialogs() {
return this.dialogs;
}
public void setDialogs(List<Dialog> dialogs) {
this.dialogs = dialogs;
}
public static class Dialog {
private Long dialogId;
private String dialogName;
private String description;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private Boolean isSampleDialog;
private Integer status;
private Boolean isOnline;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public Boolean getIsSampleDialog() {
return this.isSampleDialog;
}
public void setIsSampleDialog(Boolean isSampleDialog) {
this.isSampleDialog = isSampleDialog;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Boolean getIsOnline() {
return this.isOnline;
}
public void setIsOnline(Boolean isOnline) {
this.isOnline = isOnline;
}
}
@Override
public QueryDialogsResponse getInstance(UnmarshallerContext context) {
return QueryDialogsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryEntitiesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryEntitiesRequest extends RpcAcsRequest<QueryEntitiesResponse> {
public QueryEntitiesRequest() {
super("Chatbot", "2017-10-11", "QueryEntities", "beebot");
}
private String entityName;
private Integer pageSize;
private Long dialogId;
private Integer pageNumber;
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putQueryParameter("EntityName", entityName);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
@Override
public Class<QueryEntitiesResponse> getResponseClass() {
return QueryEntitiesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryEntitiesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryEntitiesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryEntitiesResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Entity> entities;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Entity> getEntities() {
return this.entities;
}
public void setEntities(List<Entity> entities) {
this.entities = entities;
}
public static class Entity {
private Long entityId;
private String entityName;
private String entityType;
private String regex;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private List<MembersItem> members;
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
}
public String getEntityType() {
return this.entityType;
}
public void setEntityType(String entityType) {
this.entityType = entityType;
}
public String getRegex() {
return this.regex;
}
public void setRegex(String regex) {
this.regex = regex;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public List<MembersItem> getMembers() {
return this.members;
}
public void setMembers(List<MembersItem> members) {
this.members = members;
}
public static class MembersItem {
private String memberName;
private List<String> synonyms;
public String getMemberName() {
return this.memberName;
}
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public List<String> getSynonyms() {
return this.synonyms;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
}
}
@Override
public QueryEntitiesResponse getInstance(UnmarshallerContext context) {
return QueryEntitiesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryIntentsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryIntentsRequest extends RpcAcsRequest<QueryIntentsResponse> {
public QueryIntentsRequest() {
super("Chatbot", "2017-10-11", "QueryIntents", "beebot");
}
private String intentName;
private Integer pageSize;
private Long dialogId;
private Integer pageNumber;
public String getIntentName() {
return this.intentName;
}
public void setIntentName(String intentName) {
this.intentName = intentName;
if(intentName != null){
putQueryParameter("IntentName", intentName);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
@Override
public Class<QueryIntentsResponse> getResponseClass() {
return QueryIntentsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryIntentsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryIntentsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryIntentsResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Intent> intents;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Intent> getIntents() {
return this.intents;
}
public void setIntents(List<Intent> intents) {
this.intents = intents;
}
public static class Intent {
private Long intentId;
private String name;
private String createTime;
private String modifyTime;
private String createUserId;
private String createUserName;
private String modifyUserId;
private String modifyUserName;
private List<UserSayItem> userSay;
private List<RuleCheckItem> ruleCheck;
private List<SlotItem> slot;
public Long getIntentId() {
return this.intentId;
}
public void setIntentId(Long intentId) {
this.intentId = intentId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateUserId() {
return this.createUserId;
}
public void setCreateUserId(String createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getModifyUserId() {
return this.modifyUserId;
}
public void setModifyUserId(String modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public List<UserSayItem> getUserSay() {
return this.userSay;
}
public void setUserSay(List<UserSayItem> userSay) {
this.userSay = userSay;
}
public List<RuleCheckItem> getRuleCheck() {
return this.ruleCheck;
}
public void setRuleCheck(List<RuleCheckItem> ruleCheck) {
this.ruleCheck = ruleCheck;
}
public List<SlotItem> getSlot() {
return this.slot;
}
public void setSlot(List<SlotItem> slot) {
this.slot = slot;
}
public static class UserSayItem {
private Boolean strict;
private List<DataItem> data;
public Boolean getStrict() {
return this.strict;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String text;
private String slotId;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getSlotId() {
return this.slotId;
}
public void setSlotId(String slotId) {
this.slotId = slotId;
}
}
}
public static class RuleCheckItem {
private String text;
private Boolean strict;
private List<String> warning;
private List<String> error;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public Boolean getStrict() {
return this.strict;
}
public void setStrict(Boolean strict) {
this.strict = strict;
}
public List<String> getWarning() {
return this.warning;
}
public void setWarning(List<String> warning) {
this.warning = warning;
}
public List<String> getError() {
return this.error;
}
public void setError(List<String> error) {
this.error = error;
}
}
public static class SlotItem {
private String name;
private String value;
private Boolean isNecessary;
private Boolean isArray;
private Integer lifeSpan;
private List<TagsItem> tags;
private List<String> question;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public Boolean getIsNecessary() {
return this.isNecessary;
}
public void setIsNecessary(Boolean isNecessary) {
this.isNecessary = isNecessary;
}
public Boolean getIsArray() {
return this.isArray;
}
public void setIsArray(Boolean isArray) {
this.isArray = isArray;
}
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public List<TagsItem> getTags() {
return this.tags;
}
public void setTags(List<TagsItem> tags) {
this.tags = tags;
}
public List<String> getQuestion() {
return this.question;
}
public void setQuestion(List<String> question) {
this.question = question;
}
public static class TagsItem {
private String value;
private String userSayId;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getUserSayId() {
return this.userSayId;
}
public void setUserSayId(String userSayId) {
this.userSayId = userSayId;
}
}
}
}
@Override
public QueryIntentsResponse getInstance(UnmarshallerContext context) {
return QueryIntentsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryKnowledgesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryKnowledgesRequest extends RpcAcsRequest<QueryKnowledgesResponse> {
public QueryKnowledgesRequest() {
super("Chatbot", "2017-10-11", "QueryKnowledges", "beebot");
}
private Integer pageSize;
private String coreWordName;
private String knowledgeTitle;
private Integer pageNumber;
private Long categoryId;
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
public String getKnowledgeTitle() {
return this.knowledgeTitle;
}
public void setKnowledgeTitle(String knowledgeTitle) {
this.knowledgeTitle = knowledgeTitle;
if(knowledgeTitle != null){
putQueryParameter("KnowledgeTitle", knowledgeTitle);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
if(categoryId != null){
putQueryParameter("CategoryId", categoryId.toString());
}
}
@Override
public Class<QueryKnowledgesResponse> getResponseClass() {
return QueryKnowledgesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryKnowledgesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryKnowledgesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryKnowledgesResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Knowledge> knowledges;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Knowledge> getKnowledges() {
return this.knowledges;
}
public void setKnowledges(List<Knowledge> knowledges) {
this.knowledges = knowledges;
}
public static class Knowledge {
private Long knowledgeId;
private String modifyTime;
private String modifyUserName;
private String createTime;
private String createUserName;
private Long categoryId;
private Integer knowledgeStatus;
private String knowledgeTitle;
private String startDate;
private String endDate;
private String version;
private List<String> coreWords;
public Long getKnowledgeId() {
return this.knowledgeId;
}
public void setKnowledgeId(Long knowledgeId) {
this.knowledgeId = knowledgeId;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public Integer getKnowledgeStatus() {
return this.knowledgeStatus;
}
public void setKnowledgeStatus(Integer knowledgeStatus) {
this.knowledgeStatus = knowledgeStatus;
}
public String getKnowledgeTitle() {
return this.knowledgeTitle;
}
public void setKnowledgeTitle(String knowledgeTitle) {
this.knowledgeTitle = knowledgeTitle;
}
public String getStartDate() {
return this.startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getEndDate() {
return this.endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getBizVersion() {
return this.version;
}
public void setBizVersion(String version) {
this.version = version;
}
/**
* @deprecated use getBizVersion instead of this.
*/
@Deprecated
public String getVersion() {
return this.version;
}
/**
* @deprecated use setBizVersion instead of this.
*/
@Deprecated
public void setVersion(String version) {
this.version = version;
}
public List<String> getCoreWords() {
return this.coreWords;
}
public void setCoreWords(List<String> coreWords) {
this.coreWords = coreWords;
}
}
@Override
public QueryKnowledgesResponse getInstance(UnmarshallerContext context) {
return QueryKnowledgesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryPerspectivesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QueryPerspectivesRequest extends RpcAcsRequest<QueryPerspectivesResponse> {
public QueryPerspectivesRequest() {
super("Chatbot", "2017-10-11", "QueryPerspectives", "beebot");
}
@Override
public Class<QueryPerspectivesResponse> getResponseClass() {
return QueryPerspectivesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QueryPerspectivesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QueryPerspectivesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryPerspectivesResponse extends AcsResponse {
private String requestId;
private List<Perspective> perspectives;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Perspective> getPerspectives() {
return this.perspectives;
}
public void setPerspectives(List<Perspective> perspectives) {
this.perspectives = perspectives;
}
public static class Perspective {
private String modifyUserName;
private String modifyTime;
private String createTime;
private String selfDefine;
private String perspectiveId;
private String createUserName;
private String perspectiveCode;
private Integer status;
private String name;
public String getModifyUserName() {
return this.modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName;
}
public String getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getSelfDefine() {
return this.selfDefine;
}
public void setSelfDefine(String selfDefine) {
this.selfDefine = selfDefine;
}
public String getPerspectiveId() {
return this.perspectiveId;
}
public void setPerspectiveId(String perspectiveId) {
this.perspectiveId = perspectiveId;
}
public String getCreateUserName() {
return this.createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}
public String getPerspectiveCode() {
return this.perspectiveCode;
}
public void setPerspectiveCode(String perspectiveCode) {
this.perspectiveCode = perspectiveCode;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
@Override
public QueryPerspectivesResponse getInstance(UnmarshallerContext context) {
return QueryPerspectivesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QuerySystemEntitiesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class QuerySystemEntitiesRequest extends RpcAcsRequest<QuerySystemEntitiesResponse> {
public QuerySystemEntitiesRequest() {
super("Chatbot", "2017-10-11", "QuerySystemEntities", "beebot");
}
private String entityName;
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
if(entityName != null){
putQueryParameter("EntityName", entityName);
}
}
@Override
public Class<QuerySystemEntitiesResponse> getResponseClass() {
return QuerySystemEntitiesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/QuerySystemEntitiesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.QuerySystemEntitiesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QuerySystemEntitiesResponse extends AcsResponse {
private String requestId;
private List<Entity> systemEntities;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Entity> getSystemEntities() {
return this.systemEntities;
}
public void setSystemEntities(List<Entity> systemEntities) {
this.systemEntities = systemEntities;
}
public static class Entity {
private String defaultQuestion;
private String entityName;
private String entityCode;
public String getDefaultQuestion() {
return this.defaultQuestion;
}
public void setDefaultQuestion(String defaultQuestion) {
this.defaultQuestion = defaultQuestion;
}
public String getEntityName() {
return this.entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
}
public String getEntityCode() {
return this.entityCode;
}
public void setEntityCode(String entityCode) {
this.entityCode = entityCode;
}
}
@Override
public QuerySystemEntitiesResponse getInstance(UnmarshallerContext context) {
return QuerySystemEntitiesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/RemoveEntityMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class RemoveEntityMemberRequest extends RpcAcsRequest<RemoveEntityMemberResponse> {
public RemoveEntityMemberRequest() {
super("Chatbot", "2017-10-11", "RemoveEntityMember", "beebot");
}
private String removeType;
private Member member;
private Long entityId;
public String getRemoveType() {
return this.removeType;
}
public void setRemoveType(String removeType) {
this.removeType = removeType;
if(removeType != null){
putQueryParameter("RemoveType", removeType);
}
}
public Member getMember() {
return this.member;
}
public void setMember(Member member) {
this.member = member;
String memberStr = JSON.toJSONString(member);
if(member != null){
putBodyParameter("Member", memberStr);
}
}
public Long getEntityId() {
return this.entityId;
}
public void setEntityId(Long entityId) {
this.entityId = entityId;
if(entityId != null){
putQueryParameter("EntityId", entityId.toString());
}
}
@Override
public Class<RemoveEntityMemberResponse> getResponseClass() {
return RemoveEntityMemberResponse.class;
}
public static class Member {
private List<String> synonyms;
private String memberName;
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public void setSynonyms(List<String> synonyms) {
this.synonyms = synonyms;
}
public String getMemberName() {
return memberName;
}
public List<String> getSynonyms() {
return synonyms;
}
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/RemoveEntityMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.RemoveEntityMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveEntityMemberResponse extends AcsResponse {
private String requestId;
private String entityId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEntityId() {
return this.entityId;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
@Override
public RemoveEntityMemberResponse getInstance(UnmarshallerContext context) {
return RemoveEntityMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/RemoveSynonymRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class RemoveSynonymRequest extends RpcAcsRequest<RemoveSynonymResponse> {
public RemoveSynonymRequest() {
super("Chatbot", "2017-10-11", "RemoveSynonym", "beebot");
}
private String synonym;
private String coreWordName;
public String getSynonym() {
return this.synonym;
}
public void setSynonym(String synonym) {
this.synonym = synonym;
if(synonym != null){
putQueryParameter("Synonym", synonym);
}
}
public String getCoreWordName() {
return this.coreWordName;
}
public void setCoreWordName(String coreWordName) {
this.coreWordName = coreWordName;
if(coreWordName != null){
putQueryParameter("CoreWordName", coreWordName);
}
}
@Override
public Class<RemoveSynonymResponse> getResponseClass() {
return RemoveSynonymResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/RemoveSynonymResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.RemoveSynonymResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveSynonymResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public RemoveSynonymResponse getInstance(UnmarshallerContext context) {
return RemoveSynonymResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/TestDialogFlowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class TestDialogFlowRequest extends RpcAcsRequest<TestDialogFlowResponse> {
public TestDialogFlowRequest() {
super("Chatbot", "2017-10-11", "TestDialogFlow", "beebot");
}
private Long dialogId;
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
@Override
public Class<TestDialogFlowResponse> getResponseClass() {
return TestDialogFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/TestDialogFlowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.TestDialogFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class TestDialogFlowResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public TestDialogFlowResponse getInstance(UnmarshallerContext context) {
return TestDialogFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateCategoryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class UpdateCategoryRequest extends RpcAcsRequest<UpdateCategoryResponse> {
public UpdateCategoryRequest() {
super("Chatbot", "2017-10-11", "UpdateCategory", "beebot");
}
private String name;
private Long categoryId;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
if(categoryId != null){
putQueryParameter("CategoryId", categoryId.toString());
}
}
@Override
public Class<UpdateCategoryResponse> getResponseClass() {
return UpdateCategoryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateCategoryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateCategoryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateCategoryResponse extends AcsResponse {
private String requestId;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public UpdateCategoryResponse getInstance(UnmarshallerContext context) {
return UpdateCategoryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateDialogFlowRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.alibaba.fastjson.JSON;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import java.util.List;
import java.util.Map;
/**
* @author auto create
* @version
*/
public class UpdateDialogFlowRequest extends RpcAcsRequest<UpdateDialogFlowResponse> {
public UpdateDialogFlowRequest() {
super("Chatbot", "2017-10-11", "UpdateDialogFlow", "beebot");
setMethod(MethodType.POST);
}
private PaasModuleDTO moduleDefinition;
private Long dialogId;
public PaasModuleDTO getModuleDefinition() {
return moduleDefinition;
}
public void setModuleDefinition(PaasModuleDTO moduleDefinition) {
this.moduleDefinition = moduleDefinition;
String moduleDefinitionStr = JSON.toJSONString(moduleDefinition);
if (moduleDefinition != null) {
putBodyParameter("ModuleDefinition", moduleDefinitionStr);
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if (dialogId != null) {
putQueryParameter("DialogId", dialogId.toString());
}
}
public static class PaasModuleDTO {
private ModuleDefinition moduleDefinition;
public void setModuleDefinition(ModuleDefinition moduleDefinition) {
this.moduleDefinition = moduleDefinition;
}
public ModuleDefinition getModuleDefinition() {
return moduleDefinition;
}
}
public static class ModuleDefinition {
private List<NodesItem> nodes;
private List<EdgesItem> edges;
public List<NodesItem> getNodes() {
return this.nodes;
}
public void setNodes(List<NodesItem> nodes) {
this.nodes = nodes;
}
public List<EdgesItem> getEdges() {
return this.edges;
}
public void setEdges(List<EdgesItem> edges) {
this.edges = edges;
}
}
public static class EdgesItem {
private String id;
private String label;
private String source;
private String target;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public String getSource() {
return this.source;
}
public void setSource(String source) {
this.source = source;
}
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
}
public static class NodesItem {
private String code;
private String componentCode;
private Boolean pluginDataUpdate;
private String xx;
private String yy;
private String id;
private String label;
private PluginData pluginData;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getComponentCode() {
return this.componentCode;
}
public void setComponentCode(String componentCode) {
this.componentCode = componentCode;
}
public Boolean getPluginDataUpdate() {
return this.pluginDataUpdate;
}
public void setPluginDataUpdate(Boolean pluginDataUpdate) {
this.pluginDataUpdate = pluginDataUpdate;
}
public String getXx() {
return this.xx;
}
public void setXx(String xx) {
this.xx = xx;
}
public String getYy() {
return this.yy;
}
public void setYy(String yy) {
this.yy = yy;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public PluginData getPluginData() {
return this.pluginData;
}
public void setPluginData(PluginData pluginData) {
this.pluginData = pluginData;
}
}
public static class PluginData {
private Entry entry;
private Function function;
private Response response;
private Slot slot;
public Entry getEntry() {
return this.entry;
}
public void setEntry(Entry entry) {
this.entry = entry;
}
public Function getFunction() {
return this.function;
}
public void setFunction(
Function function) {
this.function = function;
}
public Response getResponse() {
return this.response;
}
public void setResponse(
Response response) {
this.response = response;
}
public Slot getSlot() {
return this.slot;
}
public void setSlot(Slot slot) {
this.slot = slot;
}
}
public static class Slot {
private PluginFieldDataSlot
pluginFieldDataSlot;
public PluginFieldDataSlot getPluginFieldDataSlot() {
return this.pluginFieldDataSlot;
}
public void setPluginFieldDataSlot(
PluginFieldDataSlot pluginFieldDataSlot) {
this.pluginFieldDataSlot = pluginFieldDataSlot;
}
}
public static class PluginFieldDataSlot {
private String intentId;
private String intentName;
private Boolean isSysIntent;
private String name;
private List<ContentSlotItem> contentSlot;
public String getIntentId() {
return this.intentId;
}
public void setIntentId(String intentId) {
this.intentId = intentId;
}
public String getIntentName() {
return this.intentName;
}
public void setIntentName(String intentName) {
this.intentName = intentName;
}
public Boolean getIsSysIntent() {
return this.isSysIntent;
}
public void setIsSysIntent(Boolean isSysIntent) {
this.isSysIntent = isSysIntent;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<ContentSlotItem> getContentSlot() {
return this.contentSlot;
}
public void setContentSlot(List<ContentSlotItem> contentSlot) {
this.contentSlot = contentSlot;
}
}
public static class ContentSlotItem {
private Boolean isArray;
private Boolean isNecessary;
private Integer lifeSpan;
private String name;
private String value;
private List<String> question;
public Boolean getIsArray() {
return this.isArray;
}
public void setIsArray(Boolean isArray) {
this.isArray = isArray;
}
public Boolean getIsNecessary() {
return this.isNecessary;
}
public void setIsNecessary(Boolean isNecessary) {
this.isNecessary = isNecessary;
}
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public List<String> getQuestion() {
return this.question;
}
public void setQuestion(List<String> question) {
this.question = question;
}
}
public static class Response {
private PluginFieldDataResponse
pluginFieldDataResponse;
public PluginFieldDataResponse getPluginFieldDataResponse() {
return this.pluginFieldDataResponse;
}
public void setPluginFieldDataResponse(
PluginFieldDataResponse pluginFieldDataResponse) {
this.pluginFieldDataResponse = pluginFieldDataResponse;
}
}
public static class PluginFieldDataResponse {
private String name;
private ContentResponse
contentResponse;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public ContentResponse getContentResponse() {
return this.contentResponse;
}
public void setContentResponse(
ContentResponse contentResponse) {
this.contentResponse = contentResponse;
}
}
public static class ContentResponse {
private String text;
private String type;
private String image;
private ButtonList
buttonList;
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public ButtonList getButtonList() {
return this.buttonList;
}
public void setButtonList(
ButtonList buttonList) {
this.buttonList = buttonList;
}
}
public static class ButtonList {
private String intro;
private List<ButtonItem> button;
public String getIntro() {
return this.intro;
}
public void setIntro(String intro) {
this.intro = intro;
}
public List<ButtonItem> getButton() {
return this.button;
}
public void setButton(List<ButtonItem> button) {
this.button = button;
}
}
public static class ButtonItem {
private String name;
private String type;
private String text;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
}
public static class Function {
private PluginFieldDataFunction
pluginFieldDataFunction;
public PluginFieldDataFunction getPluginFieldDataFunction() {
return this.pluginFieldDataFunction;
}
public void setPluginFieldDataFunction(
PluginFieldDataFunction pluginFieldDataFunction) {
this.pluginFieldDataFunction = pluginFieldDataFunction;
}
}
public static class PluginFieldDataFunction {
private String code;
private String description;
private String function;
private String name;
private String aliyunService;
private String aliyunFunction;
private String endPoint;
private String type;
private List<SwitchItem> _switch;
private Map<String,Object> params;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getFunction() {
return this.function;
}
public void setFunction(String function) {
this.function = function;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getAliyunService() {
return this.aliyunService;
}
public void setAliyunService(String aliyunService) {
this.aliyunService = aliyunService;
}
public String getAliyunFunction() {
return this.aliyunFunction;
}
public void setAliyunFunction(String aliyunFunction) {
this.aliyunFunction = aliyunFunction;
}
public String getEndPoint() {
return this.endPoint;
}
public void setEndPoint(String endPoint) {
this.endPoint = endPoint;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List<SwitchItem> get_Switch() {
return this._switch;
}
public void set_Switch(List<SwitchItem> _switch) {
this._switch = _switch;
}
public Map<String, Object> getParams() {
return params;
}
public void setParams(Map<String, Object> params) {
this.params = params;
}
}
public static class SwitchItem {
private String id;
private String label;
private String type;
private String value;
private String name;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class Entry {
private PluginFieldDataEntry
pluginFieldDataEntry;
public PluginFieldDataEntry getPluginFieldDataEntry() {
return this.pluginFieldDataEntry;
}
public void setPluginFieldDataEntry(
PluginFieldDataEntry pluginFieldDataEntry) {
this.pluginFieldDataEntry = pluginFieldDataEntry;
}
}
public static class ConditionEntriesItem {
private String id;
private String term;
private String name;
private String type;
private String value;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getTerm() {
return this.term;
}
public void setTerm(String term) {
this.term = term;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class ContentEntryItem {
private List<ConditionEntriesItem> conditionEntries;
public List<ConditionEntriesItem> getConditionEntries() {
return this.conditionEntries;
}
public void setConditionEntries(List<ConditionEntriesItem> conditionEntries) {
this.conditionEntries = conditionEntries;
}
}
public static class PluginFieldDataEntry {
private Integer lifeSpan;
private String name;
private List<ContentEntryItem> contentEntry;
public Integer getLifeSpan() {
return this.lifeSpan;
}
public void setLifeSpan(Integer lifeSpan) {
this.lifeSpan = lifeSpan;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<ContentEntryItem> getContentEntry() {
return this.contentEntry;
}
public void setContentEntry(List<ContentEntryItem> contentEntry) {
this.contentEntry = contentEntry;
}
}
@Override
public Class<UpdateDialogFlowResponse> getResponseClass() {
return UpdateDialogFlowResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateDialogFlowResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateDialogFlowResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateDialogFlowResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateDialogFlowResponse getInstance(UnmarshallerContext context) {
return UpdateDialogFlowResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateDialogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class UpdateDialogRequest extends RpcAcsRequest<UpdateDialogResponse> {
public UpdateDialogRequest() {
super("Chatbot", "2017-10-11", "UpdateDialog", "beebot");
}
private String description;
private Long dialogId;
private String dialogName;
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public Long getDialogId() {
return this.dialogId;
}
public void setDialogId(Long dialogId) {
this.dialogId = dialogId;
if(dialogId != null){
putQueryParameter("DialogId", dialogId.toString());
}
}
public String getDialogName() {
return this.dialogName;
}
public void setDialogName(String dialogName) {
this.dialogName = dialogName;
if(dialogName != null){
putQueryParameter("DialogName", dialogName);
}
}
@Override
public Class<UpdateDialogResponse> getResponseClass() {
return UpdateDialogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model
|
java-sources/com/aliyun/aliyun-java-sdk-chatbot/1.2.1/com/aliyuncs/chatbot/model/v20171011/UpdateDialogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.chatbot.model.v20171011;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.chatbot.transform.v20171011.UpdateDialogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateDialogResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateDialogResponse getInstance(UnmarshallerContext context) {
return UpdateDialogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.