Class ProjectCategoryRecommendationImpl
- All Implemented Interfaces:
ProjectCategoryRecommendation
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
A category that is recommended for a product.Probability score for the category recommendation.getPath()
Breadcrumb path to the recommended category.int
hashCode()
void
setCategory
(CategoryReference category) A category that is recommended for a product.void
setConfidence
(Double confidence) Probability score for the category recommendation.void
Breadcrumb path to the recommended category.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.ml.models.category_recommendations.ProjectCategoryRecommendation
withProjectCategoryRecommendation
-
Constructor Details
-
ProjectCategoryRecommendationImpl
public ProjectCategoryRecommendationImpl()create empty instance
-
-
Method Details
-
getCategory
A category that is recommended for a product.
- Specified by:
getCategory
in interfaceProjectCategoryRecommendation
- Returns:
- category
-
getConfidence
Probability score for the category recommendation.
- Specified by:
getConfidence
in interfaceProjectCategoryRecommendation
- Returns:
- confidence
-
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.
- Specified by:
getPath
in interfaceProjectCategoryRecommendation
- Returns:
- path
-
setCategory
Description copied from interface:ProjectCategoryRecommendation
A category that is recommended for a product.
- Specified by:
setCategory
in interfaceProjectCategoryRecommendation
- Parameters:
category
- value to be set
-
setConfidence
Description copied from interface:ProjectCategoryRecommendation
Probability score for the category recommendation.
- Specified by:
setConfidence
in interfaceProjectCategoryRecommendation
- Parameters:
confidence
- value to be set
-
setPath
Description copied from interface:ProjectCategoryRecommendation
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.
- Specified by:
setPath
in interfaceProjectCategoryRecommendation
- Parameters:
path
- value to be set
-
equals
-
hashCode
public int hashCode()
-