Package com.openai.models
Class ChatCompletionFunctionMessageParam.Role
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class ChatCompletionFunctionMessageParam.Role implements Enum
The role of the messages author, in this case
function
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ChatCompletionFunctionMessageParam.Role.Known
public enum
ChatCompletionFunctionMessageParam.Role.Value
-
Field Summary
Fields Modifier and Type Field Description public final static ChatCompletionFunctionMessageParam.Role
FUNCTION
-
Method Summary
Modifier and Type Method Description final JsonField<String>
_value()
final ChatCompletionFunctionMessageParam.Role.Value
value()
final ChatCompletionFunctionMessageParam.Role.Known
known()
final String
asString()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionFunctionMessageParam.Role
of(String value)
-
-
Method Detail
-
value
final ChatCompletionFunctionMessageParam.Role.Value value()
-
known
final ChatCompletionFunctionMessageParam.Role.Known known()
-
of
final static ChatCompletionFunctionMessageParam.Role of(String value)
-
-
-
-