Class ContentPart

java.lang.Object
com.alibaba.dashscope.types.multimodal.ContentPart

public final class ContentPart extends Object
One multimodal content part (design §4): the wire shape is a single-key object — {"text": "..."}, {"image": "<url>"}, {"audio": "<url>"}, {"video": ["f1","f2"]} — with arbitrary keys allowed (forward compatibility). Values may be String or List<String>. Instances are immutable.