Package com.sap.ai.sdk.prompt.registry.model

# Interface ChatMessageContent

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

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.ListOfSchemasTextContents`
  Helper class to create `List<SchemasTextContent>` 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.ListOfSchemasTextContents`
  `createListOfSchemasTextContents(List<SchemasTextContent> val)`
  Creator to enable deserialization of `List<SchemasTextContent>` .

- ## Method Details

  - ### createListOfSchemasTextContents

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

  - ### 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`.