Package com.sap.ai.sdk.orchestration.model

# Interface ChatMessageContent

All Known Implementing Classes:
  `ChatMessageContent.InnerString`, `ChatMessageContent.ListOfTextContents`

public interface ChatMessageContent
ChatMessageContent

- ## Nested Class Summary

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

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static ChatMessageContent.InnerString`
  `create(String val)`
  Creator to enable deserialization of `String` .
  `static ChatMessageContent.ListOfTextContents`
  `createListOfTextContents(List<TextContent> val)`
  Creator to enable deserialization of `List<TextContent>` .

- ## Method Details

  - ### createListOfTextContents

    @Nonnull static ChatMessageContent.ListOfTextContents createListOfTextContents(@Nonnull List<TextContent> val)
    Creator to enable deserialization of `List<TextContent>` .
    Parameters:
      `val` - the value to use
    Returns:
      a new instance of `ChatMessageContent.ListOfTextContents`.

  - ### create

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