public static enum RunStep.Type extends Enum<RunStep.Type>
| 枚举常量和说明 |
|---|
MESSAGE_CREATION |
TOOL_CALLS |
| 限定符和类型 | 方法和说明 |
|---|---|
static RunStep.Type |
fromValue(String value) |
String |
toString() |
String |
value() |
static RunStep.Type |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RunStep.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
@SerializedName(value="message_creation") public static final RunStep.Type MESSAGE_CREATION
@SerializedName(value="tool_calls") public static final RunStep.Type TOOL_CALLS
public static RunStep.Type[] values()
for (RunStep.Type c : RunStep.Type.values()) System.out.println(c);
public static RunStep.Type valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<RunStep.Type>public String value()
public static RunStep.Type fromValue(String value)
Copyright © 2024. All rights reserved.