
com.aliyun.ice20201109.models.QuerySearchIndexRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class QuerySearchIndexRequest extends TeaModel {
/**
* The category of the index. Valid values:
*
* - mm: large visual model.
* - face: face recognition.
* - aiLabel: smart tagging.
*
* This parameter is required.
*
* example:
* mm
*/
@NameInMap("IndexType")
public String indexType;
/**
* The name of the search library.
*
* - If you leave this parameter empty, the search index is created in the default search library of Intelligent Media Service (IMS). Default value: ims-default-search-lib.
* - To query information about an existing search library, call the QuerySearchLib API operation.
*
*
* example:
* test1
*/
@NameInMap("SearchLibName")
public String searchLibName;
public static QuerySearchIndexRequest build(java.util.Map map) throws Exception {
QuerySearchIndexRequest self = new QuerySearchIndexRequest();
return TeaModel.build(map, self);
}
public QuerySearchIndexRequest setIndexType(String indexType) {
this.indexType = indexType;
return this;
}
public String getIndexType() {
return this.indexType;
}
public QuerySearchIndexRequest setSearchLibName(String searchLibName) {
this.searchLibName = searchLibName;
return this;
}
public String getSearchLibName() {
return this.searchLibName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy