Package com.backblaze.b2.json
Annotation Type B2Json.defaultForInvalidEnumValue
-
@Retention(RUNTIME) @Target(FIELD) public static @interface B2Json.defaultForInvalidEnumValue
Field annotation that designates the enum value to use when the value in a field isn't one of the known values. Use this at most once in an enum. If no values have this annotation, we will throw a B2JsonException at runtime when we hit an invalid value.