/* Options: Date: 2024-05-15 13:34:20 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HelloWithEnumMap.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { public static class HelloWithEnumMap { public HashMap enumProp = null; public HashMap enumWithValues = null; public HashMap nullableEnumProp = null; public HashMap enumFlags = null; public HashMap enumStyle = null; public HashMap getEnumProp() { return enumProp; } public HelloWithEnumMap setEnumProp(HashMap value) { this.enumProp = value; return this; } public HashMap getEnumWithValues() { return enumWithValues; } public HelloWithEnumMap setEnumWithValues(HashMap value) { this.enumWithValues = value; return this; } public HashMap getNullableEnumProp() { return nullableEnumProp; } public HelloWithEnumMap setNullableEnumProp(HashMap value) { this.nullableEnumProp = value; return this; } public HashMap getEnumFlags() { return enumFlags; } public HelloWithEnumMap setEnumFlags(HashMap value) { this.enumFlags = value; return this; } public HashMap getEnumStyle() { return enumStyle; } public HelloWithEnumMap setEnumStyle(HashMap value) { this.enumStyle = value; return this; } } public static enum EnumType { Value1, Value2, Value3; } public static enum EnumWithValues { None, Value1, Value2; } @Flags() public static enum EnumFlags { @SerializedName("0") Value0(0), @SerializedName("1") Value1(1), @SerializedName("2") Value2(2), @SerializedName("4") Value3(4), @SerializedName("7") Value123(7); private final int value; EnumFlags(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum EnumStyle { Lower, Upper, PascalCase, CamelCase, CamelUPPER, PascalUPPER; } }