/* Options: Date: 2026-09-01 21:49:03 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HelloAllTypes.* //ExcludeTypes: //DefaultImports: */ package dtos import ( "time" ) type SubType struct { Id int `json:"id,omitempty"` Name string `json:"name"` } type AllTypes struct { Id int `json:"id,omitempty"` NullableId *int `json:"nullableId,omitempty"` Byte byte `json:"byte,omitempty"` Short int16 `json:"short,omitempty"` Int int `json:"int,omitempty"` Long int64 `json:"long,omitempty"` UShort uint16 `json:"uShort,omitempty"` UInt uint32 `json:"uInt,omitempty"` ULong uint64 `json:"uLong,omitempty"` Float float32 `json:"float,omitempty"` Double float64 `json:"double,omitempty"` Decimal float64 `json:"decimal,omitempty"` String string `json:"string"` DateTime time.Time `json:"dateTime,omitempty"` TimeSpan time.Duration `json:"timeSpan,omitempty"` DateTimeOffset time.Time `json:"dateTimeOffset,omitempty"` Guid string `json:"guid,omitempty"` Char string `json:"char,omitempty"` KeyValuePair KeyValuePair[string, string] `json:"keyValuePair,omitempty"` NullableDateTime *time.Time `json:"nullableDateTime,omitempty"` NullableTimeSpan *time.Duration `json:"nullableTimeSpan,omitempty"` StringList []string `json:"stringList"` StringArray []string `json:"stringArray"` StringMap map[string]string `json:"stringMap"` IntStringMap map[int]string `json:"intStringMap"` SubType SubType `json:"subType"` Point string `json:"point,omitempty"` // @DataMember(Name="aliasedName") AliasedName string `json:"aliasedName"` } type Poco struct { Name string `json:"name"` } type AllCollectionTypes struct { IntArray []int `json:"intArray"` IntList []int `json:"intList"` StringArray []string `json:"stringArray"` StringList []string `json:"stringList"` PocoArray []Poco `json:"pocoArray"` PocoList []Poco `json:"pocoList"` NullableByteArray []*byte `json:"nullableByteArray"` NullableByteList []byte `json:"nullableByteList"` NullableDateTimeArray []*time.Time `json:"nullableDateTimeArray"` NullableDateTimeList []time.Time `json:"nullableDateTimeList"` PocoLookup map[string][]Poco `json:"pocoLookup"` PocoLookupMap map[string][]map[string]Poco `json:"pocoLookupMap"` } type KeyValuePair[TKey any, TValue any] struct { Key TKey `json:"key"` Value TValue `json:"value"` } type HelloAllTypesResponse struct { Result string `json:"result"` AllTypes AllTypes `json:"allTypes"` AllCollectionTypes AllCollectionTypes `json:"allCollectionTypes"` } type HelloAllTypes struct { Name string `json:"name"` AllTypes AllTypes `json:"allTypes"` AllCollectionTypes AllCollectionTypes `json:"allCollectionTypes"` } func (HelloAllTypes) CreateResponse() (r HelloAllTypesResponse) { return } func (HelloAllTypes) HttpMethod() string { return "POST" }