public class ContentPart extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentPart.Builder |
| Constructor and Description |
|---|
ContentPart() |
ContentPart(ContentType type) |
| Modifier and Type | Method and Description |
|---|---|
static ContentPart.Builder |
builder() |
ContentPart |
deepCopy()
Deep copy this content part.
|
String |
getBase64Data() |
String |
getImageUrl() |
String |
getText() |
ContentType |
getType() |
void |
setBase64Data(String base64Data) |
void |
setImageUrl(String imageUrl) |
void |
setText(String text) |
void |
setType(ContentType type) |
public ContentPart()
public ContentPart(ContentType type)
public ContentType getType()
public void setType(ContentType type)
public String getText()
public void setText(String text)
public String getImageUrl()
public void setImageUrl(String imageUrl)
public String getBase64Data()
public void setBase64Data(String base64Data)
public ContentPart deepCopy()
public static ContentPart.Builder builder()
Copyright © 2026. All rights reserved.