/* Options: Date: 2024-05-17 02:47:29 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetUserDetails.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class GetUserDetailsResponse implements IConvertible { String? provider; String? userId; String? userName; String? fullName; String? displayName; String? firstName; String? lastName; String? company; String? email; String? phoneNumber; DateTime? birthDate; String? birthDateRaw; String? address; String? address2; String? city; String? state; String? country; String? culture; String? gender; String? language; String? mailAddress; String? nickname; String? postalCode; String? timeZone; GetUserDetailsResponse({this.provider,this.userId,this.userName,this.fullName,this.displayName,this.firstName,this.lastName,this.company,this.email,this.phoneNumber,this.birthDate,this.birthDateRaw,this.address,this.address2,this.city,this.state,this.country,this.culture,this.gender,this.language,this.mailAddress,this.nickname,this.postalCode,this.timeZone}); GetUserDetailsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { provider = json['provider']; userId = json['userId']; userName = json['userName']; fullName = json['fullName']; displayName = json['displayName']; firstName = json['firstName']; lastName = json['lastName']; company = json['company']; email = json['email']; phoneNumber = json['phoneNumber']; birthDate = JsonConverters.fromJson(json['birthDate'],'DateTime',context!); birthDateRaw = json['birthDateRaw']; address = json['address']; address2 = json['address2']; city = json['city']; state = json['state']; country = json['country']; culture = json['culture']; gender = json['gender']; language = json['language']; mailAddress = json['mailAddress']; nickname = json['nickname']; postalCode = json['postalCode']; timeZone = json['timeZone']; return this; } Map toJson() => { 'provider': provider, 'userId': userId, 'userName': userName, 'fullName': fullName, 'displayName': displayName, 'firstName': firstName, 'lastName': lastName, 'company': company, 'email': email, 'phoneNumber': phoneNumber, 'birthDate': JsonConverters.toJson(birthDate,'DateTime',context!), 'birthDateRaw': birthDateRaw, 'address': address, 'address2': address2, 'city': city, 'state': state, 'country': country, 'culture': culture, 'gender': gender, 'language': language, 'mailAddress': mailAddress, 'nickname': nickname, 'postalCode': postalCode, 'timeZone': timeZone }; getTypeName() => "GetUserDetailsResponse"; TypeContext? context = _ctx; } // @Route("/account") class GetUserDetails implements IReturn, IConvertible, IGet { GetUserDetails(); GetUserDetails.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetUserDetailsResponse(); getResponseTypeName() => "GetUserDetailsResponse"; getTypeName() => "GetUserDetails"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'test.servicestack.net', types: { 'GetUserDetailsResponse': TypeInfo(TypeOf.Class, create:() => GetUserDetailsResponse()), 'GetUserDetails': TypeInfo(TypeOf.Class, create:() => GetUserDetails()), });