public class MultiModalContent extends AbstractModel
header, skipSign
Constructor and Description |
---|
MultiModalContent() |
MultiModalContent(MultiModalContent 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 |
---|---|
ImageUrl |
getImageUrl()
Get 图片对话内容,当Type为image_url时需要填写该值
|
String |
getText()
Get 文本对话内容,当Type为text时需要填写该值
|
String |
getType()
Get 对话类型,text表示文本对话内容,image_url表示图片对话内容
|
void |
setImageUrl(ImageUrl ImageUrl)
Set 图片对话内容,当Type为image_url时需要填写该值
|
void |
setText(String Text)
Set 文本对话内容,当Type为text时需要填写该值
|
void |
setType(String Type)
Set 对话类型,text表示文本对话内容,image_url表示图片对话内容
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MultiModalContent()
public MultiModalContent(MultiModalContent source)
public String getType()
public void setType(String Type)
Type
- 对话类型,text表示文本对话内容,image_url表示图片对话内容public String getText()
public void setText(String Text)
Text
- 文本对话内容,当Type为text时需要填写该值public ImageUrl getImageUrl()
public void setImageUrl(ImageUrl ImageUrl)
ImageUrl
- 图片对话内容,当Type为image_url时需要填写该值Copyright © 2024. All rights reserved.