# RecommendationReasonGeneric

# RecommendationReasonGeneric

*** ** * ** ***

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

<br />

```
class RecommendationReasonGeneric : RecommendationReason
```

<br />

|---|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                                   |||
| ↳ | [com.google.android.engage.common.datamodel.RecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)                ||
|   | ↳ | [com.google.android.engage.video.datamodel.RecommendationReasonGeneric](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RecommendationReasonGeneric) |

*** ** * ** ***

Recommendation reason based on generic reason.

## Summary

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

|                                                                               ### Public functions                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!` | [getGenericReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RecommendationReasonGeneric#getGenericReason())`()` Returns the generic reason. |

## Public functions

### getGenericReason

```
fun getGenericReason(): Optional<String!>!
```

Returns the generic reason.