![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.ice20201109.models.SearchMediaByFaceRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class SearchMediaByFaceRequest extends TeaModel {
/**
* The ID of the entity.
*
* example:
* 2d3bf1e35a1e42b5ab338d701efa****
*/
@NameInMap("EntityId")
public String entityId;
/**
* The token that is used to identify the query. You can use this parameter in the SearchMediaClipByFace operation to specify the same query conditions.
* This parameter is required.
*
* example:
* zxtest-huangxuan-2023-3-7-V1
*/
@NameInMap("FaceSearchToken")
public String faceSearchToken;
/**
* The type of the media asset. Valid values:
*
* - image
* - video
*
*
* example:
* video
*/
@NameInMap("MediaType")
public String mediaType;
/**
* The page number. Default value: 1.
*
* example:
* 1
*/
@NameInMap("PageNo")
public Integer pageNo;
/**
* The number of entries per page. Default value: 10. Maximum value: 50.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The URL of the face image.
* This parameter is required.
*
* example:
* https://.oss-cn-shanghai.aliyuncs.com/input/huangxuan.jpg
*/
@NameInMap("PersonImageUrl")
public String personImageUrl;
/**
* The name of the search library.
*
* example:
* test1
*/
@NameInMap("SearchLibName")
public String searchLibName;
public static SearchMediaByFaceRequest build(java.util.Map map) throws Exception {
SearchMediaByFaceRequest self = new SearchMediaByFaceRequest();
return TeaModel.build(map, self);
}
public SearchMediaByFaceRequest setEntityId(String entityId) {
this.entityId = entityId;
return this;
}
public String getEntityId() {
return this.entityId;
}
public SearchMediaByFaceRequest setFaceSearchToken(String faceSearchToken) {
this.faceSearchToken = faceSearchToken;
return this;
}
public String getFaceSearchToken() {
return this.faceSearchToken;
}
public SearchMediaByFaceRequest setMediaType(String mediaType) {
this.mediaType = mediaType;
return this;
}
public String getMediaType() {
return this.mediaType;
}
public SearchMediaByFaceRequest setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getPageNo() {
return this.pageNo;
}
public SearchMediaByFaceRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public SearchMediaByFaceRequest setPersonImageUrl(String personImageUrl) {
this.personImageUrl = personImageUrl;
return this;
}
public String getPersonImageUrl() {
return this.personImageUrl;
}
public SearchMediaByFaceRequest setSearchLibName(String searchLibName) {
this.searchLibName = searchLibName;
return this;
}
public String getSearchLibName() {
return this.searchLibName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy