Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f426a93

Browse files
committed
DRCLOUD SDK Auto Released By liaofeng,Version:1.0.1
发布日志: 1, publish drcloud getanswer service
1 parent b43c049 commit f426a93

File tree

5 files changed

+543
-0
lines changed

5 files changed

+543
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-02-22 Version: 1.0.1
2+
1, publish drcloud getanswer service
3+

aliyun-java-sdk-drcloud/pom.xml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.aliyun</groupId>
4+
<artifactId>aliyun-java-sdk-drcloud</artifactId>
5+
<packaging>jar</packaging>
6+
<version>1.0.1</version>
7+
<name>aliyun-java-sdk-drcloud</name>
8+
<url>http://www.aliyun.com</url>
9+
<description>Aliyun Open API SDK for Java
10+
11+
Copyright (C) Alibaba Cloud Computing
12+
All rights reserved.
13+
14+
版权所有 (C)阿里云计算有限公司
15+
16+
http://www.aliyun.com</description>
17+
18+
<distributionManagement>
19+
<snapshotRepository>
20+
<id>sonatype-nexus-snapshots</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
22+
</snapshotRepository>
23+
<repository>
24+
<id>sonatype-nexus-staging</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
</repository>
27+
</distributionManagement>
28+
29+
<dependencies>
30+
<dependency>
31+
<groupId>com.aliyun</groupId>
32+
<artifactId>aliyun-java-sdk-core</artifactId>
33+
<optional>true</optional>
34+
<version>[4.3.2,5.0.0)</version>
35+
</dependency>
36+
</dependencies>
37+
<licenses>
38+
<license>
39+
<name></name>
40+
<url></url>
41+
<distribution></distribution>
42+
</license>
43+
</licenses>
44+
<scm>
45+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
46+
<developerConnection>scm:git:[email protected]:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
47+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
48+
</scm>
49+
<developers>
50+
<developer>
51+
<id>aliyunproducts</id>
52+
<name>Aliyun SDK</name>
53+
<email>[email protected]</email>
54+
</developer>
55+
</developers>
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<version>2.3.2</version>
61+
<configuration>
62+
<source>1.6</source>
63+
<target>1.6</target>
64+
<encoding>UTF-8</encoding>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-jar-plugin</artifactId>
70+
<version>2.3.2</version>
71+
<configuration>
72+
<excludes>
73+
</excludes>
74+
</configuration>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-surefire-plugin</artifactId>
79+
<version>2.10</version>
80+
<configuration>
81+
<argLine>-Dfile.encoding=UTF-8</argLine>
82+
</configuration>
83+
</plugin>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-javadoc-plugin</artifactId>
87+
<version>2.8</version>
88+
<configuration>
89+
<encoding>UTF-8</encoding>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-gpg-plugin</artifactId>
95+
<version>1.5</version>
96+
<executions>
97+
<execution>
98+
<id>sign-artifacts</id>
99+
<phase>verify</phase>
100+
<goals>
101+
<goal>sign</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.sonatype.plugins</groupId>
108+
<artifactId>nexus-staging-maven-plugin</artifactId>
109+
<version>1.6.3</version>
110+
<extensions>true</extensions>
111+
<configuration>
112+
<serverId>sonatype-nexus-staging</serverId>
113+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
115+
</configuration>
116+
</plugin>
117+
</plugins>
118+
</build>
119+
</project>
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
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.drcloud.model.v20190213;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class GetAnswerRequest extends RpcAcsRequest<GetAnswerResponse> {
24+
25+
public GetAnswerRequest() {
26+
super("drcloud", "2019-02-13", "GetAnswer");
27+
}
28+
29+
private String nodeType;
30+
31+
private String userQuestion;
32+
33+
private Long docContentStructureId;
34+
35+
private String sourceEnum;
36+
37+
private String sopInstanceKey;
38+
39+
private String queryChannel;
40+
41+
private Long customerId;
42+
43+
private Long tenantId;
44+
45+
private String categories;
46+
47+
private String sessionId;
48+
49+
private Integer needAnswerNum;
50+
51+
private Long nodeId;
52+
53+
public String getNodeType() {
54+
return this.nodeType;
55+
}
56+
57+
public void setNodeType(String nodeType) {
58+
this.nodeType = nodeType;
59+
if(nodeType != null){
60+
putQueryParameter("NodeType", nodeType);
61+
}
62+
}
63+
64+
public String getUserQuestion() {
65+
return this.userQuestion;
66+
}
67+
68+
public void setUserQuestion(String userQuestion) {
69+
this.userQuestion = userQuestion;
70+
if(userQuestion != null){
71+
putQueryParameter("UserQuestion", userQuestion);
72+
}
73+
}
74+
75+
public Long getDocContentStructureId() {
76+
return this.docContentStructureId;
77+
}
78+
79+
public void setDocContentStructureId(Long docContentStructureId) {
80+
this.docContentStructureId = docContentStructureId;
81+
if(docContentStructureId != null){
82+
putQueryParameter("DocContentStructureId", docContentStructureId.toString());
83+
}
84+
}
85+
86+
public String getSourceEnum() {
87+
return this.sourceEnum;
88+
}
89+
90+
public void setSourceEnum(String sourceEnum) {
91+
this.sourceEnum = sourceEnum;
92+
if(sourceEnum != null){
93+
putQueryParameter("SourceEnum", sourceEnum);
94+
}
95+
}
96+
97+
public String getSopInstanceKey() {
98+
return this.sopInstanceKey;
99+
}
100+
101+
public void setSopInstanceKey(String sopInstanceKey) {
102+
this.sopInstanceKey = sopInstanceKey;
103+
if(sopInstanceKey != null){
104+
putQueryParameter("SopInstanceKey", sopInstanceKey);
105+
}
106+
}
107+
108+
public String getQueryChannel() {
109+
return this.queryChannel;
110+
}
111+
112+
public void setQueryChannel(String queryChannel) {
113+
this.queryChannel = queryChannel;
114+
if(queryChannel != null){
115+
putQueryParameter("QueryChannel", queryChannel);
116+
}
117+
}
118+
119+
public Long getCustomerId() {
120+
return this.customerId;
121+
}
122+
123+
public void setCustomerId(Long customerId) {
124+
this.customerId = customerId;
125+
if(customerId != null){
126+
putQueryParameter("CustomerId", customerId.toString());
127+
}
128+
}
129+
130+
public Long getTenantId() {
131+
return this.tenantId;
132+
}
133+
134+
public void setTenantId(Long tenantId) {
135+
this.tenantId = tenantId;
136+
if(tenantId != null){
137+
putQueryParameter("TenantId", tenantId.toString());
138+
}
139+
}
140+
141+
public String getCategories() {
142+
return this.categories;
143+
}
144+
145+
public void setCategories(String categories) {
146+
this.categories = categories;
147+
if(categories != null){
148+
putQueryParameter("Categories", categories);
149+
}
150+
}
151+
152+
public String getSessionId() {
153+
return this.sessionId;
154+
}
155+
156+
public void setSessionId(String sessionId) {
157+
this.sessionId = sessionId;
158+
if(sessionId != null){
159+
putQueryParameter("SessionId", sessionId);
160+
}
161+
}
162+
163+
public Integer getNeedAnswerNum() {
164+
return this.needAnswerNum;
165+
}
166+
167+
public void setNeedAnswerNum(Integer needAnswerNum) {
168+
this.needAnswerNum = needAnswerNum;
169+
if(needAnswerNum != null){
170+
putQueryParameter("NeedAnswerNum", needAnswerNum.toString());
171+
}
172+
}
173+
174+
public Long getNodeId() {
175+
return this.nodeId;
176+
}
177+
178+
public void setNodeId(Long nodeId) {
179+
this.nodeId = nodeId;
180+
if(nodeId != null){
181+
putQueryParameter("NodeId", nodeId.toString());
182+
}
183+
}
184+
185+
@Override
186+
public Class<GetAnswerResponse> getResponseClass() {
187+
return GetAnswerResponse.class;
188+
}
189+
190+
}

0 commit comments

Comments
 (0)