# A2uiSchemaKeyword.Enum

Artifact: [androidx.a2ui:a2ui-model](https://developer.android.com/jetpack/androidx/releases/a2ui) [View Source](https://cs.android.com/search?q=file:androidx/a2ui/model/schema/A2uiSchemaKeyword.kt+class:androidx.a2ui.model.schema.A2uiSchemaKeyword.Enum) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui#1.0.0-alpha02)

*** ** * ** ***


```
class A2uiSchemaKeyword.Enum<T : Any?> : A2uiSchemaKeyword<T>
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.a2ui.model.schema.A2uiSchemaKeyword](https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword)\<T\> ||
|   | ↳ | [androidx.a2ui.model.schema.A2uiSchemaKeyword.Enum](https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum) |

*** ** * ** ***

Allowed enumeration values for the schema property (`enum`).

## Summary

| ### Public constructors |
|---|
| `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum#Enum(kotlin.collections.List)(values: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<T>)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<T>` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Enum#values()` list of allowed enumeration values |

## Public constructors

### Enum

```
<T : Any?> Enum(values: List<T>)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### values

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui#1.0.0-alpha02)

```
val values: List<T>
```

list of allowed enumeration values