public class CreateImageRequest extends AbstractModel
Constructor and Description |
---|
CreateImageRequest() |
CreateImageRequest(CreateImageRequest 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 |
getCustomContent()
Get 用户自定义的内容,最多支持4096个字符,查询时原样带回。
|
String |
getEntityId()
Get 物品ID,最多支持64个字符。
若EntityId已存在,则对其追加图片。
|
String |
getGroupId()
Get 图库ID。
|
String |
getImageBase64()
Get 图片 base64 数据,base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
String |
getImageUrl()
Get 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片分辨率不超过1920*1080。
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
非腾讯云存储的Url速度和稳定性可能受一定影响。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
String |
getPicName()
Get 图片名称,最多支持64个字符,
同一个EntityId,最大支持5张图。如果图片名称已存在,则会更新库中的图片。
|
String |
getTags()
Get 图片自定义标签,最多不超过10个,格式为JSON。
|
void |
setCustomContent(String CustomContent)
Set 用户自定义的内容,最多支持4096个字符,查询时原样带回。
|
void |
setEntityId(String EntityId)
Set 物品ID,最多支持64个字符。
若EntityId已存在,则对其追加图片。
|
void |
setGroupId(String GroupId)
Set 图库ID。
|
void |
setImageBase64(String ImageBase64)
Set 图片 base64 数据,base64 编码后大小不可超过2M。
图片分辨率不超过1920*1080。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
void |
setImageUrl(String ImageUrl)
Set 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片分辨率不超过1920*1080。
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
非腾讯云存储的Url速度和稳定性可能受一定影响。
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
void |
setPicName(String PicName)
Set 图片名称,最多支持64个字符,
同一个EntityId,最大支持5张图。如果图片名称已存在,则会更新库中的图片。
|
void |
setTags(String Tags)
Set 图片自定义标签,最多不超过10个,格式为JSON。
|
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 CreateImageRequest()
public CreateImageRequest(CreateImageRequest source)
public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- 图库ID。public String getEntityId()
public void setEntityId(String EntityId)
EntityId
- 物品ID,最多支持64个字符。
若EntityId已存在,则对其追加图片。public String getPicName()
public void setPicName(String PicName)
PicName
- 图片名称,最多支持64个字符,
同一个EntityId,最大支持5张图。如果图片名称已存在,则会更新库中的图片。public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- 图片的 Url 。对应图片 base64 编码后大小不可超过2M。
Url、Image必须提供一个,如果都提供,只使用 Url。
图片分辨率不超过1920*1080。
图片存储于腾讯云的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 String getCustomContent()
public void setCustomContent(String CustomContent)
CustomContent
- 用户自定义的内容,最多支持4096个字符,查询时原样带回。public String getTags()
public void setTags(String Tags)
Tags
- 图片自定义标签,最多不超过10个,格式为JSON。Copyright © 2022. All rights reserved.