/* Options: Date: 2024-12-23 11:19:58 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProfileChangePasswordRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library ConsumerApi; import 'package:servicestack/servicestack.dart'; class ProfileChangePasswordResponse implements IConvertible { int? passwordScore; ProfileChangePasswordResponse({this.passwordScore}); ProfileChangePasswordResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { passwordScore = json['passwordScore']; return this; } Map toJson() => { 'passwordScore': passwordScore }; getTypeName() => "ProfileChangePasswordResponse"; TypeContext? context = _ctx; } // @Route("/profile/change-password", "PUT") class ProfileChangePasswordRequest implements IReturn, IPut, IConvertible { String? password; String? passwordConfirmation; ProfileChangePasswordRequest({this.password,this.passwordConfirmation}); ProfileChangePasswordRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { password = json['password']; passwordConfirmation = json['passwordConfirmation']; return this; } Map toJson() => { 'password': password, 'passwordConfirmation': passwordConfirmation }; createResponse() => ProfileChangePasswordResponse(); getResponseTypeName() => "ProfileChangePasswordResponse"; getTypeName() => "ProfileChangePasswordRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ConsumerApi', types: { 'ProfileChangePasswordResponse': TypeInfo(TypeOf.Class, create:() => ProfileChangePasswordResponse()), 'ProfileChangePasswordRequest': TypeInfo(TypeOf.Class, create:() => ProfileChangePasswordRequest()), });