Skip to content

Commit f01533a

Browse files
committed
Generated 2020-06-29 for alinlp.
1 parent 9ff460d commit f01533a

33 files changed

+1922
-0
lines changed

aliyun-java-sdk-alinlp/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2020-07-27 Version: 1.0.3
2+
- Generated 2020-06-29 for `alinlp`.
3+

aliyun-java-sdk-alinlp/pom.xml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.aliyun</groupId>
5+
<artifactId>aliyun-java-sdk-alinlp</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0.3</version>
8+
<name>aliyun-java-sdk-alinlp</name>
9+
<url>http://www.aliyun.com</url>
10+
<description>Aliyun Open API SDK for Java
11+
Copyright (C) Alibaba Cloud Computing
12+
All rights reserved.
13+
版权所有 (C)阿里云计算有限公司
14+
http://www.aliyun.com</description>
15+
<distributionManagement>
16+
<snapshotRepository>
17+
<id>sonatype-nexus-snapshots</id>
18+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
19+
</snapshotRepository>
20+
<repository>
21+
<id>sonatype-nexus-staging</id>
22+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
23+
</repository>
24+
</distributionManagement>
25+
<dependencies>
26+
<dependency>
27+
<groupId>com.aliyun</groupId>
28+
<artifactId>aliyun-java-sdk-core</artifactId>
29+
<optional>true</optional>
30+
<version>[4.3.2,5.0.0)</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.code.gson</groupId>
34+
<artifactId>gson</artifactId>
35+
<version>2.8.5</version>
36+
</dependency>
37+
</dependencies>
38+
<licenses>
39+
<license>
40+
<name/>
41+
<url/>
42+
<distribution/>
43+
</license>
44+
</licenses>
45+
<scm>
46+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
47+
<developerConnection>scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
48+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
49+
</scm>
50+
<developers>
51+
<developer>
52+
<id>aliyunproducts</id>
53+
<name>Aliyun SDK</name>
54+
<email>aliyunsdk@aliyun.com</email>
55+
</developer>
56+
</developers>
57+
<build>
58+
<plugins>
59+
<plugin>
60+
<artifactId>maven-compiler-plugin</artifactId>
61+
<version>2.3.2</version>
62+
<configuration>
63+
<source>1.6</source>
64+
<target>1.6</target>
65+
<encoding>UTF-8</encoding>
66+
</configuration>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-jar-plugin</artifactId>
71+
<version>2.3.2</version>
72+
<configuration>
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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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.alinlp;
16+
17+
import java.util.HashMap;
18+
19+
public class Endpoint {
20+
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};
21+
22+
public static String endpointRegionalType = "regional";
23+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.alinlp.model.v20200629;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.alinlp.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetDpChEcomRequest extends RpcAcsRequest<GetDpChEcomResponse> {
26+
27+
28+
private String serviceCode;
29+
30+
private String text;
31+
public GetDpChEcomRequest() {
32+
super("alinlp", "2020-06-29", "GetDpChEcom", "alinlp");
33+
setMethod(MethodType.POST);
34+
try {
35+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
36+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
37+
} catch (Exception e) {}
38+
}
39+
40+
public String getServiceCode() {
41+
return this.serviceCode;
42+
}
43+
44+
public void setServiceCode(String serviceCode) {
45+
this.serviceCode = serviceCode;
46+
if(serviceCode != null){
47+
putBodyParameter("ServiceCode", serviceCode);
48+
}
49+
}
50+
51+
public String getText() {
52+
return this.text;
53+
}
54+
55+
public void setText(String text) {
56+
this.text = text;
57+
if(text != null){
58+
putBodyParameter("Text", text);
59+
}
60+
}
61+
62+
@Override
63+
public Class<GetDpChEcomResponse> getResponseClass() {
64+
return GetDpChEcomResponse.class;
65+
}
66+
67+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.alinlp.model.v20200629;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.alinlp.transform.v20200629.GetDpChEcomResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetDpChEcomResponse extends AcsResponse {
26+
27+
private String data;
28+
29+
private String requestId;
30+
31+
public String getData() {
32+
return this.data;
33+
}
34+
35+
public void setData(String data) {
36+
this.data = data;
37+
}
38+
39+
public String getRequestId() {
40+
return this.requestId;
41+
}
42+
43+
public void setRequestId(String requestId) {
44+
this.requestId = requestId;
45+
}
46+
47+
@Override
48+
public GetDpChEcomResponse getInstance(UnmarshallerContext context) {
49+
return GetDpChEcomResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.alinlp.model.v20200629;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.alinlp.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetEcChGeneralRequest extends RpcAcsRequest<GetEcChGeneralResponse> {
26+
27+
28+
private String serviceCode;
29+
30+
private String text;
31+
public GetEcChGeneralRequest() {
32+
super("alinlp", "2020-06-29", "GetEcChGeneral", "alinlp");
33+
setMethod(MethodType.POST);
34+
try {
35+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
36+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
37+
} catch (Exception e) {}
38+
}
39+
40+
public String getServiceCode() {
41+
return this.serviceCode;
42+
}
43+
44+
public void setServiceCode(String serviceCode) {
45+
this.serviceCode = serviceCode;
46+
if(serviceCode != null){
47+
putBodyParameter("ServiceCode", serviceCode);
48+
}
49+
}
50+
51+
public String getText() {
52+
return this.text;
53+
}
54+
55+
public void setText(String text) {
56+
this.text = text;
57+
if(text != null){
58+
putBodyParameter("Text", text);
59+
}
60+
}
61+
62+
@Override
63+
public Class<GetEcChGeneralResponse> getResponseClass() {
64+
return GetEcChGeneralResponse.class;
65+
}
66+
67+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.alinlp.model.v20200629;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.alinlp.transform.v20200629.GetEcChGeneralResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetEcChGeneralResponse extends AcsResponse {
26+
27+
private String data;
28+
29+
private String requestId;
30+
31+
public String getData() {
32+
return this.data;
33+
}
34+
35+
public void setData(String data) {
36+
this.data = data;
37+
}
38+
39+
public String getRequestId() {
40+
return this.requestId;
41+
}
42+
43+
public void setRequestId(String requestId) {
44+
this.requestId = requestId;
45+
}
46+
47+
@Override
48+
public GetEcChGeneralResponse getInstance(UnmarshallerContext context) {
49+
return GetEcChGeneralResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}

0 commit comments

Comments
 (0)