@Validated
@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
date="2022-09-21T05:34:26.783Z[Etc/UTC]")
public class RecommendationModule
extends java.lang.Object
| Constructor and Description |
|---|
RecommendationModule() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationModule |
addContentItem(RecommendationContent contentItem) |
RecommendationModule |
content(java.util.List<RecommendationContent> content) |
boolean |
equals(java.lang.Object o) |
@NotNull @Valid java.util.List<RecommendationContent> |
getContent()
List of content to display inside the module
|
@NotNull java.lang.String |
getModuleId()
Unique id of the module being recommended
|
@NotNull @Valid RecommendationRenderType |
getRenderType()
Get renderType
|
@NotNull java.lang.String |
getTitle()
Title of the module to display
|
int |
hashCode() |
RecommendationModule |
moduleId(java.lang.String moduleId) |
RecommendationModule |
renderType(RecommendationRenderType renderType) |
void |
setContent(java.util.List<RecommendationContent> content) |
void |
setModuleId(java.lang.String moduleId) |
void |
setRenderType(RecommendationRenderType renderType) |
void |
setTitle(java.lang.String title) |
RecommendationModule |
title(java.lang.String title) |
java.lang.String |
toString() |
public RecommendationModule title(java.lang.String title)
@NotNull public @NotNull java.lang.String getTitle()
public void setTitle(java.lang.String title)
public RecommendationModule moduleId(java.lang.String moduleId)
@NotNull public @NotNull java.lang.String getModuleId()
public void setModuleId(java.lang.String moduleId)
public RecommendationModule renderType(RecommendationRenderType renderType)
@NotNull @Valid public @NotNull @Valid RecommendationRenderType getRenderType()
public void setRenderType(RecommendationRenderType renderType)
public RecommendationModule content(java.util.List<RecommendationContent> content)
public RecommendationModule addContentItem(RecommendationContent contentItem)
@NotNull @Valid public @NotNull @Valid java.util.List<RecommendationContent> getContent()
public void setContent(java.util.List<RecommendationContent> content)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object