EnumType
open class EnumType(val className: String, val packageName: String, val values: List<String> = emptyList(), val valuesJSON: List<String> = emptyList()) : AbstractType
A user defined enum class.
Example:
package com.example
enum class GreetingType(
GREETING, HUG, HIGH_FIVE
)
Content copied to clipboard
is EnumType:
name: "GreetingType"
package: "com.example"
values: GREETING, HUG, HIGH_FIVE