-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
1,850 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
...cloudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
109 changes: 109 additions & 0 deletions
109
...loudauth/src/main/java/com/aliyuncs/cloudauth/model/v20190307/AIGCFaceVerifyResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.