# GenerableDetail.GuideDetail


```
data class GenerableDetail.GuideDetail
```

<br />

*** ** * ** ***

Holds the details of a single property in a `Generable` class, including its metadata and constraints specified by the Guide annotation.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#GuideDetail(kotlin.String,kotlin.reflect.KClass,kotlin.Boolean,kotlin.String,kotlin.Int,kotlin.Int,kotlin.Double,kotlin.Double,kotlin.Array,kotlin.Boolean,kotlin.reflect.KClass)( name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html<*>, nullable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, description: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?, maxItems: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?, minItems: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?, maximum: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html?, minimum: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html?, enumValues: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>?, isList: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, listItemType: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html<*>? )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#description()` Description of the field, matching Guide.description. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#enumValues()` Possible enum values, matching Guide.enumValues. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#isList()` Whether the property is a list. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html<*>?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#listItemType()` The class type of the list items, if the property is a list. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#maxItems()` Maximum number of items, matching Guide.maxItems. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#maximum()` Maximum value, matching Guide.maximum. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#minItems()` Minimum number of items, matching Guide.minItems. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html?` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#minimum()` Minimum value, matching Guide.minimum. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#name()` The name of the property. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#nullable()` Whether the property is nullable. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html<*>` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/guided/GenerableDetail.GuideDetail#type()` The class type of the property. |

## Public constructors

### GuideDetail

```
GuideDetail(
    name: String,
    type: KClass<*>,
    nullable: Boolean,
    description: String? = null,
    maxItems: Int? = null,
    minItems: Int? = null,
    maximum: Double? = null,
    minimum: Double? = null,
    enumValues: Array<String>? = null,
    isList: Boolean = false,
    listItemType: KClass<*>? = null
)
```

## Public properties

### description

```
val description: String?
```

Description of the field, matching Guide.description.

### enumValues

```
val enumValues: Array<String>?
```

Possible enum values, matching Guide.enumValues.

### isList

```
val isList: Boolean
```

Whether the property is a list.

### listItemType

```
val listItemType: KClass<*>?
```

The class type of the list items, if the property is a list.

### maxItems

```
val maxItems: Int?
```

Maximum number of items, matching Guide.maxItems.

### maximum

```
val maximum: Double?
```

Maximum value, matching Guide.maximum.

### minItems

```
val minItems: Int?
```

Minimum number of items, matching Guide.minItems.

### minimum

```
val minimum: Double?
```

Minimum value, matching Guide.minimum.

### name

```
val name: String
```

The name of the property.

### nullable

```
val nullable: Boolean
```

Whether the property is nullable.

### type

```
val type: KClass<*>
```

The class type of the property.