/* Options: Date: 2026-05-19 10:46:06 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetMyUser.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GetUserResponse implements IConvertible { /** * Unique Identifier of a User */ // @ApiMember(Description="Unique Identifier of a User", IsRequired=true) String? userId; /** * User's Email address */ // @ApiMember(Description="User's Email address", IsRequired=true) String? emailAddress; /** * First Name */ // @ApiMember(Description="First Name", IsRequired=true) String? firstName; /** * Last Name */ // @ApiMember(Description="Last Name", IsRequired=true) String? lastName; /** * User's Password Expiration Date */ // @ApiMember(Description="User's Password Expiration Date") String? passwordExpirationDate; /** * If the User must change the password */ // @ApiMember(Description="If the User must change the password", IsRequired=true) bool? passwordMustBeChanged; /** * User Type of the User */ // @ApiMember(Description="User Type of the User", IsRequired=true) String? userType; /** * Culture ID of the User */ // @ApiMember(Description="Culture ID of the User", IsRequired=true) String? culture; /** * If the User account is locked */ // @ApiMember(Description="If the User account is locked", IsRequired=true) bool? accountLocked; GetUserResponse({this.userId,this.emailAddress,this.firstName,this.lastName,this.passwordExpirationDate,this.passwordMustBeChanged,this.userType,this.culture,this.accountLocked}); GetUserResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userId = json['userId']; emailAddress = json['emailAddress']; firstName = json['firstName']; lastName = json['lastName']; passwordExpirationDate = json['passwordExpirationDate']; passwordMustBeChanged = json['passwordMustBeChanged']; userType = json['userType']; culture = json['culture']; accountLocked = json['accountLocked']; return this; } Map toJson() => { 'userId': userId, 'emailAddress': emailAddress, 'firstName': firstName, 'lastName': lastName, 'passwordExpirationDate': passwordExpirationDate, 'passwordMustBeChanged': passwordMustBeChanged, 'userType': userType, 'culture': culture, 'accountLocked': accountLocked }; getTypeName() => "GetUserResponse"; TypeContext? context = _ctx; } // @Route("/me", "GET") class GetMyUser implements IReturn, IConvertible, IGet { GetMyUser(); GetMyUser.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetUserResponse(); getResponseTypeName() => "GetUserResponse"; getTypeName() => "GetMyUser"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'GetUserResponse': TypeInfo(TypeOf.Class, create:() => GetUserResponse()), 'GetMyUser': TypeInfo(TypeOf.Class, create:() => GetMyUser()), });