Package ai.protify.core.internal
Enum SupportedModel
- java.lang.Object
-
- java.lang.Enum<SupportedModel>
-
- ai.protify.core.internal.SupportedModel
-
- All Implemented Interfaces:
AIModel,java.io.Serializable,java.lang.Comparable<SupportedModel>
public enum SupportedModel extends java.lang.Enum<SupportedModel> implements AIModel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANTHROPIC_V1CLAUDE_HAIKU_4_5CLAUDE_OPUS_4_5CLAUDE_SONNET_4_5GPT_5_1GPT_5_1_CODEX_MAXGPT_5_2GPT_5_2_PROGPT_5_MINIGPT_5_NANO
-
Field Summary
-
Fields inherited from interface ai.protify.core.AIModel
ANTHROPIC_V1, CLAUDE_HAIKU_4_5, CLAUDE_OPUS_4_5, CLAUDE_SONNET_4_5, GPT_5_1, GPT_5_1_CODEX_MAX, GPT_5_2, GPT_5_2_PRO, GPT_5_MINI, GPT_5_NANO
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()AIProvidergetProvider()java.lang.StringtoString()static SupportedModelvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SupportedModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANTHROPIC_V1
public static final SupportedModel ANTHROPIC_V1
-
CLAUDE_SONNET_4_5
public static final SupportedModel CLAUDE_SONNET_4_5
-
CLAUDE_HAIKU_4_5
public static final SupportedModel CLAUDE_HAIKU_4_5
-
CLAUDE_OPUS_4_5
public static final SupportedModel CLAUDE_OPUS_4_5
-
GPT_5_1
public static final SupportedModel GPT_5_1
-
GPT_5_2
public static final SupportedModel GPT_5_2
-
GPT_5_2_PRO
public static final SupportedModel GPT_5_2_PRO
-
GPT_5_1_CODEX_MAX
public static final SupportedModel GPT_5_1_CODEX_MAX
-
GPT_5_MINI
public static final SupportedModel GPT_5_MINI
-
GPT_5_NANO
public static final SupportedModel GPT_5_NANO
-
-
Method Detail
-
values
public static SupportedModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SupportedModel c : SupportedModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportedModel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getProvider
public AIProvider getProvider()
- Specified by:
getProviderin interfaceAIModel
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<SupportedModel>
-
-