com.aliyuncs.cloudauth.model.v20180916.CompareFacesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-cloudauth Show documentation
Show all versions of aliyun-java-sdk-cloudauth Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.v20180916;
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 CompareFacesRequest extends RpcAcsRequest {
private String sourceImageType;
private Long resourceOwnerId;
private String targetImageType;
private String targetImageValue;
private String sourceImageValue;
public CompareFacesRequest() {
super("Cloudauth", "2018-09-16", "CompareFaces", "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 getSourceImageType() {
return this.sourceImageType;
}
public void setSourceImageType(String sourceImageType) {
this.sourceImageType = sourceImageType;
if(sourceImageType != null){
putBodyParameter("SourceImageType", sourceImageType);
}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getTargetImageType() {
return this.targetImageType;
}
public void setTargetImageType(String targetImageType) {
this.targetImageType = targetImageType;
if(targetImageType != null){
putBodyParameter("TargetImageType", targetImageType);
}
}
public String getTargetImageValue() {
return this.targetImageValue;
}
public void setTargetImageValue(String targetImageValue) {
this.targetImageValue = targetImageValue;
if(targetImageValue != null){
putBodyParameter("TargetImageValue", targetImageValue);
}
}
public String getSourceImageValue() {
return this.sourceImageValue;
}
public void setSourceImageValue(String sourceImageValue) {
this.sourceImageValue = sourceImageValue;
if(sourceImageValue != null){
putBodyParameter("SourceImageValue", sourceImageValue);
}
}
@Override
public Class getResponseClass() {
return CompareFacesResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy