public class Simple extends AbstractModel
Constructor and Description |
---|
Simple() |
Simple(Simple 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 |
getHtml()
Get HTML code after base64 encoding.
|
String |
getText()
Get Plain text content after base64 encoding.
|
void |
setHtml(String Html)
Set HTML code after base64 encoding.
|
void |
setText(String Text)
Set Plain text content after base64 encoding.
|
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 Simple()
public Simple(Simple source)
public String getHtml()
public void setHtml(String Html)
Html
- HTML code after base64 encoding. To ensure correct display, this parameter should include all code information and cannot contain external CSS.public String getText()
public void setText(String Text)
Text
- Plain text content after base64 encoding. If HTML is not involved, the plain text will be displayed in the email. Otherwise, this parameter represents the plain text style of the email.Copyright © 2023. All rights reserved.