# RecommendationReasonGeneric

# RecommendationReasonGeneric

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RecommendationReasonGeneric "View this page in Kotlin")\|Java  

<br />

```
public final class RecommendationReasonGeneric extends RecommendationReason
```

<br />

|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                            |||
| ↳ | [com.google.android.engage.common.datamodel.RecommendationReason](https://developer.android.com/reference/com/google/android/engage/common/datamodel/RecommendationReason)                ||
|   | ↳ | [com.google.android.engage.video.datamodel.RecommendationReasonGeneric](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RecommendationReasonGeneric) |

*** ** * ** ***

Recommendation reason based on generic reason.

## Summary

|                                                                                                                                                                 ### Nested types                                                                                                                                                                 |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[RecommendationReasonGeneric.Builder](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RecommendationReasonGeneric.Builder) Builder class for[RecommendationReasonGeneric](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RecommendationReasonGeneric). |

|                                                                           ### Public methods                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>` | [getGenericReason](https://developer.android.com/reference/com/google/android/engage/video/datamodel/RecommendationReasonGeneric#getGenericReason())`()` Returns the generic reason. |

## Public methods

### getGenericReason

```
public Optional<String> getGenericReason()
```

Returns the generic reason.