Class RecommendationModule
- java.lang.Object
-
- io.datahubproject.openapi.generated.RecommendationModule
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class RecommendationModule extends java.lang.ObjectRecommendationModule
-
-
Constructor Summary
Constructors Constructor Description RecommendationModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommendationModuleaddContentItem(RecommendationContent contentItem)RecommendationModulecontent(java.util.List<RecommendationContent> content)booleanequals(java.lang.Object o)@NotNull @Valid java.util.List<RecommendationContent>getContent()List of content to display inside the module@NotNull java.lang.StringgetModuleId()Unique id of the module being recommended@NotNull @Valid RecommendationRenderTypegetRenderType()Get renderType@NotNull java.lang.StringgetTitle()Title of the module to displayinthashCode()RecommendationModulemoduleId(java.lang.String moduleId)RecommendationModulerenderType(RecommendationRenderType renderType)voidsetContent(java.util.List<RecommendationContent> content)voidsetModuleId(java.lang.String moduleId)voidsetRenderType(RecommendationRenderType renderType)voidsetTitle(java.lang.String title)RecommendationModuletitle(java.lang.String title)java.lang.StringtoString()
-
-
-
Method Detail
-
title
public RecommendationModule title(java.lang.String title)
-
getTitle
@NotNull public @NotNull java.lang.String getTitle()
Title of the module to display- Returns:
- title
-
setTitle
public void setTitle(java.lang.String title)
-
moduleId
public RecommendationModule moduleId(java.lang.String moduleId)
-
getModuleId
@NotNull public @NotNull java.lang.String getModuleId()
Unique id of the module being recommended- Returns:
- moduleId
-
setModuleId
public void setModuleId(java.lang.String moduleId)
-
renderType
public RecommendationModule renderType(RecommendationRenderType renderType)
-
getRenderType
@NotNull @Valid public @NotNull @Valid RecommendationRenderType getRenderType()
Get renderType- Returns:
- renderType
-
setRenderType
public void setRenderType(RecommendationRenderType renderType)
-
content
public RecommendationModule content(java.util.List<RecommendationContent> content)
-
addContentItem
public RecommendationModule addContentItem(RecommendationContent contentItem)
-
getContent
@NotNull @Valid public @NotNull @Valid java.util.List<RecommendationContent> getContent()
List of content to display inside the module- Returns:
- content
-
setContent
public void setContent(java.util.List<RecommendationContent> content)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-