public static enum OpenaiCommon.OpenaiSpeech extends Enum<OpenaiCommon.OpenaiSpeech>
Enum Constant and Description |
---|
ALLOY |
ASH |
CORAL |
ECHO |
FABLE |
NOVA |
ONYX |
SAGE |
SHIMMER |
Modifier and Type | Method and Description |
---|---|
String |
getVoice() |
static OpenaiCommon.OpenaiSpeech |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenaiCommon.OpenaiSpeech[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenaiCommon.OpenaiSpeech ALLOY
public static final OpenaiCommon.OpenaiSpeech ASH
public static final OpenaiCommon.OpenaiSpeech CORAL
public static final OpenaiCommon.OpenaiSpeech ECHO
public static final OpenaiCommon.OpenaiSpeech FABLE
public static final OpenaiCommon.OpenaiSpeech ONYX
public static final OpenaiCommon.OpenaiSpeech NOVA
public static final OpenaiCommon.OpenaiSpeech SAGE
public static final OpenaiCommon.OpenaiSpeech SHIMMER
public static OpenaiCommon.OpenaiSpeech[] values()
for (OpenaiCommon.OpenaiSpeech c : OpenaiCommon.OpenaiSpeech.values()) System.out.println(c);
public static OpenaiCommon.OpenaiSpeech 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 getVoice()
Copyright © 2025. All rights reserved.