Class RecommendationContent
- java.lang.Object
-
- io.datahubproject.openapi.generated.RecommendationContent
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class RecommendationContent extends java.lang.ObjectContent to display within each recommendation module
-
-
Constructor Summary
Constructors Constructor Description RecommendationContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommendationContententity(java.lang.String entity)booleanequals(java.lang.Object o)java.lang.StringgetEntity()Entity being recommended.@Valid RecommendationParamsgetParams()Get params@NotNull java.lang.StringgetValue()String representation of contentinthashCode()RecommendationContentparams(RecommendationParams params)voidsetEntity(java.lang.String entity)voidsetParams(RecommendationParams params)voidsetValue(java.lang.String value)java.lang.StringtoString()RecommendationContentvalue(java.lang.String value)
-
-
-
Method Detail
-
value
public RecommendationContent value(java.lang.String value)
-
getValue
@NotNull public @NotNull java.lang.String getValue()
String representation of content- Returns:
- value
-
setValue
public void setValue(java.lang.String value)
-
entity
public RecommendationContent entity(java.lang.String entity)
-
getEntity
public java.lang.String getEntity()
Entity being recommended. Empty if the content being recommended is not an entity- Returns:
- entity
-
setEntity
public void setEntity(java.lang.String entity)
-
params
public RecommendationContent params(RecommendationParams params)
-
getParams
@Valid public @Valid RecommendationParams getParams()
Get params- Returns:
- params
-
setParams
public void setParams(RecommendationParams params)
-
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
-
-