diff --git a/aliyun-java-sdk-cloudauth/ChangeLog.txt b/aliyun-java-sdk-cloudauth/ChangeLog.txt index e3bc574417..e2a70a1ab5 100644 --- a/aliyun-java-sdk-cloudauth/ChangeLog.txt +++ b/aliyun-java-sdk-cloudauth/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-04-03 Version: 2.0.35 +- Generated 2019-03-07 for `Cloudauth`. + 2022-06-29 Version: 2.0.33 - For 2019-03-07. diff --git a/aliyun-java-sdk-cloudauth/pom.xml b/aliyun-java-sdk-cloudauth/pom.xml index bd3bdd9b1b..9edd8259eb 100644 --- a/aliyun-java-sdk-cloudauth/pom.xml +++ b/aliyun-java-sdk-cloudauth/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-cloudauth jar - 2.0.33 + 2.0.35 aliyun-java-sdk-cloudauth http://www.aliyun.com Aliyun Open API SDK for Java @@ -27,7 +27,7 @@ http://www.aliyun.com com.aliyun aliyun-java-sdk-core true - [4.4.9,5.0.0) + [4.3.2,5.0.0) com.google.code.gson @@ -37,9 +37,8 @@ http://www.aliyun.com - - - + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt @@ -84,10 +83,9 @@ http://www.aliyun.com org.apache.maven.plugins maven-javadoc-plugin - 3.1.0 + 2.8 UTF-8 - none diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyRequest.java new file mode 100644 index 0000000000..e301bdcf04 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyRequest.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.cloudauth.Endpoint; + +/** + * @author auto create + * @version + */ +public class AIGCFaceVerifyRequest extends RpcAcsRequest { + + + private String productCode; + + private String ossObjectName; + + private String faceContrastPicture; + + private String outerOrderNo; + + private String faceContrastPictureUrl; + + private Long sceneId; + + private String ossBucketName; + public AIGCFaceVerifyRequest() { + super("Cloudauth", "2019-03-07", "AIGCFaceVerify", "cloudauth"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getProductCode() { + return this.productCode; + } + + public void setProductCode(String productCode) { + this.productCode = productCode; + if(productCode != null){ + putQueryParameter("ProductCode", productCode); + } + } + + public String getOssObjectName() { + return this.ossObjectName; + } + + public void setOssObjectName(String ossObjectName) { + this.ossObjectName = ossObjectName; + if(ossObjectName != null){ + putQueryParameter("OssObjectName", ossObjectName); + } + } + + public String getFaceContrastPicture() { + return this.faceContrastPicture; + } + + public void setFaceContrastPicture(String faceContrastPicture) { + this.faceContrastPicture = faceContrastPicture; + if(faceContrastPicture != null){ + putBodyParameter("FaceContrastPicture", faceContrastPicture); + } + } + + public String getOuterOrderNo() { + return this.outerOrderNo; + } + + public void setOuterOrderNo(String outerOrderNo) { + this.outerOrderNo = outerOrderNo; + if(outerOrderNo != null){ + putQueryParameter("OuterOrderNo", outerOrderNo); + } + } + + public String getFaceContrastPictureUrl() { + return this.faceContrastPictureUrl; + } + + public void setFaceContrastPictureUrl(String faceContrastPictureUrl) { + this.faceContrastPictureUrl = faceContrastPictureUrl; + if(faceContrastPictureUrl != null){ + putQueryParameter("FaceContrastPictureUrl", faceContrastPictureUrl); + } + } + + public Long getSceneId() { + return this.sceneId; + } + + public void setSceneId(Long sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId.toString()); + } + } + + public String getOssBucketName() { + return this.ossBucketName; + } + + public void setOssBucketName(String ossBucketName) { + this.ossBucketName = ossBucketName; + if(ossBucketName != null){ + putQueryParameter("OssBucketName", ossBucketName); + } + } + + @Override + public Class getResponseClass() { + return AIGCFaceVerifyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyResponse.java new file mode 100644 index 0000000000..cd5cfd4b6f --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyResponse.java @@ -0,0 +1,109 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.AIGCFaceVerifyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AIGCFaceVerifyResponse extends AcsResponse { + + private String requestId; + + private String message; + + private String code; + + private ResultObject resultObject; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public ResultObject getResultObject() { + return this.resultObject; + } + + public void setResultObject(ResultObject resultObject) { + this.resultObject = resultObject; + } + + public static class ResultObject { + + private String result; + + private String score; + + private String certifyId; + + public String getResult() { + return this.result; + } + + public void setResult(String result) { + this.result = result; + } + + public String getScore() { + return this.score; + } + + public void setScore(String score) { + this.score = score; + } + + public String getCertifyId() { + return this.certifyId; + } + + public void setCertifyId(String certifyId) { + this.certifyId = certifyId; + } + } + + @Override + public AIGCFaceVerifyResponse getInstance(UnmarshallerContext context) { + return AIGCFaceVerifyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CompareFaceVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CompareFaceVerifyRequest.java index 35ecea8568..caafb247da 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CompareFaceVerifyRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CompareFaceVerifyRequest.java @@ -53,7 +53,7 @@ public class CompareFaceVerifyRequest extends RpcAcsRequest { private String sourceImageValue; public CompareFacesRequest() { - super("Cloudauth", "2019-03-07", "CompareFaces"); + super("Cloudauth", "2019-03-07", "CompareFaces", "cloudauth"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); try { diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ContrastFaceVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ContrastFaceVerifyRequest.java index ad512ae1e1..98f29e6f38 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ContrastFaceVerifyRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ContrastFaceVerifyRequest.java @@ -63,7 +63,7 @@ public class ContrastFaceVerifyRequest extends RpcAcsRequest { private Integer authYears; public CreateAuthKeyRequest() { - super("Cloudauth", "2019-03-07", "CreateAuthKey"); + super("Cloudauth", "2019-03-07", "CreateAuthKey", "cloudauth"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CreateVerifySettingRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CreateVerifySettingRequest.java index ddf0a184f1..a03e16b2e8 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CreateVerifySettingRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/CreateVerifySettingRequest.java @@ -37,7 +37,7 @@ public class CreateVerifySettingRequest extends RpcAcsRequest { public DescribeOssUploadTokenRequest() { - super("Cloudauth", "2019-03-07", "DescribeOssUploadToken"); + super("Cloudauth", "2019-03-07", "DescribeOssUploadToken", "cloudauth"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataRequest.java new file mode 100644 index 0000000000..5809a9ca19 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataRequest.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.cloudauth.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribePageFaceVerifyDataRequest extends RpcAcsRequest { + + + private String productCode; + + private Long currentPage; + + private String startDate; + + private String endDate; + + private Long sceneId; + + private Long pageSize; + public DescribePageFaceVerifyDataRequest() { + super("Cloudauth", "2019-03-07", "DescribePageFaceVerifyData", "cloudauth"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getProductCode() { + return this.productCode; + } + + public void setProductCode(String productCode) { + this.productCode = productCode; + if(productCode != null){ + putQueryParameter("ProductCode", productCode); + } + } + + public Long getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Long currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putQueryParameter("CurrentPage", currentPage.toString()); + } + } + + public String getStartDate() { + return this.startDate; + } + + public void setStartDate(String startDate) { + this.startDate = startDate; + if(startDate != null){ + putQueryParameter("StartDate", startDate); + } + } + + public String getEndDate() { + return this.endDate; + } + + public void setEndDate(String endDate) { + this.endDate = endDate; + if(endDate != null){ + putQueryParameter("EndDate", endDate); + } + } + + public Long getSceneId() { + return this.sceneId; + } + + public void setSceneId(Long sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId.toString()); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribePageFaceVerifyDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataResponse.java new file mode 100644 index 0000000000..60ff01d6ff --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribePageFaceVerifyDataResponse.java @@ -0,0 +1,190 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.DescribePageFaceVerifyDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribePageFaceVerifyDataResponse extends AcsResponse { + + private String requestId; + + private String success; + + private String code; + + private String message; + + private String totalCount; + + private String pageSize; + + private String totalPage; + + private String currentPage; + + private List items; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String success) { + this.success = success; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(String totalCount) { + this.totalCount = totalCount; + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + } + + public String getTotalPage() { + return this.totalPage; + } + + public void setTotalPage(String totalPage) { + this.totalPage = totalPage; + } + + public String getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(String currentPage) { + this.currentPage = currentPage; + } + + public List getItems() { + return this.items; + } + + public void setItems(List items) { + this.items = items; + } + + public static class ItemsItem { + + private String date; + + private String totalCount; + + private String successCount; + + private String sceneId; + + private String sceneName; + + private String productCode; + + public String getDate() { + return this.date; + } + + public void setDate(String date) { + this.date = date; + } + + public String getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(String totalCount) { + this.totalCount = totalCount; + } + + public String getSuccessCount() { + return this.successCount; + } + + public void setSuccessCount(String successCount) { + this.successCount = successCount; + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + } + + public String getSceneName() { + return this.sceneName; + } + + public void setSceneName(String sceneName) { + this.sceneName = sceneName; + } + + public String getProductCode() { + return this.productCode; + } + + public void setProductCode(String productCode) { + this.productCode = productCode; + } + } + + @Override + public DescribePageFaceVerifyDataResponse getInstance(UnmarshallerContext context) { + return DescribePageFaceVerifyDataResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListRequest.java new file mode 100644 index 0000000000..2771a894c2 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListRequest.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.cloudauth.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeSmartStatisticsPageListRequest extends RpcAcsRequest { + + + private String startDate; + + private String pageSize; + + private String currentPage; + + private String endDate; + + private String serviceCode; + + private String sceneId; + public DescribeSmartStatisticsPageListRequest() { + super("Cloudauth", "2019-03-07", "DescribeSmartStatisticsPageList", "cloudauth"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getStartDate() { + return this.startDate; + } + + public void setStartDate(String startDate) { + this.startDate = startDate; + if(startDate != null){ + putQueryParameter("StartDate", startDate); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(String currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putQueryParameter("CurrentPage", currentPage); + } + } + + public String getEndDate() { + return this.endDate; + } + + public void setEndDate(String endDate) { + this.endDate = endDate; + if(endDate != null){ + putQueryParameter("EndDate", endDate); + } + } + + public String getServiceCode() { + return this.serviceCode; + } + + public void setServiceCode(String serviceCode) { + this.serviceCode = serviceCode; + if(serviceCode != null){ + putQueryParameter("ServiceCode", serviceCode); + } + } + + public String getSceneId() { + return this.sceneId; + } + + public void setSceneId(String sceneId) { + this.sceneId = sceneId; + if(sceneId != null){ + putQueryParameter("SceneId", sceneId); + } + } + + @Override + public Class getResponseClass() { + return DescribeSmartStatisticsPageListResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListResponse.java new file mode 100644 index 0000000000..3efc173129 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeSmartStatisticsPageListResponse.java @@ -0,0 +1,170 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.DescribeSmartStatisticsPageListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSmartStatisticsPageListResponse extends AcsResponse { + + private Integer currentPage; + + private Integer totalPage; + + private Integer pageSize; + + private String requestId; + + private Integer totalCount; + + private List items; + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + } + + public Integer getTotalPage() { + return this.totalPage; + } + + public void setTotalPage(Integer totalPage) { + this.totalPage = totalPage; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getItems() { + return this.items; + } + + public void setItems(List items) { + this.items = items; + } + + public static class ItemsItem { + + private String date; + + private Long sceneId; + + private String sceneName; + + private Integer totalCount; + + private Integer successCount; + + private String passRate; + + private String productCode; + + public String getDate() { + return this.date; + } + + public void setDate(String date) { + this.date = date; + } + + public Long getSceneId() { + return this.sceneId; + } + + public void setSceneId(Long sceneId) { + this.sceneId = sceneId; + } + + public String getSceneName() { + return this.sceneName; + } + + public void setSceneName(String sceneName) { + this.sceneName = sceneName; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getSuccessCount() { + return this.successCount; + } + + public void setSuccessCount(Integer successCount) { + this.successCount = successCount; + } + + public String getPassRate() { + return this.passRate; + } + + public void setPassRate(String passRate) { + this.passRate = passRate; + } + + public String getProductCode() { + return this.productCode; + } + + public void setProductCode(String productCode) { + this.productCode = productCode; + } + } + + @Override + public DescribeSmartStatisticsPageListResponse getInstance(UnmarshallerContext context) { + return DescribeSmartStatisticsPageListResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeVerifyResultRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeVerifyResultRequest.java index e253d61b18..8f64ee2a7e 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeVerifyResultRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/DescribeVerifyResultRequest.java @@ -29,7 +29,7 @@ public class DescribeVerifyResultRequest extends RpcAcsRequest { + + + private String paramType; + + private String identifyNum; + + private String userName; + public Id2MetaVerifyRequest() { + super("Cloudauth", "2019-03-07", "Id2MetaVerify", "cloudauth"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getParamType() { + return this.paramType; + } + + public void setParamType(String paramType) { + this.paramType = paramType; + if(paramType != null){ + putQueryParameter("ParamType", paramType); + } + } + + public String getIdentifyNum() { + return this.identifyNum; + } + + public void setIdentifyNum(String identifyNum) { + this.identifyNum = identifyNum; + if(identifyNum != null){ + putQueryParameter("IdentifyNum", identifyNum); + } + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + if(userName != null){ + putQueryParameter("UserName", userName); + } + } + + @Override + public Class getResponseClass() { + return Id2MetaVerifyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Id2MetaVerifyResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Id2MetaVerifyResponse.java new file mode 100644 index 0000000000..cff99c2e1b --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Id2MetaVerifyResponse.java @@ -0,0 +1,89 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.Id2MetaVerifyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class Id2MetaVerifyResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String message; + + private ResultObject resultObject; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public ResultObject getResultObject() { + return this.resultObject; + } + + public void setResultObject(ResultObject resultObject) { + this.resultObject = resultObject; + } + + public static class ResultObject { + + private String bizCode; + + public String getBizCode() { + return this.bizCode; + } + + public void setBizCode(String bizCode) { + this.bizCode = bizCode; + } + } + + @Override + public Id2MetaVerifyResponse getInstance(UnmarshallerContext context) { + return Id2MetaVerifyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/InitFaceVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/InitFaceVerifyRequest.java index 7c3ff2a89e..e0454f1e7f 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/InitFaceVerifyRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/InitFaceVerifyRequest.java @@ -25,16 +25,26 @@ public class InitFaceVerifyRequest extends RpcAcsRequest { + private String birthday; + private String productCode; private String faceContrastPicture; + private String readImg; + + private String rarelyCharacters; + + private String voluntaryCustomizedContent; + private String userId; private String certifyId; private String encryptType; + private String mode; + private String certNo; private String outerOrderNo; @@ -45,18 +55,28 @@ public class InitFaceVerifyRequest extends RpcAcsRequest private String model; + private String suitableType; + + private String certifyUrlStyle; + private String metaInfo; private String ossObjectName; + private String validityDate; + private String certName; private String ip; private String mobile; + private String faceGuardOutput; + private String authId; + private String procedurePriority; + private Long sceneId; private String ossBucketName; @@ -71,7 +91,7 @@ public class InitFaceVerifyRequest extends RpcAcsRequest private String certifyUrlType; public InitFaceVerifyRequest() { - super("Cloudauth", "2019-03-07", "InitFaceVerify"); + super("Cloudauth", "2019-03-07", "InitFaceVerify", "cloudauth"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); @@ -79,6 +99,17 @@ public InitFaceVerifyRequest() { } catch (Exception e) {} } + public String getBirthday() { + return this.birthday; + } + + public void setBirthday(String birthday) { + this.birthday = birthday; + if(birthday != null){ + putQueryParameter("Birthday", birthday); + } + } + public String getProductCode() { return this.productCode; } @@ -101,6 +132,39 @@ public void setFaceContrastPicture(String faceContrastPicture) { } } + public String getReadImg() { + return this.readImg; + } + + public void setReadImg(String readImg) { + this.readImg = readImg; + if(readImg != null){ + putQueryParameter("ReadImg", readImg); + } + } + + public String getRarelyCharacters() { + return this.rarelyCharacters; + } + + public void setRarelyCharacters(String rarelyCharacters) { + this.rarelyCharacters = rarelyCharacters; + if(rarelyCharacters != null){ + putQueryParameter("RarelyCharacters", rarelyCharacters); + } + } + + public String getVoluntaryCustomizedContent() { + return this.voluntaryCustomizedContent; + } + + public void setVoluntaryCustomizedContent(String voluntaryCustomizedContent) { + this.voluntaryCustomizedContent = voluntaryCustomizedContent; + if(voluntaryCustomizedContent != null){ + putQueryParameter("VoluntaryCustomizedContent", voluntaryCustomizedContent); + } + } + public String getUserId() { return this.userId; } @@ -134,6 +198,17 @@ public void setEncryptType(String encryptType) { } } + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + if(mode != null){ + putQueryParameter("Mode", mode); + } + } + public String getCertNo() { return this.certNo; } @@ -189,6 +264,28 @@ public void setModel(String model) { } } + public String getSuitableType() { + return this.suitableType; + } + + public void setSuitableType(String suitableType) { + this.suitableType = suitableType; + if(suitableType != null){ + putQueryParameter("SuitableType", suitableType); + } + } + + public String getCertifyUrlStyle() { + return this.certifyUrlStyle; + } + + public void setCertifyUrlStyle(String certifyUrlStyle) { + this.certifyUrlStyle = certifyUrlStyle; + if(certifyUrlStyle != null){ + putQueryParameter("CertifyUrlStyle", certifyUrlStyle); + } + } + public String getMetaInfo() { return this.metaInfo; } @@ -211,6 +308,17 @@ public void setOssObjectName(String ossObjectName) { } } + public String getValidityDate() { + return this.validityDate; + } + + public void setValidityDate(String validityDate) { + this.validityDate = validityDate; + if(validityDate != null){ + putQueryParameter("ValidityDate", validityDate); + } + } + public String getCertName() { return this.certName; } @@ -244,6 +352,17 @@ public void setMobile(String mobile) { } } + public String getFaceGuardOutput() { + return this.faceGuardOutput; + } + + public void setFaceGuardOutput(String faceGuardOutput) { + this.faceGuardOutput = faceGuardOutput; + if(faceGuardOutput != null){ + putQueryParameter("FaceGuardOutput", faceGuardOutput); + } + } + public String getAuthId() { return this.authId; } @@ -255,6 +374,17 @@ public void setAuthId(String authId) { } } + public String getProcedurePriority() { + return this.procedurePriority; + } + + public void setProcedurePriority(String procedurePriority) { + this.procedurePriority = procedurePriority; + if(procedurePriority != null){ + putQueryParameter("ProcedurePriority", procedurePriority); + } + } + public Long getSceneId() { return this.sceneId; } diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/LivenessFaceVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/LivenessFaceVerifyRequest.java index f9a5129a3f..a22f71c5f8 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/LivenessFaceVerifyRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/LivenessFaceVerifyRequest.java @@ -53,7 +53,7 @@ public class LivenessFaceVerifyRequest extends RpcAcsRequest { + + + private String paramType; + + private String mobile; + + private String identifyNum; + + private String userName; + public Mobile3MetaDetailVerifyRequest() { + super("Cloudauth", "2019-03-07", "Mobile3MetaDetailVerify", "cloudauth"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getParamType() { + return this.paramType; + } + + public void setParamType(String paramType) { + this.paramType = paramType; + if(paramType != null){ + putQueryParameter("ParamType", paramType); + } + } + + public String getMobile() { + return this.mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + if(mobile != null){ + putQueryParameter("Mobile", mobile); + } + } + + public String getIdentifyNum() { + return this.identifyNum; + } + + public void setIdentifyNum(String identifyNum) { + this.identifyNum = identifyNum; + if(identifyNum != null){ + putQueryParameter("IdentifyNum", identifyNum); + } + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + if(userName != null){ + putQueryParameter("UserName", userName); + } + } + + @Override + public Class getResponseClass() { + return Mobile3MetaDetailVerifyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaDetailVerifyResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaDetailVerifyResponse.java new file mode 100644 index 0000000000..17c7ab5a60 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaDetailVerifyResponse.java @@ -0,0 +1,109 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.Mobile3MetaDetailVerifyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class Mobile3MetaDetailVerifyResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String message; + + private ResultObject resultObject; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public ResultObject getResultObject() { + return this.resultObject; + } + + public void setResultObject(ResultObject resultObject) { + this.resultObject = resultObject; + } + + public static class ResultObject { + + private String bizCode; + + private String subCode; + + private String ispName; + + public String getBizCode() { + return this.bizCode; + } + + public void setBizCode(String bizCode) { + this.bizCode = bizCode; + } + + public String getSubCode() { + return this.subCode; + } + + public void setSubCode(String subCode) { + this.subCode = subCode; + } + + public String getIspName() { + return this.ispName; + } + + public void setIspName(String ispName) { + this.ispName = ispName; + } + } + + @Override + public Mobile3MetaDetailVerifyResponse getInstance(UnmarshallerContext context) { + return Mobile3MetaDetailVerifyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyRequest.java new file mode 100644 index 0000000000..837852f132 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyRequest.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.cloudauth.Endpoint; + +/** + * @author auto create + * @version + */ +public class Mobile3MetaSimpleVerifyRequest extends RpcAcsRequest { + + + private String paramType; + + private String mobile; + + private String identifyNum; + + private String userName; + public Mobile3MetaSimpleVerifyRequest() { + super("Cloudauth", "2019-03-07", "Mobile3MetaSimpleVerify", "cloudauth"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getParamType() { + return this.paramType; + } + + public void setParamType(String paramType) { + this.paramType = paramType; + if(paramType != null){ + putQueryParameter("ParamType", paramType); + } + } + + public String getMobile() { + return this.mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + if(mobile != null){ + putQueryParameter("Mobile", mobile); + } + } + + public String getIdentifyNum() { + return this.identifyNum; + } + + public void setIdentifyNum(String identifyNum) { + this.identifyNum = identifyNum; + if(identifyNum != null){ + putQueryParameter("IdentifyNum", identifyNum); + } + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + if(userName != null){ + putQueryParameter("UserName", userName); + } + } + + @Override + public Class getResponseClass() { + return Mobile3MetaSimpleVerifyResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyResponse.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyResponse.java new file mode 100644 index 0000000000..e161c80fb1 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/Mobile3MetaSimpleVerifyResponse.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.model.v20190307; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloudauth.transform.v20190307.Mobile3MetaSimpleVerifyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class Mobile3MetaSimpleVerifyResponse extends AcsResponse { + + private String requestId; + + private String code; + + private String message; + + private ResultObject resultObject; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public ResultObject getResultObject() { + return this.resultObject; + } + + public void setResultObject(ResultObject resultObject) { + this.resultObject = resultObject; + } + + public static class ResultObject { + + private String bizCode; + + private String ispName; + + public String getBizCode() { + return this.bizCode; + } + + public void setBizCode(String bizCode) { + this.bizCode = bizCode; + } + + public String getIspName() { + return this.ispName; + } + + public void setIspName(String ispName) { + this.ispName = ispName; + } + } + + @Override + public Mobile3MetaSimpleVerifyResponse getInstance(UnmarshallerContext context) { + return Mobile3MetaSimpleVerifyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ModifyDeviceInfoRequest.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ModifyDeviceInfoRequest.java index b4206dcf15..4adabf439f 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ModifyDeviceInfoRequest.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/ModifyDeviceInfoRequest.java @@ -35,7 +35,7 @@ public class ModifyDeviceInfoRequest extends RpcAcsRequest private String name; public VerifyMaterialRequest() { - super("Cloudauth", "2019-03-07", "VerifyMaterial"); + super("Cloudauth", "2019-03-07", "VerifyMaterial", "cloudauth"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/AIGCFaceVerifyResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/AIGCFaceVerifyResponseUnmarshaller.java new file mode 100644 index 0000000000..fb459bf7bc --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/AIGCFaceVerifyResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import com.aliyuncs.cloudauth.model.v20190307.AIGCFaceVerifyResponse; +import com.aliyuncs.cloudauth.model.v20190307.AIGCFaceVerifyResponse.ResultObject; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AIGCFaceVerifyResponseUnmarshaller { + + public static AIGCFaceVerifyResponse unmarshall(AIGCFaceVerifyResponse aIGCFaceVerifyResponse, UnmarshallerContext _ctx) { + + aIGCFaceVerifyResponse.setRequestId(_ctx.stringValue("AIGCFaceVerifyResponse.RequestId")); + aIGCFaceVerifyResponse.setMessage(_ctx.stringValue("AIGCFaceVerifyResponse.Message")); + aIGCFaceVerifyResponse.setCode(_ctx.stringValue("AIGCFaceVerifyResponse.Code")); + + ResultObject resultObject = new ResultObject(); + resultObject.setResult(_ctx.stringValue("AIGCFaceVerifyResponse.ResultObject.Result")); + resultObject.setScore(_ctx.stringValue("AIGCFaceVerifyResponse.ResultObject.Score")); + resultObject.setCertifyId(_ctx.stringValue("AIGCFaceVerifyResponse.ResultObject.CertifyId")); + aIGCFaceVerifyResponse.setResultObject(resultObject); + + return aIGCFaceVerifyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeFaceVerifyResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeFaceVerifyResponseUnmarshaller.java index f27a0e9806..c99abed5f3 100644 --- a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeFaceVerifyResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeFaceVerifyResponseUnmarshaller.java @@ -33,6 +33,9 @@ public static DescribeFaceVerifyResponse unmarshall(DescribeFaceVerifyResponse d resultObject.setIdentityInfo(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.IdentityInfo")); resultObject.setDeviceToken(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.DeviceToken")); resultObject.setPassed(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.Passed")); + resultObject.setDeviceRisk(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.DeviceRisk")); + resultObject.setSuccess(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.Success")); + resultObject.setUserInfo(_ctx.stringValue("DescribeFaceVerifyResponse.ResultObject.UserInfo")); describeFaceVerifyResponse.setResultObject(resultObject); return describeFaceVerifyResponse; diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribePageFaceVerifyDataResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribePageFaceVerifyDataResponseUnmarshaller.java new file mode 100644 index 0000000000..b9628870fe --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribePageFaceVerifyDataResponseUnmarshaller.java @@ -0,0 +1,54 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudauth.model.v20190307.DescribePageFaceVerifyDataResponse; +import com.aliyuncs.cloudauth.model.v20190307.DescribePageFaceVerifyDataResponse.ItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribePageFaceVerifyDataResponseUnmarshaller { + + public static DescribePageFaceVerifyDataResponse unmarshall(DescribePageFaceVerifyDataResponse describePageFaceVerifyDataResponse, UnmarshallerContext _ctx) { + + describePageFaceVerifyDataResponse.setRequestId(_ctx.stringValue("DescribePageFaceVerifyDataResponse.RequestId")); + describePageFaceVerifyDataResponse.setSuccess(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Success")); + describePageFaceVerifyDataResponse.setCode(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Code")); + describePageFaceVerifyDataResponse.setMessage(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Message")); + describePageFaceVerifyDataResponse.setTotalCount(_ctx.stringValue("DescribePageFaceVerifyDataResponse.TotalCount")); + describePageFaceVerifyDataResponse.setPageSize(_ctx.stringValue("DescribePageFaceVerifyDataResponse.PageSize")); + describePageFaceVerifyDataResponse.setTotalPage(_ctx.stringValue("DescribePageFaceVerifyDataResponse.TotalPage")); + describePageFaceVerifyDataResponse.setCurrentPage(_ctx.stringValue("DescribePageFaceVerifyDataResponse.CurrentPage")); + + List items = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribePageFaceVerifyDataResponse.Items.Length"); i++) { + ItemsItem itemsItem = new ItemsItem(); + itemsItem.setDate(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].Date")); + itemsItem.setTotalCount(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].TotalCount")); + itemsItem.setSuccessCount(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].SuccessCount")); + itemsItem.setSceneId(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].SceneId")); + itemsItem.setSceneName(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].SceneName")); + itemsItem.setProductCode(_ctx.stringValue("DescribePageFaceVerifyDataResponse.Items["+ i +"].ProductCode")); + + items.add(itemsItem); + } + describePageFaceVerifyDataResponse.setItems(items); + + return describePageFaceVerifyDataResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeSmartStatisticsPageListResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeSmartStatisticsPageListResponseUnmarshaller.java new file mode 100644 index 0000000000..d3efe60eb9 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/DescribeSmartStatisticsPageListResponseUnmarshaller.java @@ -0,0 +1,52 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloudauth.model.v20190307.DescribeSmartStatisticsPageListResponse; +import com.aliyuncs.cloudauth.model.v20190307.DescribeSmartStatisticsPageListResponse.ItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSmartStatisticsPageListResponseUnmarshaller { + + public static DescribeSmartStatisticsPageListResponse unmarshall(DescribeSmartStatisticsPageListResponse describeSmartStatisticsPageListResponse, UnmarshallerContext _ctx) { + + describeSmartStatisticsPageListResponse.setRequestId(_ctx.stringValue("DescribeSmartStatisticsPageListResponse.RequestId")); + describeSmartStatisticsPageListResponse.setCurrentPage(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.CurrentPage")); + describeSmartStatisticsPageListResponse.setTotalPage(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.TotalPage")); + describeSmartStatisticsPageListResponse.setPageSize(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.PageSize")); + describeSmartStatisticsPageListResponse.setTotalCount(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.TotalCount")); + + List items = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeSmartStatisticsPageListResponse.Items.Length"); i++) { + ItemsItem itemsItem = new ItemsItem(); + itemsItem.setDate(_ctx.stringValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].Date")); + itemsItem.setSceneId(_ctx.longValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].SceneId")); + itemsItem.setSceneName(_ctx.stringValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].SceneName")); + itemsItem.setTotalCount(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].TotalCount")); + itemsItem.setSuccessCount(_ctx.integerValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].SuccessCount")); + itemsItem.setPassRate(_ctx.stringValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].PassRate")); + itemsItem.setProductCode(_ctx.stringValue("DescribeSmartStatisticsPageListResponse.Items["+ i +"].ProductCode")); + + items.add(itemsItem); + } + describeSmartStatisticsPageListResponse.setItems(items); + + return describeSmartStatisticsPageListResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Id2MetaVerifyResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Id2MetaVerifyResponseUnmarshaller.java new file mode 100644 index 0000000000..7c79631696 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Id2MetaVerifyResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import com.aliyuncs.cloudauth.model.v20190307.Id2MetaVerifyResponse; +import com.aliyuncs.cloudauth.model.v20190307.Id2MetaVerifyResponse.ResultObject; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class Id2MetaVerifyResponseUnmarshaller { + + public static Id2MetaVerifyResponse unmarshall(Id2MetaVerifyResponse id2MetaVerifyResponse, UnmarshallerContext _ctx) { + + id2MetaVerifyResponse.setRequestId(_ctx.stringValue("Id2MetaVerifyResponse.RequestId")); + id2MetaVerifyResponse.setCode(_ctx.stringValue("Id2MetaVerifyResponse.Code")); + id2MetaVerifyResponse.setMessage(_ctx.stringValue("Id2MetaVerifyResponse.Message")); + + ResultObject resultObject = new ResultObject(); + resultObject.setBizCode(_ctx.stringValue("Id2MetaVerifyResponse.ResultObject.BizCode")); + id2MetaVerifyResponse.setResultObject(resultObject); + + return id2MetaVerifyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaDetailVerifyResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaDetailVerifyResponseUnmarshaller.java new file mode 100644 index 0000000000..4b5ba8cb84 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaDetailVerifyResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import com.aliyuncs.cloudauth.model.v20190307.Mobile3MetaDetailVerifyResponse; +import com.aliyuncs.cloudauth.model.v20190307.Mobile3MetaDetailVerifyResponse.ResultObject; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class Mobile3MetaDetailVerifyResponseUnmarshaller { + + public static Mobile3MetaDetailVerifyResponse unmarshall(Mobile3MetaDetailVerifyResponse mobile3MetaDetailVerifyResponse, UnmarshallerContext _ctx) { + + mobile3MetaDetailVerifyResponse.setRequestId(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.RequestId")); + mobile3MetaDetailVerifyResponse.setCode(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.Code")); + mobile3MetaDetailVerifyResponse.setMessage(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.Message")); + + ResultObject resultObject = new ResultObject(); + resultObject.setBizCode(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.ResultObject.BizCode")); + resultObject.setSubCode(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.ResultObject.SubCode")); + resultObject.setIspName(_ctx.stringValue("Mobile3MetaDetailVerifyResponse.ResultObject.IspName")); + mobile3MetaDetailVerifyResponse.setResultObject(resultObject); + + return mobile3MetaDetailVerifyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaSimpleVerifyResponseUnmarshaller.java b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaSimpleVerifyResponseUnmarshaller.java new file mode 100644 index 0000000000..7e10b31ce8 --- /dev/null +++ b/aliyun-java-sdk-cloudauth/src/main/java/com/aliyuncs/cloudauth/transform/v20190307/Mobile3MetaSimpleVerifyResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloudauth.transform.v20190307; + +import com.aliyuncs.cloudauth.model.v20190307.Mobile3MetaSimpleVerifyResponse; +import com.aliyuncs.cloudauth.model.v20190307.Mobile3MetaSimpleVerifyResponse.ResultObject; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class Mobile3MetaSimpleVerifyResponseUnmarshaller { + + public static Mobile3MetaSimpleVerifyResponse unmarshall(Mobile3MetaSimpleVerifyResponse mobile3MetaSimpleVerifyResponse, UnmarshallerContext _ctx) { + + mobile3MetaSimpleVerifyResponse.setRequestId(_ctx.stringValue("Mobile3MetaSimpleVerifyResponse.RequestId")); + mobile3MetaSimpleVerifyResponse.setCode(_ctx.stringValue("Mobile3MetaSimpleVerifyResponse.Code")); + mobile3MetaSimpleVerifyResponse.setMessage(_ctx.stringValue("Mobile3MetaSimpleVerifyResponse.Message")); + + ResultObject resultObject = new ResultObject(); + resultObject.setBizCode(_ctx.stringValue("Mobile3MetaSimpleVerifyResponse.ResultObject.BizCode")); + resultObject.setIspName(_ctx.stringValue("Mobile3MetaSimpleVerifyResponse.ResultObject.IspName")); + mobile3MetaSimpleVerifyResponse.setResultObject(resultObject); + + return mobile3MetaSimpleVerifyResponse; + } +} \ No newline at end of file