public static enum AIGuard.ContentPart.Type extends Enum<AIGuard.ContentPart.Type>
| Enum Constant and Description |
|---|
IMAGE_URL
Image URL content
|
TEXT
Text content
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AIGuard.ContentPart.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AIGuard.ContentPart.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AIGuard.ContentPart.Type TEXT
public static final AIGuard.ContentPart.Type IMAGE_URL
public static AIGuard.ContentPart.Type[] values()
for (AIGuard.ContentPart.Type c : AIGuard.ContentPart.Type.values()) System.out.println(c);
public static AIGuard.ContentPart.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<AIGuard.ContentPart.Type>