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

Skip to content

Commit 4c314ae

Browse files
committed
CF SDK Auto Released By shenshi,Version:2.6.1
发布日志: 1, Update Dependency
1 parent 1387504 commit 4c314ae

23 files changed

+868
-781
lines changed

aliyun-java-sdk-cf/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: 2.6.1
2+
1, Update Dependency
3+
14
2017-12-18 Version: 2.6.0
25
1, fix bug on 2015-12-08
36
2, others stuffs

aliyun-java-sdk-cf/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-cf</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.6.0</version>
6+
<version>2.6.1</version>
77
<name>aliyun-java-sdk-cf</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>
Lines changed: 85 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,56 @@
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.cf.model.v20151127;
20-
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.cf.model.v20151127;
16+
2117
import com.aliyuncs.RpcAcsRequest;
22-
import com.aliyuncs.http.ProtocolType;
23-
24-
/**
25-
* @author auto create
26-
* @version
27-
*/
28-
public class AuthenticateRequest extends RpcAcsRequest<AuthenticateResponse> {
29-
30-
public AuthenticateRequest() {
31-
super("CF", "2015-11-27", "Authenticate");
32-
setProtocol(ProtocolType.HTTPS);
18+
import com.aliyuncs.http.ProtocolType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class AuthenticateRequest extends RpcAcsRequest<AuthenticateResponse> {
25+
26+
public AuthenticateRequest() {
27+
super("CF", "2015-11-27", "Authenticate", "cf");
28+
setProtocol(ProtocolType.HTTPS);
3329
}
3430

35-
private String serno;
36-
37-
private String token;
38-
39-
private String sessionId;
31+
private String sig;
4032

4133
private String remoteIp;
4234

43-
private String sig;
44-
45-
private String appKey;
35+
private String serno;
4636

4737
private String sceneId;
4838

49-
public String getSerno() {
50-
return this.serno;
51-
}
52-
53-
public void setSerno(String serno) {
54-
this.serno = serno;
55-
putQueryParameter("Serno", serno);
56-
}
39+
private String appKey;
5740

58-
public String getToken() {
59-
return this.token;
60-
}
41+
private String sessionId;
6142

62-
public void setToken(String token) {
63-
this.token = token;
64-
putQueryParameter("Token", token);
65-
}
43+
private String token;
6644

67-
public String getSessionId() {
68-
return this.sessionId;
45+
public String getSig() {
46+
return this.sig;
6947
}
7048

71-
public void setSessionId(String sessionId) {
72-
this.sessionId = sessionId;
73-
putQueryParameter("SessionId", sessionId);
49+
public void setSig(String sig) {
50+
this.sig = sig;
51+
if(sig != null){
52+
putQueryParameter("Sig", sig);
53+
}
7454
}
7555

7656
public String getRemoteIp() {
@@ -79,16 +59,31 @@ public String getRemoteIp() {
7959

8060
public void setRemoteIp(String remoteIp) {
8161
this.remoteIp = remoteIp;
82-
putQueryParameter("RemoteIp", remoteIp);
62+
if(remoteIp != null){
63+
putQueryParameter("RemoteIp", remoteIp);
64+
}
8365
}
8466

85-
public String getSig() {
86-
return this.sig;
67+
public String getSerno() {
68+
return this.serno;
8769
}
8870

89-
public void setSig(String sig) {
90-
this.sig = sig;
91-
putQueryParameter("Sig", sig);
71+
public void setSerno(String serno) {
72+
this.serno = serno;
73+
if(serno != null){
74+
putQueryParameter("Serno", serno);
75+
}
76+
}
77+
78+
public String getSceneId() {
79+
return this.sceneId;
80+
}
81+
82+
public void setSceneId(String sceneId) {
83+
this.sceneId = sceneId;
84+
if(sceneId != null){
85+
putQueryParameter("SceneId", sceneId);
86+
}
9287
}
9388

9489
public String getAppKey() {
@@ -97,21 +92,36 @@ public String getAppKey() {
9792

9893
public void setAppKey(String appKey) {
9994
this.appKey = appKey;
100-
putQueryParameter("AppKey", appKey);
95+
if(appKey != null){
96+
putQueryParameter("AppKey", appKey);
97+
}
10198
}
10299

103-
public String getSceneId() {
104-
return this.sceneId;
100+
public String getSessionId() {
101+
return this.sessionId;
105102
}
106103

107-
public void setSceneId(String sceneId) {
108-
this.sceneId = sceneId;
109-
putQueryParameter("SceneId", sceneId);
104+
public void setSessionId(String sessionId) {
105+
this.sessionId = sessionId;
106+
if(sessionId != null){
107+
putQueryParameter("SessionId", sessionId);
108+
}
110109
}
111110

112-
@Override
113-
public Class<AuthenticateResponse> getResponseClass() {
114-
return AuthenticateResponse.class;
111+
public String getToken() {
112+
return this.token;
115113
}
116114

117-
}
115+
public void setToken(String token) {
116+
this.token = token;
117+
if(token != null){
118+
putQueryParameter("Token", token);
119+
}
120+
}
121+
122+
@Override
123+
public Class<AuthenticateResponse> getResponseClass() {
124+
return AuthenticateResponse.class;
125+
}
126+
127+
}

aliyun-java-sdk-cf/src/main/java/com/aliyuncs/cf/model/v20151127/AuthenticateResponse.java

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
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.cf.model.v20151127;
20-
21-
import com.aliyuncs.AcsResponse;
22-
import com.aliyuncs.cf.transform.v20151127.AuthenticateResponseUnmarshaller;
23-
import com.aliyuncs.transform.UnmarshallerContext;
24-
25-
/**
26-
* @author auto create
27-
* @version
28-
*/
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.cf.model.v20151127;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cf.transform.v20151127.AuthenticateResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
2925
public class AuthenticateResponse extends AcsResponse {
3026

3127
private String requestId;
@@ -125,4 +121,4 @@ public void setRisklevel(String risklevel) {
125121
public AuthenticateResponse getInstance(UnmarshallerContext context) {
126122
return AuthenticateResponseUnmarshaller.unmarshall(this, context);
127123
}
128-
}
124+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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.cf.model.v20151127;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class CFMonthlyPaymentRequest extends RpcAcsRequest<CFMonthlyPaymentResponse> {
24+
25+
public CFMonthlyPaymentRequest() {
26+
super("CF", "2015-11-27", "CFMonthlyPayment", "cf");
27+
}
28+
29+
private String data;
30+
31+
public String getData() {
32+
return this.data;
33+
}
34+
35+
public void setData(String data) {
36+
this.data = data;
37+
if(data != null){
38+
putQueryParameter("data", data);
39+
}
40+
}
41+
42+
@Override
43+
public Class<CFMonthlyPaymentResponse> getResponseClass() {
44+
return CFMonthlyPaymentResponse.class;
45+
}
46+
47+
}

0 commit comments

Comments
 (0)