Package | Description |
---|---|
com.sap.cloud.sdk.services.recastai.botresponses |
Modifier and Type | Method and Description |
---|---|
CardContent |
CardResponse.getContent()
Returns the current content which would be sent as part of a response.
|
Modifier and Type | Method and Description |
---|---|
List<CardContent> |
CarouselResponse.getContent()
Returns the List of CardContents which are currently the content of this object.
|
List<CardContent> |
ListContent.getElements()
Function returns all the cards in this list.
|
Modifier and Type | Method and Description |
---|---|
void |
CardResponse.setContent(CardContent content)
Function replaces the current CardContent (can be null) with the given one.
|
Modifier and Type | Method and Description |
---|---|
void |
CarouselResponse.setContent(List<CardContent> content)
Sets the Content to the given List of CardContents.
|
void |
ListContent.setElements(List<CardContent> elements)
Allows to set a List of cards to be part of this list.
|
Constructor and Description |
---|
CardResponse(CardContent content)
Constructor to initialise a new card response with existing CardContent object.
|
Constructor and Description |
---|
CarouselResponse(List<CardContent> content)
Contructor allows to create a CarouselResponse with an existing List of CardContent
|
Copyright © 2020 SAP SE. All rights reserved.