Skip to content

Commit f5cbb9d

Browse files
committed
Fix FaceContrastPicture.
1 parent 9e46231 commit f5cbb9d

17 files changed

+992
-18
lines changed

aliyun-java-sdk-cloudauth/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-04-20 Version: 2.0.9
2+
- Fix FaceContrastPicture.
3+
14
2020-04-08 Version: 2.0.8
25
- Add SubCode for DescribeFaceVerify.
36

aliyun-java-sdk-cloudauth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-cloudauth</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.0.8</version>
7+
<version>2.0.9</version>
88
<name>aliyun-java-sdk-cloudauth</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ContrastFaceVerifyRequest.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public String getProductCode() {
7070
public void setProductCode(String productCode) {
7171
this.productCode = productCode;
7272
if(productCode != null){
73-
putQueryParameter("ProductCode", productCode);
73+
putBodyParameter("ProductCode", productCode);
7474
}
7575
}
7676

@@ -81,7 +81,7 @@ public String getOssObjectName() {
8181
public void setOssObjectName(String ossObjectName) {
8282
this.ossObjectName = ossObjectName;
8383
if(ossObjectName != null){
84-
putQueryParameter("OssObjectName", ossObjectName);
84+
putBodyParameter("OssObjectName", ossObjectName);
8585
}
8686
}
8787

@@ -92,7 +92,7 @@ public String getFaceContrastPicture() {
9292
public void setFaceContrastPicture(String faceContrastPicture) {
9393
this.faceContrastPicture = faceContrastPicture;
9494
if(faceContrastPicture != null){
95-
putQueryParameter("FaceContrastPicture", faceContrastPicture);
95+
putBodyParameter("FaceContrastPicture", faceContrastPicture);
9696
}
9797
}
9898

@@ -103,7 +103,7 @@ public String getCertName() {
103103
public void setCertName(String certName) {
104104
this.certName = certName;
105105
if(certName != null){
106-
putQueryParameter("CertName", certName);
106+
putBodyParameter("CertName", certName);
107107
}
108108
}
109109

@@ -114,7 +114,7 @@ public String getIp() {
114114
public void setIp(String ip) {
115115
this.ip = ip;
116116
if(ip != null){
117-
putQueryParameter("Ip", ip);
117+
putBodyParameter("Ip", ip);
118118
}
119119
}
120120

@@ -125,7 +125,7 @@ public String getMobile() {
125125
public void setMobile(String mobile) {
126126
this.mobile = mobile;
127127
if(mobile != null){
128-
putQueryParameter("Mobile", mobile);
128+
putBodyParameter("Mobile", mobile);
129129
}
130130
}
131131

@@ -136,7 +136,7 @@ public String getDeviceToken() {
136136
public void setDeviceToken(String deviceToken) {
137137
this.deviceToken = deviceToken;
138138
if(deviceToken != null){
139-
putQueryParameter("DeviceToken", deviceToken);
139+
putBodyParameter("DeviceToken", deviceToken);
140140
}
141141
}
142142

@@ -147,7 +147,7 @@ public String getUserId() {
147147
public void setUserId(String userId) {
148148
this.userId = userId;
149149
if(userId != null){
150-
putQueryParameter("UserId", userId);
150+
putBodyParameter("UserId", userId);
151151
}
152152
}
153153

@@ -158,7 +158,7 @@ public String getCertifyId() {
158158
public void setCertifyId(String certifyId) {
159159
this.certifyId = certifyId;
160160
if(certifyId != null){
161-
putQueryParameter("CertifyId", certifyId);
161+
putBodyParameter("CertifyId", certifyId);
162162
}
163163
}
164164

@@ -169,7 +169,7 @@ public String getCertNo() {
169169
public void setCertNo(String certNo) {
170170
this.certNo = certNo;
171171
if(certNo != null){
172-
putQueryParameter("CertNo", certNo);
172+
putBodyParameter("CertNo", certNo);
173173
}
174174
}
175175

@@ -180,7 +180,7 @@ public String getOuterOrderNo() {
180180
public void setOuterOrderNo(String outerOrderNo) {
181181
this.outerOrderNo = outerOrderNo;
182182
if(outerOrderNo != null){
183-
putQueryParameter("OuterOrderNo", outerOrderNo);
183+
putBodyParameter("OuterOrderNo", outerOrderNo);
184184
}
185185
}
186186

@@ -191,7 +191,7 @@ public String getCertType() {
191191
public void setCertType(String certType) {
192192
this.certType = certType;
193193
if(certType != null){
194-
putQueryParameter("CertType", certType);
194+
putBodyParameter("CertType", certType);
195195
}
196196
}
197197

@@ -202,7 +202,7 @@ public String getFaceContrastPictureUrl() {
202202
public void setFaceContrastPictureUrl(String faceContrastPictureUrl) {
203203
this.faceContrastPictureUrl = faceContrastPictureUrl;
204204
if(faceContrastPictureUrl != null){
205-
putQueryParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
205+
putBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
206206
}
207207
}
208208

@@ -213,7 +213,7 @@ public Long getSceneId() {
213213
public void setSceneId(Long sceneId) {
214214
this.sceneId = sceneId;
215215
if(sceneId != null){
216-
putQueryParameter("SceneId", sceneId.toString());
216+
putBodyParameter("SceneId", sceneId.toString());
217217
}
218218
}
219219

@@ -224,7 +224,7 @@ public String getOssBucketName() {
224224
public void setOssBucketName(String ossBucketName) {
225225
this.ossBucketName = ossBucketName;
226226
if(ossBucketName != null){
227-
putQueryParameter("OssBucketName", ossBucketName);
227+
putBodyParameter("OssBucketName", ossBucketName);
228228
}
229229
}
230230

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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.cloudauth.model.v20190307;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.cloudauth.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DescribeAppInfoRequest extends RpcAcsRequest<DescribeAppInfoResponse> {
26+
27+
28+
private Integer currentPage;
29+
30+
private String platform;
31+
32+
private Integer pageSize;
33+
public DescribeAppInfoRequest() {
34+
super("Cloudauth", "2019-03-07", "DescribeAppInfo", "cloudauth");
35+
setMethod(MethodType.POST);
36+
try {
37+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
38+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
39+
} catch (Exception e) {}
40+
}
41+
42+
public Integer getCurrentPage() {
43+
return this.currentPage;
44+
}
45+
46+
public void setCurrentPage(Integer currentPage) {
47+
this.currentPage = currentPage;
48+
if(currentPage != null){
49+
putQueryParameter("CurrentPage", currentPage.toString());
50+
}
51+
}
52+
53+
public String getPlatform() {
54+
return this.platform;
55+
}
56+
57+
public void setPlatform(String platform) {
58+
this.platform = platform;
59+
if(platform != null){
60+
putQueryParameter("Platform", platform);
61+
}
62+
}
63+
64+
public Integer getPageSize() {
65+
return this.pageSize;
66+
}
67+
68+
public void setPageSize(Integer pageSize) {
69+
this.pageSize = pageSize;
70+
if(pageSize != null){
71+
putQueryParameter("PageSize", pageSize.toString());
72+
}
73+
}
74+
75+
@Override
76+
public Class<DescribeAppInfoResponse> getResponseClass() {
77+
return DescribeAppInfoResponse.class;
78+
}
79+
80+
}

0 commit comments

Comments
 (0)