Package com.faunadb.client.types
Annotation Type FaunaEnum
-
@Retention(RUNTIME) @Target(FIELD) public @interface FaunaEnum
Instruct the encoder/decoder to rename the annotated enum field.
If absent, the method
Enum.name()
will be used instead.enum CpuTypes { @FaunaEnum("x86_32") X86, @FaunaEnum("x86_64") X86_64, ARM, MIPS }
-
-
Element Detail
-
value
String value
-
-