@Beta public class CarouselResponse extends Object implements ResponseInterface
Constructor and Description |
---|
CarouselResponse(List<CardContent> content)
Contructor allows to create a CarouselResponse with an existing List of CardContent
|
Modifier and Type | Method and Description |
---|---|
List<CardContent> |
getContent()
Returns the List of CardContents which are currently the content of this object.
|
String |
getType()
returns the present type, which is immutable to the user.
|
void |
setContent(List<CardContent> content)
Sets the Content to the given List of CardContents.
|
public CarouselResponse(@Nonnull List<CardContent> content)
content
- a list of CardContent@Nullable public List<CardContent> getContent()
public void setContent(@Nonnull List<CardContent> content)
content
- a list of card contents@Nullable public String getType()
getType
in interface ResponseInterface
Copyright © 2020 SAP SE. All rights reserved.