public class Attachment extends AbstractModel
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Get Attachment content after base64 encoding.
|
String |
getFileName()
Get Attachment name, which cannot exceed 255 characters.
|
void |
setContent(String Content)
Set Attachment content after base64 encoding.
|
void |
setFileName(String FileName)
Set Attachment name, which cannot exceed 255 characters.
|
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 String getFileName()
public void setFileName(String FileName)
FileName
- Attachment name, which cannot exceed 255 characters. Some attachment types are not supported. For details, see [Attachment Types](https://intl.cloud.tencent.com/document/product/1288/51951?from_cn_redirect=1).public String getContent()
public void setContent(String Content)
Content
- Attachment content after base64 encoding. A single attachment cannot exceed 5 MB. Note: Tencent Cloud APIs require that a request packet should not exceed 10 MB. If you are sending multiple attachments, the total size of these attachments cannot exceed 10 MB.Copyright © 2021. All rights reserved.