public static enum Models.Grok extends Enum<Models.Grok>
Enum Constant and Description |
---|
GROK_2_1212 |
GROK_2_VISION_1212 |
GROK_BETA |
GROK_VISION_BETA |
Modifier and Type | Method and Description |
---|---|
String |
getModel() |
static Models.Grok |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Models.Grok[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Models.Grok GROK_2_1212
public static final Models.Grok GROK_2_VISION_1212
public static final Models.Grok GROK_BETA
public static final Models.Grok GROK_VISION_BETA
public static Models.Grok[] values()
for (Models.Grok c : Models.Grok.values()) System.out.println(c);
public static Models.Grok 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 getModel()
Copyright © 2025. All rights reserved.