Enum ResponsesItemType

java.lang.Object
java.lang.Enum<ResponsesItemType>
com.azure.ai.openai.responses.models.ResponsesItemType
All Implemented Interfaces:
Serializable, Comparable<ResponsesItemType>, java.lang.constant.Constable

public enum ResponsesItemType extends Enum<ResponsesItemType>
Defines values for ResponsesItemType.
  • Enum Constant Details

    • MESSAGE

      public static final ResponsesItemType MESSAGE
      Enum value message.
    • FILE_SEARCH_CALL

      public static final ResponsesItemType FILE_SEARCH_CALL
      Enum value file_search_call.
    • FUNCTION_CALL

      public static final ResponsesItemType FUNCTION_CALL
      Enum value function_call.
    • FUNCTION_CALL_OUTPUT

      public static final ResponsesItemType FUNCTION_CALL_OUTPUT
      Enum value function_call_output.
    • COMPUTER_CALL

      public static final ResponsesItemType COMPUTER_CALL
      Enum value computer_call.
    • COMPUTER_CALL_OUTPUT

      public static final ResponsesItemType COMPUTER_CALL_OUTPUT
      Enum value computer_call_output.
    • WEB_SEARCH_CALL

      public static final ResponsesItemType WEB_SEARCH_CALL
      Enum value web_search_call.
    • ITEM_REFERENCE

      public static final ResponsesItemType ITEM_REFERENCE
      Enum value item_reference.
    • REASONING

      public static final ResponsesItemType REASONING
      Enum value reasoning.
  • Method Details

    • values

      public static ResponsesItemType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ResponsesItemType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static ResponsesItemType fromString(String value)
      Parses a serialized value to a ResponsesItemType instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed ResponsesItemType object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ResponsesItemType>