Guide

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Guide(val description: String = "", val minimum: Double = -1.0, val maximum: Double = -1.0, val minItems: Int = -1, val maxItems: Int = -1, val format: String = "", val enumValues: Array<String> = [])(source)

This annotation is used with the firebase-ai-ksp-processor plugin to provide extra information on generated classes and fields.

Properties

Link copied to clipboard

a description of the field

Link copied to clipboard
Link copied to clipboard

the format that a field must conform to

Link copied to clipboard

the maximum value (inclusive) which the numeric field may contain

Link copied to clipboard

the maximum number of items in a list

Link copied to clipboard

the minimum value (inclusive) which the numeric field may contain

Link copied to clipboard

the minimum number of items in a list