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

Skip to content

Commit 1387504

Browse files
committed
AFS SDK Auto Released By shenshi,Version:1.0.1
发布日志: 1, Update Dependency
1 parent cf7a6bf commit 1387504

File tree

47 files changed

+1311
-801
lines changed

Some content is hidden

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

47 files changed

+1311
-801
lines changed

aliyun-java-sdk-afs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-18 Version: 1.0.1
2+
1, Update Dependency
3+
14
2018-02-02 Version: 1.0.0
25
1, this version is new of captcha management and nvc analyze
36

aliyun-java-sdk-afs/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-afs</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.0.0</version>
6+
<version>1.0.1</version>
77
<name>aliyun-java-sdk-afs</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -31,7 +31,7 @@ http://www.aliyun.com</description>
3131
<groupId>com.aliyun</groupId>
3232
<artifactId>aliyun-java-sdk-core</artifactId>
3333
<optional>true</optional>
34-
<version>3.2.8</version>
34+
<version>[4.3.2,5.0.0)</version>
3535
</dependency>
3636
</dependencies>
3737
<licenses>
@@ -42,8 +42,9 @@ http://www.aliyun.com</description>
4242
</license>
4343
</licenses>
4444
<scm>
45-
<url></url>
46-
<connection></connection>
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>
4748
</scm>
4849
<developers>
4950
<developer>

aliyun-java-sdk-afs/src/main/java/com/aliyuncs/afs/model/v20180112/AnalyzeNvcRequest.java

Lines changed: 35 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14+
1415
package com.aliyuncs.afs.model.v20180112;
1516

1617
import com.aliyuncs.RpcAcsRequest;
@@ -22,58 +23,45 @@
2223
public class AnalyzeNvcRequest extends RpcAcsRequest<AnalyzeNvcResponse> {
2324

2425
public AnalyzeNvcRequest() {
25-
super("afs", "2018-01-12", "AnalyzeNvc");
26-
}
27-
28-
private Long resourceOwnerId;
29-
30-
private String sourceIp;
31-
32-
private String data;
33-
34-
private String scoreJsonStr;
35-
36-
public Long getResourceOwnerId() {
37-
return this.resourceOwnerId;
38-
}
39-
40-
public void setResourceOwnerId(Long resourceOwnerId) {
41-
this.resourceOwnerId = resourceOwnerId;
42-
if(resourceOwnerId != null){
43-
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
44-
}
45-
}
46-
47-
public String getSourceIp() {
48-
return this.sourceIp;
49-
}
50-
51-
public void setSourceIp(String sourceIp) {
52-
this.sourceIp = sourceIp;
26+
super("afs", "2018-01-12", "AnalyzeNvc", "afs");
27+
}
28+
29+
private String sourceIp;
30+
31+
private String data;
32+
33+
private String scoreJsonStr;
34+
35+
public String getSourceIp() {
36+
return this.sourceIp;
37+
}
38+
39+
public void setSourceIp(String sourceIp) {
40+
this.sourceIp = sourceIp;
5341
if(sourceIp != null){
54-
putQueryParameter("SourceIp", sourceIp);
42+
putQueryParameter("SourceIp", sourceIp);
5543
}
56-
}
57-
58-
public String getData() {
59-
return this.data;
60-
}
61-
62-
public void setData(String data) {
63-
this.data = data;
44+
}
45+
46+
public String getData() {
47+
return this.data;
48+
}
49+
50+
public void setData(String data) {
51+
this.data = data;
6452
if(data != null){
65-
putQueryParameter("Data", data);
53+
putQueryParameter("Data", data);
6654
}
67-
}
68-
69-
public String getScoreJsonStr() {
70-
return this.scoreJsonStr;
71-
}
72-
73-
public void setScoreJsonStr(String scoreJsonStr) {
74-
this.scoreJsonStr = scoreJsonStr;
55+
}
56+
57+
public String getScoreJsonStr() {
58+
return this.scoreJsonStr;
59+
}
60+
61+
public void setScoreJsonStr(String scoreJsonStr) {
62+
this.scoreJsonStr = scoreJsonStr;
7563
if(scoreJsonStr != null){
76-
putQueryParameter("ScoreJsonStr", scoreJsonStr);
64+
putQueryParameter("ScoreJsonStr", scoreJsonStr);
7765
}
7866
}
7967

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
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-
package com.aliyuncs.afs.model.v20180112;
15-
16-
import com.aliyuncs.AcsResponse;
17-
import com.aliyuncs.afs.transform.v20180112.AnalyzeNvcResponseUnmarshaller;
18-
import com.aliyuncs.transform.UnmarshallerContext;
19-
20-
/**
21-
* @author auto create
22-
* @version
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.afs.model.v20180112;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.afs.transform.v20180112.AnalyzeNvcResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
2425
public class AnalyzeNvcResponse extends AcsResponse {
2526

2627
private String requestId;
@@ -52,4 +53,4 @@ public AnalyzeNvcResponse getInstance(UnmarshallerContext context) {
5253
public boolean checkShowJsonItemName() {
5354
return false;
5455
}
55-
}
56+
}

aliyun-java-sdk-afs/src/main/java/com/aliyuncs/afs/model/v20180112/AuthenticateSigRequest.java

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
/*
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
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
95
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
6+
* http://www.apache.org/licenses/LICENSE-2.0
117
*
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.
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.
1813
*/
14+
1915
package com.aliyuncs.afs.model.v20180112;
2016

2117
import com.aliyuncs.RpcAcsRequest;
@@ -27,13 +23,11 @@
2723
public class AuthenticateSigRequest extends RpcAcsRequest<AuthenticateSigResponse> {
2824

2925
public AuthenticateSigRequest() {
30-
super("afs", "2018-01-12", "AuthenticateSig");
26+
super("afs", "2018-01-12", "AuthenticateSig", "afs");
3127
}
3228

3329
private String sig;
3430

35-
private Long resourceOwnerId;
36-
3731
private String remoteIp;
3832

3933
private String sourceIp;
@@ -57,17 +51,6 @@ public void setSig(String sig) {
5751
}
5852
}
5953

60-
public Long getResourceOwnerId() {
61-
return this.resourceOwnerId;
62-
}
63-
64-
public void setResourceOwnerId(Long resourceOwnerId) {
65-
this.resourceOwnerId = resourceOwnerId;
66-
if(resourceOwnerId != null){
67-
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
68-
}
69-
}
70-
7154
public String getRemoteIp() {
7255
return this.remoteIp;
7356
}

aliyun-java-sdk-afs/src/main/java/com/aliyuncs/afs/model/v20180112/AuthenticateSigResponse.java

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
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-
package com.aliyuncs.afs.model.v20180112;
15-
16-
import com.aliyuncs.AcsResponse;
17-
import com.aliyuncs.afs.transform.v20180112.AuthenticateSigResponseUnmarshaller;
18-
import com.aliyuncs.transform.UnmarshallerContext;
19-
20-
/**
21-
* @author auto create
22-
* @version
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.afs.model.v20180112;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.afs.transform.v20180112.AuthenticateSigResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
2425
public class AuthenticateSigResponse extends AcsResponse {
2526

2627
private String requestId;
@@ -82,4 +83,4 @@ public AuthenticateSigResponse getInstance(UnmarshallerContext context) {
8283
public boolean checkShowJsonItemName() {
8384
return false;
8485
}
85-
}
86+
}

0 commit comments

Comments
 (0)