Package com.sap.ai.sdk.foundationmodels.openai.model

# Class OpenAiChatCompletionChoice

java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiCompletionChoice
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiChatCompletionChoice

@Deprecated public class OpenAiChatCompletionChoice extends OpenAiCompletionChoice
Deprecated.
Result candidates for OpenAI chat completion output.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OpenAiChatCompletionChoice()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  Deprecated.
  `boolean`
  `equals(Object o)`
  Deprecated.
  `OpenAiChatMessage.OpenAiChatAssistantMessage`
  `getMessage()`
  Deprecated.
  Completion chat message.
  `int`
  `hashCode()`
  Deprecated.
  `String`
  `toString()`
  Deprecated.

  ### Methods inherited from class com.sap.ai.sdk.foundationmodels.openai.model.OpenAiCompletionChoice

  `getContentFilterResults, getFinishReason, getIndex`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### OpenAiChatCompletionChoice

    public OpenAiChatCompletionChoice()
    Deprecated.

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Deprecated.
    Overrides:
      `equals` in class `OpenAiCompletionChoice`

  - ### canEqual

    protected boolean canEqual(Object other)
    Deprecated.
    Overrides:
      `canEqual` in class `OpenAiCompletionChoice`

  - ### hashCode

    public int hashCode()
    Deprecated.
    Overrides:
      `hashCode` in class `OpenAiCompletionChoice`

  - ### toString

    public String toString()
    Deprecated.
    Overrides:
      `toString` in class `OpenAiCompletionChoice`

  - ### getMessage

    @Nonnull public OpenAiChatMessage.OpenAiChatAssistantMessage getMessage()
    Deprecated.
    Completion chat message.