Skip to content

Commit 2493475

Browse files
committed
Generated 2019-12-26 for OutboundBot.
1 parent 2d1cc26 commit 2493475

File tree

103 files changed

+7073
-766
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+7073
-766
lines changed

aliyun-java-sdk-outboundbot/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-11-26 Version: 1.6.6
2+
- Generated 2019-12-26 for `OutboundBot`.
3+
14
2025-03-27 Version: 1.6.5
25
- Support AgentProfile APIS.
36

aliyun-java-sdk-outboundbot/pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-outboundbot</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.6.5</version>
7+
<version>1.6.6</version>
88
<name>aliyun-java-sdk-outboundbot</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -103,14 +103,13 @@ http://www.aliyun.com</description>
103103
</executions>
104104
</plugin>
105105
<plugin>
106-
<groupId>org.sonatype.plugins</groupId>
107-
<artifactId>nexus-staging-maven-plugin</artifactId>
108-
<version>1.6.3</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.9.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111-
<serverId>sonatype-nexus-staging</serverId>
112-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
114113
</configuration>
115114
</plugin>
116115
</plugins>
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.outboundbot.model.v20191226;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.aliyuncs.http.ProtocolType;
22+
import com.aliyuncs.http.MethodType;
23+
import com.aliyuncs.outboundbot.Endpoint;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class AssignJobsAsyncRequest extends RpcAcsRequest<AssignJobsAsyncResponse> {
30+
31+
32+
@SerializedName("jobsJson")
33+
private List<String> jobsJson;
34+
35+
@SerializedName("callingNumber")
36+
private List<String> callingNumber;
37+
38+
private String instanceId;
39+
40+
private String strategyJson;
41+
42+
private String jobGroupId;
43+
public AssignJobsAsyncRequest() {
44+
super("OutboundBot", "2019-12-26", "AssignJobsAsync", "outboundbot");
45+
setProtocol(ProtocolType.HTTPS);
46+
setMethod(MethodType.POST);
47+
try {
48+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
49+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
50+
} catch (Exception e) {}
51+
}
52+
53+
public List<String> getJobsJson() {
54+
return this.jobsJson;
55+
}
56+
57+
public void setJobsJson(List<String> jobsJson) {
58+
this.jobsJson = jobsJson;
59+
if (jobsJson != null) {
60+
putBodyParameter("JobsJson" , new Gson().toJson(jobsJson));
61+
}
62+
}
63+
64+
public List<String> getCallingNumber() {
65+
return this.callingNumber;
66+
}
67+
68+
public void setCallingNumber(List<String> callingNumber) {
69+
this.callingNumber = callingNumber;
70+
if (callingNumber != null) {
71+
putBodyParameter("CallingNumber" , new Gson().toJson(callingNumber));
72+
}
73+
}
74+
75+
public String getInstanceId() {
76+
return this.instanceId;
77+
}
78+
79+
public void setInstanceId(String instanceId) {
80+
this.instanceId = instanceId;
81+
if(instanceId != null){
82+
putBodyParameter("InstanceId", instanceId);
83+
}
84+
}
85+
86+
public String getStrategyJson() {
87+
return this.strategyJson;
88+
}
89+
90+
public void setStrategyJson(String strategyJson) {
91+
this.strategyJson = strategyJson;
92+
if(strategyJson != null){
93+
putBodyParameter("StrategyJson", strategyJson);
94+
}
95+
}
96+
97+
public String getJobGroupId() {
98+
return this.jobGroupId;
99+
}
100+
101+
public void setJobGroupId(String jobGroupId) {
102+
this.jobGroupId = jobGroupId;
103+
if(jobGroupId != null){
104+
putBodyParameter("JobGroupId", jobGroupId);
105+
}
106+
}
107+
108+
@Override
109+
public Class<AssignJobsAsyncResponse> getResponseClass() {
110+
return AssignJobsAsyncResponse.class;
111+
}
112+
113+
}
Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,34 @@
1515
package com.aliyuncs.outboundbot.model.v20191226;
1616

1717
import com.aliyuncs.AcsResponse;
18-
import com.aliyuncs.outboundbot.transform.v20191226.DismissNumberDistrictInfoParsingResultResponseUnmarshaller;
18+
import com.aliyuncs.outboundbot.transform.v20191226.AssignJobsAsyncResponseUnmarshaller;
1919
import com.aliyuncs.transform.UnmarshallerContext;
2020

2121
/**
2222
* @author auto create
2323
* @version
2424
*/
25-
public class DismissNumberDistrictInfoParsingResultResponse extends AcsResponse {
25+
public class AssignJobsAsyncResponse extends AcsResponse {
26+
27+
private String requestId;
2628

2729
private Integer httpStatusCode;
2830

31+
private Boolean success;
32+
2933
private String code;
3034

3135
private String message;
3236

33-
private String requestId;
37+
private String asyncTaskId;
3438

35-
private Boolean success;
39+
public String getRequestId() {
40+
return this.requestId;
41+
}
42+
43+
public void setRequestId(String requestId) {
44+
this.requestId = requestId;
45+
}
3646

3747
public Integer getHttpStatusCode() {
3848
return this.httpStatusCode;
@@ -42,6 +52,14 @@ public void setHttpStatusCode(Integer httpStatusCode) {
4252
this.httpStatusCode = httpStatusCode;
4353
}
4454

55+
public Boolean getSuccess() {
56+
return this.success;
57+
}
58+
59+
public void setSuccess(Boolean success) {
60+
this.success = success;
61+
}
62+
4563
public String getCode() {
4664
return this.code;
4765
}
@@ -58,25 +76,17 @@ public void setMessage(String message) {
5876
this.message = message;
5977
}
6078

61-
public String getRequestId() {
62-
return this.requestId;
63-
}
64-
65-
public void setRequestId(String requestId) {
66-
this.requestId = requestId;
67-
}
68-
69-
public Boolean getSuccess() {
70-
return this.success;
79+
public String getAsyncTaskId() {
80+
return this.asyncTaskId;
7181
}
7282

73-
public void setSuccess(Boolean success) {
74-
this.success = success;
83+
public void setAsyncTaskId(String asyncTaskId) {
84+
this.asyncTaskId = asyncTaskId;
7585
}
7686

7787
@Override
78-
public DismissNumberDistrictInfoParsingResultResponse getInstance(UnmarshallerContext context) {
79-
return DismissNumberDistrictInfoParsingResultResponseUnmarshaller.unmarshall(this, context);
88+
public AssignJobsAsyncResponse getInstance(UnmarshallerContext context) {
89+
return AssignJobsAsyncResponseUnmarshaller.unmarshall(this, context);
8090
}
8191

8292
@Override
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.outboundbot.model.v20191226;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.google.gson.Gson;
19+
import com.google.gson.annotations.SerializedName;
20+
import com.aliyuncs.http.MethodType;
21+
import com.aliyuncs.outboundbot.Endpoint;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class CreateBeebotIntentLgfRequest extends RpcAcsRequest<CreateBeebotIntentLgfResponse> {
28+
29+
30+
private String scriptId;
31+
32+
private String instanceId;
33+
34+
@SerializedName("lgfDefinition")
35+
private LgfDefinition lgfDefinition;
36+
public CreateBeebotIntentLgfRequest() {
37+
super("OutboundBot", "2019-12-26", "CreateBeebotIntentLgf", "outboundbot");
38+
setMethod(MethodType.POST);
39+
try {
40+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
41+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
42+
} catch (Exception e) {}
43+
}
44+
45+
public String getScriptId() {
46+
return this.scriptId;
47+
}
48+
49+
public void setScriptId(String scriptId) {
50+
this.scriptId = scriptId;
51+
if(scriptId != null){
52+
putQueryParameter("ScriptId", scriptId);
53+
}
54+
}
55+
56+
public String getInstanceId() {
57+
return this.instanceId;
58+
}
59+
60+
public void setInstanceId(String instanceId) {
61+
this.instanceId = instanceId;
62+
if(instanceId != null){
63+
putQueryParameter("InstanceId", instanceId);
64+
}
65+
}
66+
67+
public LgfDefinition getLgfDefinition() {
68+
return this.lgfDefinition;
69+
}
70+
71+
public void setLgfDefinition(LgfDefinition lgfDefinition) {
72+
this.lgfDefinition = lgfDefinition;
73+
if (lgfDefinition != null) {
74+
putQueryParameter("LgfDefinition" , new Gson().toJson(lgfDefinition));
75+
}
76+
}
77+
78+
public static class LgfDefinition {
79+
80+
@SerializedName("RuleText")
81+
private String ruleText;
82+
83+
@SerializedName("IntentId")
84+
private Long intentId;
85+
86+
public String getRuleText() {
87+
return this.ruleText;
88+
}
89+
90+
public void setRuleText(String ruleText) {
91+
this.ruleText = ruleText;
92+
}
93+
94+
public Long getIntentId() {
95+
return this.intentId;
96+
}
97+
98+
public void setIntentId(Long intentId) {
99+
this.intentId = intentId;
100+
}
101+
}
102+
103+
@Override
104+
public Class<CreateBeebotIntentLgfResponse> getResponseClass() {
105+
return CreateBeebotIntentLgfResponse.class;
106+
}
107+
108+
}

0 commit comments

Comments
 (0)