public enum ChatCompletionAction extends Enum<ChatCompletionAction>
| Modifier and Type | Field and Description |
|---|---|
static ChatCompletionAction[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static ChatCompletionAction |
from(int id) |
static ChatCompletionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatCompletionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatCompletionAction ADD
public static final ChatCompletionAction REMOVE
public static final ChatCompletionAction SET
public static final ChatCompletionAction[] VALUES
public static ChatCompletionAction[] values()
for (ChatCompletionAction c : ChatCompletionAction.values()) System.out.println(c);
public static ChatCompletionAction 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 static ChatCompletionAction from(int id)
Copyright © 2023. All rights reserved.