/* Options: Date: 2024-05-14 22:54:02 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: HelloAllTypes.* //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 { @Route("/all-types") public static class HelloAllTypes implements IReturn { public String name = null; public AllTypes allTypes = null; public AllCollectionTypes allCollectionTypes = null; public String getName() { return name; } public HelloAllTypes setName(String value) { this.name = value; return this; } public AllTypes getAllTypes() { return allTypes; } public HelloAllTypes setAllTypes(AllTypes value) { this.allTypes = value; return this; } public AllCollectionTypes getAllCollectionTypes() { return allCollectionTypes; } public HelloAllTypes setAllCollectionTypes(AllCollectionTypes value) { this.allCollectionTypes = value; return this; } private static Object responseType = HelloAllTypesResponse.class; public Object getResponseType() { return responseType; } } public static class AllTypes implements IReturn { public Integer id = null; public Integer nullableId = null; @SerializedName("byte") public Short Byte = null; @SerializedName("short") public Short Short = null; @SerializedName("int") public Integer Int = null; @SerializedName("long") public Long Long = null; public Integer uShort = null; public Long uInt = null; public BigInteger uLong = null; @SerializedName("float") public Float Float = null; @SerializedName("double") public Double Double = null; public BigDecimal decimal = null; public String string = null; public Date dateTime = null; public TimeSpan timeSpan = null; public Date dateTimeOffset = null; public UUID guid = null; @SerializedName("char") public String Char = null; public KeyValuePair keyValuePair = null; public Date nullableDateTime = null; public TimeSpan nullableTimeSpan = null; public ArrayList stringList = null; public ArrayList stringArray = null; public HashMap stringMap = null; public HashMap intStringMap = null; public SubType subType = null; public Integer getId() { return id; } public AllTypes setId(Integer value) { this.id = value; return this; } public Integer getNullableId() { return nullableId; } public AllTypes setNullableId(Integer value) { this.nullableId = value; return this; } public Short getByte() { return Byte; } public AllTypes setByte(Short value) { this.Byte = value; return this; } public Short getShort() { return Short; } public AllTypes setShort(Short value) { this.Short = value; return this; } public Integer getInt() { return Int; } public AllTypes setInt(Integer value) { this.Int = value; return this; } public Long getLong() { return Long; } public AllTypes setLong(Long value) { this.Long = value; return this; } public Integer getUShort() { return uShort; } public AllTypes setUShort(Integer value) { this.uShort = value; return this; } public Long getUInt() { return uInt; } public AllTypes setUInt(Long value) { this.uInt = value; return this; } public BigInteger getULong() { return uLong; } public AllTypes setULong(BigInteger value) { this.uLong = value; return this; } public Float getFloat() { return Float; } public AllTypes setFloat(Float value) { this.Float = value; return this; } public Double getDouble() { return Double; } public AllTypes setDouble(Double value) { this.Double = value; return this; } public BigDecimal getDecimal() { return decimal; } public AllTypes setDecimal(BigDecimal value) { this.decimal = value; return this; } public String getString() { return string; } public AllTypes setString(String value) { this.string = value; return this; } public Date getDateTime() { return dateTime; } public AllTypes setDateTime(Date value) { this.dateTime = value; return this; } public TimeSpan getTimeSpan() { return timeSpan; } public AllTypes setTimeSpan(TimeSpan value) { this.timeSpan = value; return this; } public Date getDateTimeOffset() { return dateTimeOffset; } public AllTypes setDateTimeOffset(Date value) { this.dateTimeOffset = value; return this; } public UUID getGuid() { return guid; } public AllTypes setGuid(UUID value) { this.guid = value; return this; } public String getChar() { return Char; } public AllTypes setChar(String value) { this.Char = value; return this; } public KeyValuePair getKeyValuePair() { return keyValuePair; } public AllTypes setKeyValuePair(KeyValuePair value) { this.keyValuePair = value; return this; } public Date getNullableDateTime() { return nullableDateTime; } public AllTypes setNullableDateTime(Date value) { this.nullableDateTime = value; return this; } public TimeSpan getNullableTimeSpan() { return nullableTimeSpan; } public AllTypes setNullableTimeSpan(TimeSpan value) { this.nullableTimeSpan = value; return this; } public ArrayList getStringList() { return stringList; } public AllTypes setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getStringArray() { return stringArray; } public AllTypes setStringArray(ArrayList value) { this.stringArray = value; return this; } public HashMap getStringMap() { return stringMap; } public AllTypes setStringMap(HashMap value) { this.stringMap = value; return this; } public HashMap getIntStringMap() { return intStringMap; } public AllTypes setIntStringMap(HashMap value) { this.intStringMap = value; return this; } public SubType getSubType() { return subType; } public AllTypes setSubType(SubType value) { this.subType = value; return this; } private static Object responseType = AllTypes.class; public Object getResponseType() { return responseType; } } public static class AllCollectionTypes implements IReturn { public ArrayList intArray = null; public ArrayList intList = null; public ArrayList stringArray = null; public ArrayList stringList = null; public ArrayList floatArray = null; public ArrayList doubleList = null; public byte[] byteArray = null; public ArrayList charArray = null; public ArrayList decimalList = null; public ArrayList pocoArray = null; public ArrayList pocoList = null; public HashMap> pocoLookup = null; public HashMap>> pocoLookupMap = null; public ArrayList getIntArray() { return intArray; } public AllCollectionTypes setIntArray(ArrayList value) { this.intArray = value; return this; } public ArrayList getIntList() { return intList; } public AllCollectionTypes setIntList(ArrayList value) { this.intList = value; return this; } public ArrayList getStringArray() { return stringArray; } public AllCollectionTypes setStringArray(ArrayList value) { this.stringArray = value; return this; } public ArrayList getStringList() { return stringList; } public AllCollectionTypes setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getFloatArray() { return floatArray; } public AllCollectionTypes setFloatArray(ArrayList value) { this.floatArray = value; return this; } public ArrayList getDoubleList() { return doubleList; } public AllCollectionTypes setDoubleList(ArrayList value) { this.doubleList = value; return this; } public byte[] getByteArray() { return byteArray; } public AllCollectionTypes setByteArray(byte[] value) { this.byteArray = value; return this; } public ArrayList getCharArray() { return charArray; } public AllCollectionTypes setCharArray(ArrayList value) { this.charArray = value; return this; } public ArrayList getDecimalList() { return decimalList; } public AllCollectionTypes setDecimalList(ArrayList value) { this.decimalList = value; return this; } public ArrayList getPocoArray() { return pocoArray; } public AllCollectionTypes setPocoArray(ArrayList value) { this.pocoArray = value; return this; } public ArrayList getPocoList() { return pocoList; } public AllCollectionTypes setPocoList(ArrayList value) { this.pocoList = value; return this; } public HashMap> getPocoLookup() { return pocoLookup; } public AllCollectionTypes setPocoLookup(HashMap> value) { this.pocoLookup = value; return this; } public HashMap>> getPocoLookupMap() { return pocoLookupMap; } public AllCollectionTypes setPocoLookupMap(HashMap>> value) { this.pocoLookupMap = value; return this; } private static Object responseType = AllCollectionTypes.class; public Object getResponseType() { return responseType; } } public static class HelloAllTypesResponse { public String result = null; public AllTypes allTypes = null; public AllCollectionTypes allCollectionTypes = null; public String getResult() { return result; } public HelloAllTypesResponse setResult(String value) { this.result = value; return this; } public AllTypes getAllTypes() { return allTypes; } public HelloAllTypesResponse setAllTypes(AllTypes value) { this.allTypes = value; return this; } public AllCollectionTypes getAllCollectionTypes() { return allCollectionTypes; } public HelloAllTypesResponse setAllCollectionTypes(AllCollectionTypes value) { this.allCollectionTypes = value; return this; } } }