/* Options: Date: 2026-11-07 03:12:57 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetUserProfile.* //ExcludeTypes: //DefaultImports: */ package dtos import ( "time" ) type Ref struct { Id string `json:"id"` Val string `json:"val"` } type GPSCoordinates struct { Lat float64 `json:"lat,omitempty"` Lng float64 `json:"lng,omitempty"` } type Address struct { Street string `json:"street"` City string `json:"city"` State string `json:"state"` PostalCode string `json:"postalCode"` Country Ref `json:"country"` Gps GPSCoordinates `json:"gps"` Data RecordDictionary[string, string] `json:"data"` } type RecordDictionary[TKey any, TVal any] map[TKey]TVal type Name struct { First *string `json:"first,omitempty"` Last *string `json:"last,omitempty"` Full *string `json:"full,omitempty"` } type ContactInfo struct { Phone *string `json:"phone,omitempty"` Email *string `json:"email,omitempty"` } type Person struct { Name *Name `json:"name,omitempty"` Address *Address `json:"address,omitempty"` DateOfBirth *time.Time `json:"dateOfBirth,omitempty"` ContactInfo *ContactInfo `json:"contactInfo,omitempty"` } type BettorWalletProfile struct { Id *string `json:"id,omitempty"` Username *string `json:"username,omitempty"` Person *Person `json:"person,omitempty"` Data *RecordDictionary[string, string] `json:"data,omitempty"` } // @Route("/qry/users/profile") type GetUserProfile struct { Id *string `json:"id,omitempty"` } func (GetUserProfile) CreateResponse() (r BettorWalletProfile) { return } func (GetUserProfile) HttpMethod() string { return "POST" }