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

# Interface CreateChatCompletionRequestAllOfStop

All Known Implementing Classes:
  `CreateChatCompletionRequestAllOfStop.InnerString`, `CreateChatCompletionRequestAllOfStop.ListOfStrings`

public interface CreateChatCompletionRequestAllOfStop
Up to 4 sequences where the API will stop generating further tokens.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CreateChatCompletionRequestAllOfStop.InnerString`
  Helper class to create `String` that implements `CreateChatCompletionRequestAllOfStop`.
  `static final record`
  `CreateChatCompletionRequestAllOfStop.ListOfStrings`
  Helper class to create `List<String>` that implements `CreateChatCompletionRequestAllOfStop`.

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static CreateChatCompletionRequestAllOfStop.InnerString`
  `create(String val)`
  Creator to enable deserialization of `String` .
  `static CreateChatCompletionRequestAllOfStop.ListOfStrings`
  `createListOfStrings(List<String> val)`
  Creator to enable deserialization of `List<String>` .

- ## Method Details

  - ### createListOfStrings

    @Nonnull static CreateChatCompletionRequestAllOfStop.ListOfStrings createListOfStrings(@Nonnull List<String> val)
    Creator to enable deserialization of `List<String>` .
    Parameters:
      `val` - the value to use
    Returns:
      a new instance of `CreateChatCompletionRequestAllOfStop.ListOfStrings`.

  - ### create

    @Nonnull static CreateChatCompletionRequestAllOfStop.InnerString create(@Nonnull String val)
    Creator to enable deserialization of `String` .
    Parameters:
      `val` - the value to use
    Returns:
      a new instance of `CreateChatCompletionRequestAllOfStop.InnerString`.