public class AiItemBase extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AiItemBase.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
content
The content of the item, often the text representation.
|
protected String |
id
The ID of the file.
|
protected EnumWrapper<AiItemBaseTypeField> |
type
The type of the item.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
AiItemBase(AiItemBase.Builder builder) |
|
AiItemBase(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getContent() |
String |
getId() |
EnumWrapper<AiItemBaseTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<AiItemBaseTypeField> type
public AiItemBase(String id)
protected AiItemBase(AiItemBase.Builder builder)
public EnumWrapper<AiItemBaseTypeField> getType()
public String getContent()