Skip to content

Commit

Permalink
Generated 2019-03-07 for Cloudauth.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Apr 3, 2024
1 parent 8136bb7 commit 5e322c7
Show file tree
Hide file tree
Showing 38 changed files with 1,850 additions and 23 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-cloudauth/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
12 changes: 5 additions & 7 deletions aliyun-java-sdk-cloudauth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-cloudauth</artifactId>
<packaging>jar</packaging>
<version>2.0.33</version>
<version>2.0.35</version>
<name>aliyun-java-sdk-cloudauth</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand All @@ -27,7 +27,7 @@ http://www.aliyun.com</description>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>[4.4.9,5.0.0)</version>
<version>[4.3.2,5.0.0)</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand All @@ -37,9 +37,8 @@ http://www.aliyun.com</description>
</dependencies>
<licenses>
<license>
<name/>
<url/>
<distribution/>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
Expand Down Expand Up @@ -84,10 +83,9 @@ http://www.aliyun.com</description>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<version>2.8</version>
<configuration>
<encoding>UTF-8</encoding>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -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<AIGCFaceVerifyResponse> {


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<AIGCFaceVerifyResponse> getResponseClass() {
return AIGCFaceVerifyResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class CompareFaceVerifyRequest extends RpcAcsRequest<CompareFaceVerifyRes

private String crop;
public CompareFaceVerifyRequest() {
super("Cloudauth", "2019-03-07", "CompareFaceVerify");
super("Cloudauth", "2019-03-07", "CompareFaceVerify", "cloudauth");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class CompareFacesRequest extends RpcAcsRequest<CompareFacesResponse> {

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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class ContrastFaceVerifyRequest extends RpcAcsRequest<ContrastFaceVerifyR

private String crop;
public ContrastFaceVerifyRequest() {
super("Cloudauth", "2019-03-07", "ContrastFaceVerify");
super("Cloudauth", "2019-03-07", "ContrastFaceVerify", "cloudauth");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CreateAuthKeyRequest extends RpcAcsRequest<CreateAuthKeyResponse> {

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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class CreateVerifySettingRequest extends RpcAcsRequest<CreateVerifySettin

private Boolean privacyStep;
public CreateVerifySettingRequest() {
super("Cloudauth", "2019-03-07", "CreateVerifySetting");
super("Cloudauth", "2019-03-07", "CreateVerifySetting", "cloudauth");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class DescribeDeviceInfoRequest extends RpcAcsRequest<DescribeDeviceInfoR

private String expiredEndDay;
public DescribeDeviceInfoRequest() {
super("Cloudauth", "2019-03-07", "DescribeDeviceInfo");
super("Cloudauth", "2019-03-07", "DescribeDeviceInfo", "cloudauth");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DescribeFaceVerifyRequest extends RpcAcsRequest<DescribeFaceVerifyR

private Long sceneId;
public DescribeFaceVerifyRequest() {
super("Cloudauth", "2019-03-07", "DescribeFaceVerify");
super("Cloudauth", "2019-03-07", "DescribeFaceVerify", "cloudauth");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ public static class ResultObject {

private String passed;

private String deviceRisk;

private String success;

private String userInfo;

public String getSubCode() {
return this.subCode;
}
Expand Down Expand Up @@ -115,6 +121,30 @@ public String getPassed() {
public void setPassed(String passed) {
this.passed = passed;
}

public String getDeviceRisk() {
return this.deviceRisk;
}

public void setDeviceRisk(String deviceRisk) {
this.deviceRisk = deviceRisk;
}

public String getSuccess() {
return this.success;
}

public void setSuccess(String success) {
this.success = success;
}

public String getUserInfo() {
return this.userInfo;
}

public void setUserInfo(String userInfo) {
this.userInfo = userInfo;
}
}

@Override
Expand Down
Loading

0 comments on commit 5e322c7

Please sign in to comment.