public class ProjectCategoryRecommendationImpl extends Object implements ProjectCategoryRecommendation, io.vrap.rmf.base.client.ModelBase
| Constructor and Description |
|---|
ProjectCategoryRecommendationImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CategoryReference |
getCategory()
A category that is recommended for a product.
|
Double |
getConfidence()
Probability score for the category recommendation.
|
String |
getPath()
Breadcrumb path to the recommended category.
|
int |
hashCode() |
void |
setCategory(CategoryReference category) |
void |
setConfidence(Double confidence) |
void |
setPath(String path) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withProjectCategoryRecommendationpublic ProjectCategoryRecommendationImpl()
public CategoryReference getCategory()
A category that is recommended for a product.
getCategory in interface ProjectCategoryRecommendationpublic Double getConfidence()
Probability score for the category recommendation.
getConfidence in interface ProjectCategoryRecommendationpublic String getPath()
Breadcrumb path to the recommended category. This only picks up one language, not all available languages for the category. English is prioritized, but if English data is not available, an arbitrary language is selected. Do not use this to identify a category,use the category ID from the category reference instead.
getPath in interface ProjectCategoryRecommendationpublic void setCategory(CategoryReference category)
setCategory in interface ProjectCategoryRecommendationpublic void setConfidence(Double confidence)
setConfidence in interface ProjectCategoryRecommendationpublic void setPath(String path)
setPath in interface ProjectCategoryRecommendation