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

Skip to content

Commit cfe8b68

Browse files
committed
add green 2016-06-16
1 parent a96257e commit cfe8b68

25 files changed

+2557
-80
lines changed

aliyun-java-sdk-green/pom.xml

100644100755
Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
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-green</artifactId>
5-
<packaging>jar</packaging>
6-
<version>1.2.0</version>
7-
<name>aliyun-java-sdk-green</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-
<dependencies>
18-
<dependency>
19-
<groupId>com.aliyun</groupId>
20-
<artifactId>aliyun-java-sdk-core</artifactId>
21-
<optional>true</optional>
22-
<version>2.4.2</version>
23-
</dependency>
24-
</dependencies>
25-
<licenses>
26-
<license>
27-
<name></name>
28-
<url></url>
29-
<distribution></distribution>
30-
</license>
31-
</licenses>
32-
<scm>
33-
<url></url>
34-
<connection></connection>
35-
</scm>
36-
<developers>
37-
<developer>
38-
<id>aliyunproducts</id>
39-
<name>Aliyun SDK</name>
40-
<email>[email protected]</email>
41-
</developer>
42-
</developers>
43-
<build>
44-
<plugins>
45-
<plugin>
46-
<artifactId>maven-compiler-plugin</artifactId>
47-
<version>2.3.2</version>
48-
<configuration>
49-
<source>1.6</source>
50-
<target>1.6</target>
51-
<encoding>UTF-8</encoding>
52-
</configuration>
53-
</plugin>
54-
<plugin>
55-
<groupId>org.apache.maven.plugins</groupId>
56-
<artifactId>maven-jar-plugin</artifactId>
57-
<version>2.3.2</version>
58-
<configuration>
59-
<excludes>
60-
</excludes>
61-
</configuration>
62-
</plugin>
63-
<plugin>
64-
<groupId>org.apache.maven.plugins</groupId>
65-
<artifactId>maven-surefire-plugin</artifactId>
66-
<version>2.10</version>
67-
<configuration>
68-
<argLine>-Dfile.encoding=UTF-8</argLine>
69-
</configuration>
70-
</plugin>
71-
<plugin>
72-
<groupId>org.apache.maven.plugins</groupId>
73-
<artifactId>maven-javadoc-plugin</artifactId>
74-
<version>2.8</version>
75-
<configuration>
76-
<encoding>UTF-8</encoding>
77-
</configuration>
78-
</plugin>
79-
</plugins>
80-
</build>
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-green</artifactId>
5+
<packaging>jar</packaging>
6+
<version>1.3.0</version>
7+
<name>aliyun-java-sdk-green</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+
<dependencies>
18+
<dependency>
19+
<groupId>com.aliyun</groupId>
20+
<artifactId>aliyun-java-sdk-core</artifactId>
21+
<optional>true</optional>
22+
<version>2.4.2</version>
23+
</dependency>
24+
</dependencies>
25+
<licenses>
26+
<license>
27+
<name></name>
28+
<url></url>
29+
<distribution></distribution>
30+
</license>
31+
</licenses>
32+
<scm>
33+
<url></url>
34+
<connection></connection>
35+
</scm>
36+
<developers>
37+
<developer>
38+
<id>aliyunproducts</id>
39+
<name>Aliyun SDK</name>
40+
<email>[email protected]</email>
41+
</developer>
42+
</developers>
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<version>2.3.2</version>
48+
<configuration>
49+
<source>1.6</source>
50+
<target>1.6</target>
51+
<encoding>UTF-8</encoding>
52+
</configuration>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-jar-plugin</artifactId>
57+
<version>2.3.2</version>
58+
<configuration>
59+
<excludes>
60+
</excludes>
61+
</configuration>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-surefire-plugin</artifactId>
66+
<version>2.10</version>
67+
<configuration>
68+
<argLine>-Dfile.encoding=UTF-8</argLine>
69+
</configuration>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-javadoc-plugin</artifactId>
74+
<version>2.8</version>
75+
<configuration>
76+
<encoding>UTF-8</encoding>
77+
</configuration>
78+
</plugin>
79+
</plugins>
80+
</build>
8181
</project>
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.green.model.v20160616;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
import java.util.List;
23+
import com.aliyuncs.http.MethodType;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class AntispamDetectionRequest extends RpcAcsRequest<AntispamDetectionResponse> {
30+
31+
public AntispamDetectionRequest() {
32+
super("Green", "2016-06-16", "AntispamDetection");
33+
setMethod(MethodType.POST);
34+
}
35+
36+
private String dataId;
37+
38+
private String postId;
39+
40+
private String sceneId;
41+
42+
private String postNick;
43+
44+
private String postIp;
45+
46+
private String postMac;
47+
48+
private Long postTime;
49+
50+
private String machineCode;
51+
52+
private String parentDataId;
53+
54+
private String title;
55+
56+
private String postContent;
57+
58+
private List<String> imageUrls;
59+
60+
public String getDataId() {
61+
return this.dataId;
62+
}
63+
64+
public void setDataId(String dataId) {
65+
this.dataId = dataId;
66+
putQueryParameter("DataId", dataId);
67+
}
68+
69+
public String getPostId() {
70+
return this.postId;
71+
}
72+
73+
public void setPostId(String postId) {
74+
this.postId = postId;
75+
putQueryParameter("PostId", postId);
76+
}
77+
78+
public String getSceneId() {
79+
return this.sceneId;
80+
}
81+
82+
public void setSceneId(String sceneId) {
83+
this.sceneId = sceneId;
84+
putQueryParameter("SceneId", sceneId);
85+
}
86+
87+
public String getPostNick() {
88+
return this.postNick;
89+
}
90+
91+
public void setPostNick(String postNick) {
92+
this.postNick = postNick;
93+
putQueryParameter("PostNick", postNick);
94+
}
95+
96+
public String getPostIp() {
97+
return this.postIp;
98+
}
99+
100+
public void setPostIp(String postIp) {
101+
this.postIp = postIp;
102+
putQueryParameter("PostIp", postIp);
103+
}
104+
105+
public String getPostMac() {
106+
return this.postMac;
107+
}
108+
109+
public void setPostMac(String postMac) {
110+
this.postMac = postMac;
111+
putQueryParameter("PostMac", postMac);
112+
}
113+
114+
public Long getPostTime() {
115+
return this.postTime;
116+
}
117+
118+
public void setPostTime(Long postTime) {
119+
this.postTime = postTime;
120+
putQueryParameter("PostTime", postTime);
121+
}
122+
123+
public String getMachineCode() {
124+
return this.machineCode;
125+
}
126+
127+
public void setMachineCode(String machineCode) {
128+
this.machineCode = machineCode;
129+
putQueryParameter("MachineCode", machineCode);
130+
}
131+
132+
public String getParentDataId() {
133+
return this.parentDataId;
134+
}
135+
136+
public void setParentDataId(String parentDataId) {
137+
this.parentDataId = parentDataId;
138+
putQueryParameter("ParentDataId", parentDataId);
139+
}
140+
141+
public String getTitle() {
142+
return this.title;
143+
}
144+
145+
public void setTitle(String title) {
146+
this.title = title;
147+
putQueryParameter("Title", title);
148+
}
149+
150+
public String getPostContent() {
151+
return this.postContent;
152+
}
153+
154+
public void setPostContent(String postContent) {
155+
this.postContent = postContent;
156+
putQueryParameter("PostContent", postContent);
157+
}
158+
159+
public List<String> getImageUrls() {
160+
return this.imageUrls;
161+
}
162+
163+
public void setImageUrls(List<String> imageUrls) {
164+
this.imageUrls = imageUrls;
165+
for (int i = 0; i < imageUrls.size(); i++) {
166+
putQueryParameter("ImageUrl." + (i + 1) , imageUrls.get(i));
167+
}
168+
}
169+
170+
@Override
171+
public Class<AntispamDetectionResponse> getResponseClass() {
172+
return AntispamDetectionResponse.class;
173+
}
174+
175+
}

0 commit comments

Comments
 (0)