/* Options: Date: 2026-06-14 21:40:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://qp-microservices-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UserResponse implements IConvertible { String? iss; List? aud; String? sub; String? email; String? azp; List? locale; String? exp; String? iat; String? time; UserResponse({this.iss,this.aud,this.sub,this.email,this.azp,this.locale,this.exp,this.iat,this.time}); UserResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { iss = json['iss']; aud = JsonConverters.fromJson(json['aud'],'List',context!); sub = json['sub']; email = json['email']; azp = json['azp']; locale = JsonConverters.fromJson(json['locale'],'List',context!); exp = json['exp']; iat = json['iat']; time = json['time']; return this; } Map toJson() => { 'iss': iss, 'aud': JsonConverters.toJson(aud,'List',context!), 'sub': sub, 'email': email, 'azp': azp, 'locale': JsonConverters.toJson(locale,'List',context!), 'exp': exp, 'iat': iat, 'time': time }; getTypeName() => "UserResponse"; TypeContext? context = _ctx; } // @Route("/warranty/v1/user/{username*}", "GET") class UserRequest implements IReturn, IConvertible, IGet { String? username; UserRequest({this.username}); UserRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { username = json['username']; return this; } Map toJson() => { 'username': username }; createResponse() => UserResponse(); getResponseTypeName() => "UserResponse"; getTypeName() => "UserRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'qp_microservices_booster.richemont.com', types: { 'UserResponse': TypeInfo(TypeOf.Class, create:() => UserResponse()), 'UserRequest': TypeInfo(TypeOf.Class, create:() => UserRequest()), });