public class SearchImageRequest extends AbstractModel
Constructor and Description |
---|
SearchImageRequest() |
SearchImageRequest(SearchImageRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFilter()
Get 针对入库时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
String |
getGroupId()
Get 图库名称。
|
String |
getImageBase64()
Get 图片 base64 数据,base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
ImageRect |
getImageRect()
Get 图像主体区域。
|
String |
getImageUrl()
Get 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
非腾讯云存储的Url速度和稳定性可能受一定影响。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
Long |
getLimit()
Get 返回数量,默认值为10,最大值为100。
|
Long |
getMatchThreshold()
Get 出参Score中,只有超过MatchThreshold值的结果才会返回。默认为0
|
Long |
getOffset()
Get 起始序号,默认值为0。
|
void |
setFilter(String Filter)
Set 针对入库时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
void |
setGroupId(String GroupId)
Set 图库名称。
|
void |
setImageBase64(String ImageBase64)
Set 图片 base64 数据,base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
void |
setImageRect(ImageRect ImageRect)
Set 图像主体区域。
|
void |
setImageUrl(String ImageUrl)
Set 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
非腾讯云存储的Url速度和稳定性可能受一定影响。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
void |
setLimit(Long Limit)
Set 返回数量,默认值为10,最大值为100。
|
void |
setMatchThreshold(Long MatchThreshold)
Set 出参Score中,只有超过MatchThreshold值的结果才会返回。默认为0
|
void |
setOffset(Long Offset)
Set 起始序号,默认值为0。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SearchImageRequest()
public SearchImageRequest(SearchImageRequest source)
public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- 图库名称。public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
非腾讯云存储的Url速度和稳定性可能受一定影响。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。public String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64
- 图片 base64 数据,base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。public Long getMatchThreshold()
public void setMatchThreshold(Long MatchThreshold)
MatchThreshold
- 出参Score中,只有超过MatchThreshold值的结果才会返回。默认为0public Long getOffset()
public void setOffset(Long Offset)
Offset
- 起始序号,默认值为0。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认值为10,最大值为100。public String getFilter()
public void setFilter(String Filter)
Filter
- 针对入库时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。public ImageRect getImageRect()
public void setImageRect(ImageRect ImageRect)
ImageRect
- 图像主体区域。Copyright © 2022. All rights reserved.